Bug 54237 - Crashes if it can't connect to the session bus
Summary: Crashes if it can't connect to the session bus
Status: RESOLVED FIXED
Alias: None
Product: Bustle
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 02:11 UTC by Will Thompson
Modified: 2013-12-05 21:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.