Bug#539624: segfaults if the system doesn't have hal

Rogério Brito rbrito at ime.usp.br
Sun Aug 9 10:36:59 UTC 2009


On Aug 09 2009, Emilio Pozuelo Monfort wrote:
> No, please :) We will have ddebs (debugging debs) support in the archive soon,
> so no need for this!

OK. :-) Nice to know.

> Can you rebuild brasero with DEB_BUILD_OPTIONS=nostrip ? That will get you
> debugging symbols for librasero-media. If you can't, I can do it and upload the
> packages somewhere for you.

I just rebuilt it. The result is attached (did not sleep this night). I
could delve into the code a little bit, but I'm just way too tired (it
probably is an obvious null pointer dereference; well, it always is).
:-)


Regards, Rogério Brito.

-- 
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org
-------------- next part --------------
rbrito at chagas:~$ gdb rhythmbox
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run
Starting program: /usr/bin/rhythmbox 
[Thread debugging using libthread_db enabled]

(rhythmbox:10778): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
[New Thread 0x7fffe72f3950 (LWP 10782)]
[Thread 0x7fffe72f3950 (LWP 10782) exited]

(rhythmbox:10778): Rhythmbox-WARNING **: Unable to initialize mDNS: Daemon not running

(rhythmbox:10778): Rhythmbox-WARNING **: Unable to start mDNS browsing: mDNS service is not running

(rhythmbox:10778): Rhythmbox-WARNING **: Unable to grab media player keys: Could not get owner of name 'org.gnome.SettingsDaemon': no such name

** (rhythmbox:10778): WARNING **: Failed to initialize hal : (null)

process 10778: Attempt to remove filter function 0x7ffff6538950 user data 0x7ee230, but no such filter has been added
libhal.c 3126 : LibHalContext *ctx is NULL

Program received signal SIGSEGV, Segmentation fault.
brasero_medium_monitor_init (object=0x839800) at brasero-medium-monitor.c:449
449			BRASERO_MEDIA_LOG ("Probing %s", devices [i]);
(gdb) bt
#0  brasero_medium_monitor_init (object=0x839800) at brasero-medium-monitor.c:449
#1  0x00007ffff26545a5 in IA__g_type_create_instance (type=<value optimized out>)
    at /tmp/buildd/glib2.0-2.20.4/gobject/gtype.c:1674
#2  0x00007ffff263936b in g_object_constructor (type=32767, n_construct_properties=3748391906, 
    construct_params=0x7fffdf6ae9fb) at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1338
#3  0x00007ffff26399dd in IA__g_object_newv (object_type=11653872, 
    n_parameters=<value optimized out>, parameters=0x0)
    at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1215
#4  0x00007ffff263a527 in IA__g_object_new_valist (object_type=11653872, first_property_name=0x0, 
    var_args=0x7fffffffdc40) at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1278
#5  0x00007ffff263a66c in IA__g_object_new (object_type=11653872, first_property_name=0x0)
    at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1060
#6  0x00007fffdf6afa79 in brasero_medium_monitor_get_default () at brasero-medium-monitor.c:587
#7  0x00007fffdf6ae98f in brasero_media_library_start () at brasero-media.c:531
#8  0x00007fffdf8c8ed9 in impl_activate (plugin=<value optimized out>, shell=0x7e4030)
    at rb-disc-recorder-plugin.c:685
#9  0x000000000045faa9 in rb_plugins_engine_activate_plugin_real (info=0x103cef0)
    at rb-plugins-engine.c:524
#10 rb_plugins_engine_activate_plugin (info=0x103cef0) at rb-plugins-engine.c:541
#11 0x00000000004605a7 in rb_plugins_engine_load_cb (file=<value optimized out>, 
    dir=<value optimized out>, userdata=<value optimized out>) at rb-plugins-engine.c:316
#12 0x00007ffff7bb2c1e in _uri_handle_recurse (dir=0x123a160, cancel=0x0, handled=0xb07ad0, 
    func=0x460110 <rb_plugins_engine_load_cb>, user_data=0x0) at rb-file-helpers.c:669
#13 0x00007ffff7bb2c7a in _uri_handle_recurse (dir=0xd2aa20, cancel=0x0, handled=0xb07ad0, 
    func=0x460110 <rb_plugins_engine_load_cb>, user_data=0x0) at rb-file-helpers.c:672
#14 0x00007ffff7bb2d21 in rb_uri_handle_recursively (text_uri=<value optimized out>, cancel=0x0, 
    func=0x460110 <rb_plugins_engine_load_cb>, user_data=0x0) at rb-file-helpers.c:698
#15 0x000000000045ff32 in rb_plugins_engine_load_dir (shell=<value optimized out>)
    at rb-plugins-engine.c:329
#16 rb_plugins_engine_load_all (shell=<value optimized out>) at rb-plugins-engine.c:342
#17 rb_plugins_engine_init (shell=<value optimized out>) at rb-plugins-engine.c:375
#18 0x000000000042a5f8 in rb_shell_constructor (type=<value optimized out>, 
    n_construct_properties=<value optimized out>, construct_properties=<value optimized out>)
    at rb-shell.c:1398
#19 0x00007ffff26399dd in IA__g_object_newv (object_type=8222352, 
    n_parameters=<value optimized out>, parameters=0x5)
    at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1215
#20 0x00007ffff263a41b in IA__g_object_new_valist (object_type=8222352, first_property_name=0x0, 
    var_args=0x7fffffffe1c0) at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1319
#21 0x00007ffff263a66c in IA__g_object_new (object_type=8222352, 
    first_property_name=0x47ba56 "no-registration")
    at /tmp/buildd/glib2.0-2.20.4/gobject/gobject.c:1060
#22 0x0000000000426785 in rb_shell_new (no_registration=0, no_update=0, dry_run=0, rhythmdb=0x0, 
    playlists=0x0) at rb-shell.c:951
---Type <return> to continue, or q <return> to quit---
#23 0x0000000000422b73 in main (argc=1, argv=0x7fffffffe448) at main.c:272
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) y
rbrito at chagas:~$ 


More information about the pkg-gnome-maintainers mailing list