Bug 54237

Summary: Crashes if it can't connect to the session bus
Product: Bustle Reporter: Will Thompson <will>
Component: GeneralAssignee: Will Thompson <will>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: will
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Will Thompson 2012-08-30 02:11:35 UTC
If there's no session bus, hitting “Record a new log” crashes Bustle.

Reproduce by running:

> DBUS_SESSION_BUS_ADDRESS= cabal-dev/bin/bustle

It crashes with:

> bustle: user error (wrapNewGObject: object is NULL)

This is presumably because bustle_pcap_monitor_new returns NULL if connecting to the bus fail? But I wrapped the call in propagateGError, so it's not clear why it gets as far as wrapNewGObject crashing. (monitorNew in Bustle/Monitor.hs)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.