GNOME Bugzilla – Bug 363005
crash in sound-properties-capplet.c:478 [main]
Last modified: 2007-04-19 16:15:29 UTC
Version: 2.16.1 What were you doing when the application crashed? start up gnome-sound-properties Distribution: Gentoo Base System version 1.12.5 Gnome Release: 2.16.1 2006-10-15 (Gentoo) BugBuddy Version: 2.16.0 Memory status: size: 20439040 vsize: 0 resident: 20439040 share: 0 rss: 11079680 rss_rlim: 0 CPU usage: start_time: 1161127000 rtime: 0 utime: 23 stime: 0 cutime:22 cstime: 0 timeout: 1 it_real_value: 0 frequency: 3 Backtrace was generated from '/usr/bin/gnome-sound-properties' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1226651984 (LWP 6821)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 76887
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
(In reply to comment #1) > Thanks for taking the time to report this bug. > Unfortunately, that stack trace is missing some elements that will help a lot > to solve the problem, so it will be hard for the developers to fix that crash. > Can you get us a stack trace with debugging symbols? Please see > http://live.gnome.org/GettingTraces for more information on how to do so. > Thanks in advance! > hi, i mistyped my email address initially :) besides that, i had to recompile parts of my gentoo dist for debugging info, so that took some time. after that, the stacktrace reads: Distribution: Gentoo Base System version 1.12.5 Gnome Release: 2.16.1 2006-10-19 (Gentoo) BugBuddy Version: 2.16.0 Memory status: size: 21270528 vsize: 0 resident: 21270528 share: 0 rss: 11350016 rss_rlim: 0 CPU usage: start_time: 1161376426 rtime: 0 utime: 25 stime: 0 cutime:24 cstime: 0 timeout: 1 it_real_value: 0 frequency: 5 Backtrace was generated from '/usr/bin/gnome-sound-properties' Using host libthread_db library "/lib/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1227921744 (LWP 10954)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 77372
thx!
if i strace it; it looks like the problem starts here: socket(PF_FILE, SOCK_STREAM, 0) = 15 connect(15, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"}, 33) = 0 fcntl64(15, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(15, F_GETFD) = 0 fcntl64(15, F_SETFD, FD_CLOEXEC) = 0 getuid32() = 1000 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 poll([{fd=15, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 write(15, "\0", 1) = 1 write(15, "AUTH EXTERNAL 31303030\r\n", 24) = 24 poll([{fd=15, events=POLLIN, revents=POLLIN}], 1, -1) = 1 read(15, "OK 94053c4579ada0494c37891a1ff69"..., 2048) = 37 poll([{fd=15, events=POLLOUT, revents=POLLOUT}], 1, -1) = 1 write(15, "BEGIN\r\n", 7) = 7 poll([{fd=15, events=POLLIN|POLLOUT, revents=POLLOUT}], 1, -1) = 1 writev(15, [{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 128}, {"", 0}], 2) = 128 gettimeofday({1161614364, 353101}, NULL) = 0 poll([{fd=15, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(15, "l\2\1\1\t\0\0\0\1\0\0\0=\0\0\0\6\1s\0\4\0\0\0:1.9\0\0\0"..., 2048) = 258 read(15, 0x81e4998, 2048) = -1 EAGAIN (Resource temporarily unavailable) fstat64(15, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 fcntl64(15, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) gettimeofday({1161614364, 354553}, NULL) = 0 writev(15, [{"l\1\0\1\30\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org"..., 144}, {"\23\0\0\0org.freedesktop.Hal\0", 24}], 2) = 168 gettimeofday({1161614364, 355548}, NULL) = 0 poll([{fd=15, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(15, "l\2\1\1\4\0\0\0\3\0\0\0=\0\0\0\6\1s\0\4\0\0\0:1.9\0\0\0"..., 2048) = 84 read(15, 0x81e4998, 2048) = -1 EAGAIN (Resource temporarily unavailable) gettimeofday({1161614364, 356458}, NULL) = 0 writev(15, [{"l\1\0\1\t\0\0\0\3\0\0\0\227\0\0\0\1\1o\0\34\0\0\0/org/"..., 168}, {"\4\0\0\0alsa\0", 9}], 2) = 177 gettimeofday({1161614364, 357491}, NULL) = 0 poll([{fd=15, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(15, "l\3\1\1H\0\0\0\4\0\0\0u\0\0\0\6\1s\0\4\0\0\0:1.9\0\0\0"..., 2048) = 208 read(15, 0x81e4998, 2048) = -1 EAGAIN (Resource temporarily unavailable) --- SIGSEGV (Segmentation fault) @ 0 (0) --- write(3, "\33\0\2\0\0\0\0\0", 8) = 8 write(3, " \0\2\0\0\0\0\0", 8) = 8 write(3, "%\0\1\0+\0\1\0", 8) = 8 read(3, "\1\2^\0\0\0\0\0c- \1\4\0\0\0\0\0\0\0\4\0\0\0 \16\34\10"..., 32) = 32 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6da46f8) = 20576 waitpid(20576, ** (bug-buddy:20585): WARNING **: Couldn't load icon for Bonobo Component Browser ** (bug-buddy:20585): WARNING **: Couldn't load icon for Open Folder 0xbfc5c698, 0) = ? ERESTARTSYS (To be restarted) --- SIGCONT (Continued) @ 0 (0) --- waitpid(20576, ptrace: Operation not permitted. /home/spjm/20491: No such file or directory. No stack. /usr/share/bug-buddy/gdb-cmd:2: Error in sourced command file: No registers. [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 20576 --- SIGCHLD (Child exited) @ 0 (0) --- exit_group(1) = ? Process 20491 detached
it turned out to be a problem with hald not running properly, so the crashing issue is solved. but should it give an error message instead of crashing?
also see the stacktrace of bug 371298
*** Bug 371298 has been marked as a duplicate of this bug. ***
*** Bug 375297 has been marked as a duplicate of this bug. ***
*** Bug 375421 has been marked as a duplicate of this bug. ***
*** Bug 375565 has been marked as a duplicate of this bug. ***
*** Bug 376705 has been marked as a duplicate of this bug. ***
*** Bug 376727 has been marked as a duplicate of this bug. ***
*** Bug 376817 has been marked as a duplicate of this bug. ***
*** Bug 376850 has been marked as a duplicate of this bug. ***
*** Bug 377661 has been marked as a duplicate of this bug. ***
*** Bug 377936 has been marked as a duplicate of this bug. ***
*** Bug 378406 has been marked as a duplicate of this bug. ***
*** Bug 379075 has been marked as a duplicate of this bug. ***
*** Bug 379641 has been marked as a duplicate of this bug. ***
*** Bug 379874 has been marked as a duplicate of this bug. ***
*** Bug 379938 has been marked as a duplicate of this bug. ***
*** Bug 380030 has been marked as a duplicate of this bug. ***
*** Bug 380101 has been marked as a duplicate of this bug. ***
*** Bug 380448 has been marked as a duplicate of this bug. ***
*** Bug 380562 has been marked as a duplicate of this bug. ***
*** Bug 381743 has been marked as a duplicate of this bug. ***
*** Bug 381811 has been marked as a duplicate of this bug. ***
*** Bug 381900 has been marked as a duplicate of this bug. ***
*** Bug 382524 has been marked as a duplicate of this bug. ***
*** Bug 373479 has been marked as a duplicate of this bug. ***
*** Bug 366118 has been marked as a duplicate of this bug. ***
*** Bug 374264 has been marked as a duplicate of this bug. ***
27 duplicates so far.
I haven't been online much, nor using the gnome-sound-properties :) I see this problem is reproducible and I'll to strace it on my box for further info asap. Good work Andre :) ~Levi F. aka EiNZTEiN
*** Bug 384099 has been marked as a duplicate of this bug. ***
*** Bug 383217 has been marked as a duplicate of this bug. ***
PATCH ATTACHED by tom parker at bug 383217 comment 4: http://bugzilla.gnome.org/attachment.cgi?id=77956&action=view gnome 2.16.x target.
*** Bug 382390 has been marked as a duplicate of this bug. ***
*** Bug 381967 has been marked as a duplicate of this bug. ***
*** Bug 385036 has been marked as a duplicate of this bug. ***
*** Bug 384931 has been marked as a duplicate of this bug. ***
*** Bug 385116 has been marked as a duplicate of this bug. ***
*** Bug 385495 has been marked as a duplicate of this bug. ***
*** Bug 385857 has been marked as a duplicate of this bug. ***
*** Bug 385884 has been marked as a duplicate of this bug. ***
*** Bug 386044 has been marked as a duplicate of this bug. ***
*** Bug 386376 has been marked as a duplicate of this bug. ***
*** Bug 386422 has been marked as a duplicate of this bug. ***
*** Bug 386893 has been marked as a duplicate of this bug. ***
*** Bug 386913 has been marked as a duplicate of this bug. ***
*** Bug 387517 has been marked as a duplicate of this bug. ***
*** Bug 387699 has been marked as a duplicate of this bug. ***
*** Bug 388610 has been marked as a duplicate of this bug. ***
I can confirm that starting hald fixed the problem. My system (Gentoo) did not start hald automatically because of a missing group name.
*** Bug 390572 has been marked as a duplicate of this bug. ***
*** Bug 391784 has been marked as a duplicate of this bug. ***
*** Bug 387335 has been marked as a duplicate of this bug. ***
*** Bug 389246 has been marked as a duplicate of this bug. ***
*** Bug 389252 has been marked as a duplicate of this bug. ***
*** Bug 390018 has been marked as a duplicate of this bug. ***
*** Bug 390124 has been marked as a duplicate of this bug. ***
*** Bug 390777 has been marked as a duplicate of this bug. ***
*** Bug 391118 has been marked as a duplicate of this bug. ***
*** Bug 391157 has been marked as a duplicate of this bug. ***
*** Bug 392175 has been marked as a duplicate of this bug. ***
*** Bug 392484 has been marked as a duplicate of this bug. ***
Created attachment 79410 [details] [review] do proper dbus/libhal error handling.
*** Bug 392803 has been marked as a duplicate of this bug. ***
*** Bug 389059 has been marked as a duplicate of this bug. ***
2007-01-07 Jan Arne Petersen <jap@gnome.org> * sound-properties-capplet.c: (setup_hal_devices): do proper dbus/libhal error handling. (Closes #363005)
path has been committed both to trunk and to gnome-2-16 branch: http://svn.gnome.org/viewcvs/gnome-control-center/branches/gnome-2-16/capplets/sound/sound-properties-capplet.c?r1=7048&r2=7061 the fix will be included in gnome 2.16.3 and gnome 2.17.5. thanks!
*** Bug 351002 has been marked as a duplicate of this bug. ***
bug 373823 could be a duplicate, but there's a line number difference.
*** Bug 373823 has been marked as a duplicate of this bug. ***
*** Bug 394122 has been marked as a duplicate of this bug. ***
*** Bug 393213 has been marked as a duplicate of this bug. ***
*** Bug 393631 has been marked as a duplicate of this bug. ***
*** Bug 393678 has been marked as a duplicate of this bug. ***
*** Bug 394161 has been marked as a duplicate of this bug. ***
*** Bug 395116 has been marked as a duplicate of this bug. ***
*** Bug 396350 has been marked as a duplicate of this bug. ***
*** Bug 397021 has been marked as a duplicate of this bug. ***
*** Bug 399147 has been marked as a duplicate of this bug. ***
*** Bug 399860 has been marked as a duplicate of this bug. ***
*** Bug 398840 has been marked as a duplicate of this bug. ***
*** Bug 401186 has been marked as a duplicate of this bug. ***
*** Bug 401439 has been marked as a duplicate of this bug. ***
*** Bug 403512 has been marked as a duplicate of this bug. ***
*** Bug 403726 has been marked as a duplicate of this bug. ***
*** Bug 403939 has been marked as a duplicate of this bug. ***
*** Bug 404496 has been marked as a duplicate of this bug. ***
*** Bug 404996 has been marked as a duplicate of this bug. ***
*** Bug 405028 has been marked as a duplicate of this bug. ***
*** Bug 405073 has been marked as a duplicate of this bug. ***
*** Bug 405144 has been marked as a duplicate of this bug. ***
*** Bug 405397 has been marked as a duplicate of this bug. ***
*** Bug 405680 has been marked as a duplicate of this bug. ***
*** Bug 407029 has been marked as a duplicate of this bug. ***
*** Bug 408072 has been marked as a duplicate of this bug. ***
*** Bug 409359 has been marked as a duplicate of this bug. ***
*** Bug 411762 has been marked as a duplicate of this bug. ***
*** Bug 415432 has been marked as a duplicate of this bug. ***
*** Bug 415960 has been marked as a duplicate of this bug. ***
*** Bug 417138 has been marked as a duplicate of this bug. ***
*** Bug 417200 has been marked as a duplicate of this bug. ***
*** Bug 418279 has been marked as a duplicate of this bug. ***
*** Bug 418280 has been marked as a duplicate of this bug. ***
*** Bug 418350 has been marked as a duplicate of this bug. ***
*** Bug 370054 has been marked as a duplicate of this bug. ***
*** Bug 418768 has been marked as a duplicate of this bug. ***
*** Bug 419488 has been marked as a duplicate of this bug. ***
*** Bug 420726 has been marked as a duplicate of this bug. ***
*** Bug 421630 has been marked as a duplicate of this bug. ***
*** Bug 422687 has been marked as a duplicate of this bug. ***
*** Bug 423345 has been marked as a duplicate of this bug. ***
*** Bug 423724 has been marked as a duplicate of this bug. ***
*** Bug 424189 has been marked as a duplicate of this bug. ***
*** Bug 425098 has been marked as a duplicate of this bug. ***
*** Bug 425953 has been marked as a duplicate of this bug. ***
*** Bug 427330 has been marked as a duplicate of this bug. ***
*** Bug 428447 has been marked as a duplicate of this bug. ***
*** Bug 428941 has been marked as a duplicate of this bug. ***
*** Bug 429385 has been marked as a duplicate of this bug. ***
*** Bug 429416 has been marked as a duplicate of this bug. ***
*** Bug 431277 has been marked as a duplicate of this bug. ***