After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318766 - fatal rhythmbox crash when launching for first time from rhythmbox-applet
fatal rhythmbox crash when launching for first time from rhythmbox-applet
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.x
Other Linux
: High critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 374273 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-13 13:58 UTC by Sebastien Bacher
Modified: 2006-11-12 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
awful hack (1.03 KB, patch)
2006-01-06 11:15 UTC, Jonathan Matthew
rejected Details | Review
make drui display non-clocking (4.72 KB, patch)
2006-02-17 03:48 UTC, James "Doc" Livingston
committed Details | Review

Description Sebastien Bacher 2005-10-13 13:58:31 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/show_bug.cgi?id=17318

"Running the most up to date breezy, I added rhythmbox-applet to my top panel.
When I hit the play button to launch rhythmbox, it loaded the first time wizard
and then said "Application rhythmbox has quit unexpectedly, do you want to
restart? After I opened
up rhythmbox from the Applications menu, ran the wizard, and tried opening it
from the applet after closing it again, it "just worked"."
Comment 1 Sebastien Bacher 2005-10-13 14:00:26 UTC
backtrace of the crash with the current CVS:

Backtrace was generated from '/usr/bin/rhythmbox'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1225562432 (LWP 18148)]
[New Thread -1236718672 (LWP 18150)]
[New Thread -1228325968 (LWP 18149)]
0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1228325968 (LWP 18149))

  • #0 __kernel_vsyscall
  • #1 pthread_cond_timedwait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 g_cond_timed_wait_posix_impl
    at gthread-posix.c line 229

Comment 2 James "Doc" Livingston 2005-10-13 14:30:05 UTC
Can you report the error message that it will print out on a terminal right
before the crash?
Comment 3 Christian Kirbach 2005-10-13 14:35:57 UTC
trace of Bug 110228 looks similar.
Comment 4 Sebastien Bacher 2005-11-28 16:20:11 UTC
there is no message on the terminal/log file for the applet (which starts rhythmbox)
Comment 5 Jonathan Matthew 2006-01-06 11:15:16 UTC
Created attachment 56852 [details] [review]
awful hack

To fix this properly, we'd need to rearrange the RBShell constructor so we could register it with bonobo before calling rhythmdb_load.
Comment 6 James "Doc" Livingston 2006-01-15 08:44:28 UTC
The patch on bug 323348 causes the db to be loaded in another thread, which would also fix this problem.
Comment 7 Jonathan Matthew 2006-01-15 22:28:01 UTC
No, it wouldn't.  The druid thing is displayed using gtk_dialog_run, which does not return until the dialog is dismissed.  Unless the user manages to click through the druid in less than a second, bonobo-activation will abort the process because the service will not be registered.
Comment 8 James "Doc" Livingston 2006-02-10 07:03:04 UTC
One option would be to make RBDruid be the window itself (i.e. derive from GnomeDruid). Then the could use gtk_widget_show rather than rb_druid_show, and respond to the "response" signal by showind the main window.
Comment 9 James "Doc" Livingston 2006-02-17 03:48:16 UTC
Created attachment 59550 [details] [review]
make drui display non-clocking

This patch makes RBDruid derive from GtkWindow instead of having one. This lets us make showing the druid non-clocking, which should fix this bug.
Comment 10 James "Doc" Livingston 2006-02-20 23:37:45 UTC
Patch committed to cvs. This fixes it for me.
Comment 11 Jonathan Matthew 2006-11-12 21:36:09 UTC
*** Bug 374273 has been marked as a duplicate of this bug. ***