GNOME Bugzilla – Bug 336812
[cdparanoiasrc] crash on startup inside libcdparanoia
Last modified: 2009-01-30 03:30:05 UTC
Distribution: Fedora Core release 5 (Bordeaux) Package: gnome-media Severity: Normal Version: GNOME2.14.0 2.14.0 Gnome-Distributor: Red Hat, Inc Synopsis: gnome-cd crashes on startup Bugzilla-Product: gnome-media Bugzilla-Component: Gnome-CD Bugzilla-Version: 2.14.0 BugBuddy-GnomeVersion: 2.0 (2.14.0) Description: Description of the crash: The crash dialog appears straight away. There is no other output. Steps to reproduce the crash: 1. Start program 2. ??? 3. Crash How often does this happen? Additional Information: Debugging Information: Backtrace was generated from '/usr/bin/gnome-cd' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `shared object read from target memory' has disappeared; keeping its symbols. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1208707408 (LWP 24034)] [New Thread -1221706848 (LWP 24040)] [New Thread -1211216992 (LWP 24039)] (no debugging symbols found) 0x004be402 in __kernel_vsyscall ()
+ Trace 67377
Thread 1 (Thread -1208707408 (LWP 24034))
------- Bug created by bug-buddy at 2006-04-01 11:11 ------- Unknown version 2.14.0 in product gnome-media. Setting version to "2.14.x".
*** Bug 338742 has been marked as a duplicate of this bug. ***
Looks like it might be a crash in libcdparanoia (maybe related to the 08-identify-crash patch that debian ships its package with?) Could you run this from a command line and attach the produced file: $ export GST_DEBUG=*:4 $ gnome-cd 2>&1 | gzip > dbg.log (or gnome-cd --unique --play --device YOUR_CD_DEVICE 2>&1 | gzip > dbg.log)
Created attachment 63696 [details] As requested.
That was quick, thanks. Just wanted to make sure GStreamer is not passing garbage pointers to libcdparanoia when opening the device. Doesn't look like it though: gst_cd_paranoia_src_open:<source> trying to open device /dev/hdd (generic-device=(NULL)) ... So my best guess is that it's a bug in libcdparanoia. If you run the 'cdparanoia' utility from the command line, does it crash as well? $ cdparanoia -d /dev/hdd 1-1
Created attachment 63716 [details] Output from cdparanoia -d /dev/hdd 1-1 Seems to work OK.
Some more observations as I have three different devices capable of playing audio CD's. 1. They all crashes at start-up. 2. When I press the "Restart Application" button on the crash window they all restart without the crash but only one will play the tracks. The others say "Drive Error" and if I on that window press the eject button it answers "Could not open CD". 3. The (partly) successful drive is /dev/cdrom (/dev/scd0) and the others are /dev/hdc and /dev/hdd Somehow I believe it is related to the new mount system in FC5 but that's only gut feelings on my part :-)
Running under gdb with the debuginfo installed I get a different stack trace:
+ Trace 67705
This leads to line 396 of interface/scsi_interface.c: memcpy(sgi->cmdp, cmdp, cmd_len); This fails because sgi->cmdp is a bad address which is in turn because sgi->hdr is NULL. Setting sgi->hdr in the same manner as is done in sgio_init_sg_info prevents the crash, but it doesn't work, perhaps because a bad command is being sent. Anyway it causes many errors to be logged to syslog, eg: Apr 18 21:02:44 ariel kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error } Apr 18 21:02:44 ariel kernel: hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 } Apr 18 21:02:44 ariel kernel: ide: failed opcode was: unknown Apr 18 21:02:44 ariel kernel: end_request: I/O error, dev hdc, sector 0
*** Bug 339493 has been marked as a duplicate of this bug. ***
*** Bug 340264 has been marked as a duplicate of this bug. ***
Is this crash FC5-specific by any chance? Has this crash been observed by someone not running FC5?
I've filed a report with bugzilla.redhat.com if anyone wants to follow up there: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183991
(In reply to comment #0) > Distribution: Fedora Core release 5 (Bordeaux) > Package: gnome-media > Severity: Normal > Version: GNOME2.14.0 2.14.0 > Gnome-Distributor: Red Hat, Inc > Synopsis: gnome-cd crashes on startup > Bugzilla-Product: gnome-media > Bugzilla-Component: Gnome-CD > Bugzilla-Version: 2.14.0 > BugBuddy-GnomeVersion: 2.0 (2.14.0) > Description: > Description of the crash: The crash dialog appears straight away. There > is no other output. > > > Steps to reproduce the crash: > 1. Start program > 2. ??? > 3. Crash > > > > > How often does this happen? > > > Additional Information: > > > > Debugging Information: > > Backtrace was generated from '/usr/bin/gnome-cd' > > (no debugging symbols found) > Using host libthread_db library "/lib/libthread_db.so.1". > (no debugging symbols found) > `shared object read from target memory' has disappeared; keeping its > symbols. > (no debugging symbols found) > [Thread debugging using libthread_db enabled] > [New Thread -1208707408 (LWP 24034)] > [New Thread -1221706848 (LWP 24040)] > [New Thread -1211216992 (LWP 24039)] > (no debugging symbols found) > 0x004be402 in __kernel_vsyscall () > #0 0x004be402 in __kernel_vsyscall () > #1 0x00daea3b in __waitpid_nocancel () from /lib/libpthread.so.0 > #2 0x03ce2086 in gnome_init_with_popt_table () > from /usr/lib/libgnomeui-2.so.0 > #3 <signal handler called> > #4 0x0078fb77 in sgio_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > #5 0x00790223 in sg2_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > #6 0x007903f1 in sg2_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > #7 0x00793ac2 in scsi_read_msf3 () from > /usr/lib/libcdda_interface.so.0 > #8 0x00793ead in scsi_init_drive () from > /usr/lib/libcdda_interface.so.0 > #9 0x00793d4a in scsi_inquiry () from /usr/lib/libcdda_interface.so.0 > #10 0x0078ab01 in get_sgio_fd () from /usr/lib/libcdda_interface.so.0 > #11 0x0078ada9 in cdda_identify_scsi () from > /usr/lib/libcdda_interface.so.0 > #12 0x0078990b in cdda_identify () from /usr/lib/libcdda_interface.so.0 > #13 0x00631713 in gst_cd_paranoia_src_get_type () > from /usr/lib/gstreamer-0.10/libgstcdparanoia.so > #14 0x0076b81e in gst_cdda_base_src_get_type () > from /usr/lib/libgstcdda-0.10.so.0 > #15 0x004acfe9 in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > #16 0x004ae1cb in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > #17 0x03d69ad3 in gst_pad_activate_push () > from /usr/lib/libgstreamer-0.10.so.0 > #18 0x03d69c45 in gst_pad_activate_push () > from /usr/lib/libgstreamer-0.10.so.0 > #19 0x03d6a286 in gst_pad_set_active () from > /usr/lib/libgstreamer-0.10.so.0 > #20 0x03d53d8e in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #21 0x03d5e5f7 in gst_iterator_fold () from > /usr/lib/libgstreamer-0.10.so.0 > #22 0x03d537fb in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #23 0x03d538d8 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #24 0x03d53d4d in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #25 0x004ae46f in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > #26 0x03d50428 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > #27 0x03d50552 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > #28 0x03d53478 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #29 0x03d4f5c3 in gst_element_set_state () > from /usr/lib/libgstreamer-0.10.so.0 > #30 0x03d44f82 in gst_bin_add () from /usr/lib/libgstreamer-0.10.so.0 > #31 0x03d6c4fa in gst_pipeline_set_new_stream_time () > from /usr/lib/libgstreamer-0.10.so.0 > #32 0x0083851b in gst_play_base_bin_get_type () > from /usr/lib/gstreamer-0.10/libgstplaybin.so > #33 0x008337e0 in ?? () from /usr/lib/gstreamer-0.10/libgstplaybin.so > #34 0x03d50428 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > #35 0x03d50552 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > #36 0x03d53478 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > #37 0x03d4f5c3 in gst_element_set_state () > from /usr/lib/libgstreamer-0.10.so.0 > #38 0x0805a1b7 in cd_display_new () > #39 0x0805abbd in gst_cdrom_get_type () > #40 0x08056e87 in gnome_cdrom_force_status_rescan () > #41 0x08056f6a in gnome_cdrom_construct () > #42 0x0805ae2f in gnome_cdrom_new () > #43 0x080521b8 in main () > > Thread 3 (Thread -1211216992 (LWP 24039)): > #0 0x004be402 in __kernel_vsyscall () > No symbol table info available. > #1 0x00dab216 in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > No symbol table info available. > #2 0x03d78596 in gst_system_clock_obtain () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #3 0x04e048ef in g_thread_create_full () from > /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #4 0x00da83b6 in start_thread () from /lib/libpthread.so.0 > No symbol table info available. > #5 0x00bd633e in clone () from /lib/libc.so.6 > No symbol table info available. > > Thread 2 (Thread -1221706848 (LWP 24040)): > #0 0x004be402 in __kernel_vsyscall () > No symbol table info available. > #1 0x00dab216 in pthread_cond_wait@@GLIBC_2.3.2 () from > /lib/libpthread.so.0 > No symbol table info available. > #2 0x006dc4fc in gst_queue_get_type () > from /usr/lib/gstreamer-0.10/libgstcoreelements.so > No symbol table info available. > #3 0x03d7d153 in gst_task_set_lock () from > /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #4 0x04e0636c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #5 0x04e048ef in g_thread_create_full () from > /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #6 0x00da83b6 in start_thread () from /lib/libpthread.so.0 > No symbol table info available. > #7 0x00bd633e in clone () from /lib/libc.so.6 > No symbol table info available. > > Thread 1 (Thread -1208707408 (LWP 24034)): > #0 0x004be402 in __kernel_vsyscall () > No symbol table info available. > #1 0x00daea3b in __waitpid_nocancel () from /lib/libpthread.so.0 > No symbol table info available. > #2 0x03ce2086 in gnome_init_with_popt_table () > from /usr/lib/libgnomeui-2.so.0 > No symbol table info available. > #3 <signal handler called> > No symbol table info available. > #4 0x0078fb77 in sgio_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #5 0x00790223 in sg2_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #6 0x007903f1 in sg2_init_sg_info () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #7 0x00793ac2 in scsi_read_msf3 () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #8 0x00793ead in scsi_init_drive () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #9 0x00793d4a in scsi_inquiry () from /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #10 0x0078ab01 in get_sgio_fd () from /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #11 0x0078ada9 in cdda_identify_scsi () from > /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #12 0x0078990b in cdda_identify () from /usr/lib/libcdda_interface.so.0 > No symbol table info available. > #13 0x00631713 in gst_cd_paranoia_src_get_type () > from /usr/lib/gstreamer-0.10/libgstcdparanoia.so > No symbol table info available. > #14 0x0076b81e in gst_cdda_base_src_get_type () > from /usr/lib/libgstcdda-0.10.so.0 > No symbol table info available. > #15 0x004acfe9 in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > No symbol table info available. > #16 0x004ae1cb in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > No symbol table info available. > #17 0x03d69ad3 in gst_pad_activate_push () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #18 0x03d69c45 in gst_pad_activate_push () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #19 0x03d6a286 in gst_pad_set_active () from > /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #20 0x03d53d8e in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #21 0x03d5e5f7 in gst_iterator_fold () from > /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #22 0x03d537fb in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #23 0x03d538d8 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #24 0x03d53d4d in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #25 0x004ae46f in gst_base_src_get_type () from > /usr/lib/libgstbase-0.10.so.0 > No symbol table info available. > #26 0x03d50428 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #27 0x03d50552 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #28 0x03d53478 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #29 0x03d4f5c3 in gst_element_set_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #30 0x03d44f82 in gst_bin_add () from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #31 0x03d6c4fa in gst_pipeline_set_new_stream_time () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #32 0x0083851b in gst_play_base_bin_get_type () > from /usr/lib/gstreamer-0.10/libgstplaybin.so > No symbol table info available. > #33 0x008337e0 in ?? () from /usr/lib/gstreamer-0.10/libgstplaybin.so > No symbol table info available. > #34 0x03d50428 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #35 0x03d50552 in gst_element_continue_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #36 0x03d53478 in gst_element_release_request_pad () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #37 0x03d4f5c3 in gst_element_set_state () > from /usr/lib/libgstreamer-0.10.so.0 > No symbol table info available. > #38 0x0805a1b7 in cd_display_new () > No symbol table info available. > #39 0x0805abbd in gst_cdrom_get_type () > No symbol table info available. > #40 0x08056e87 in gnome_cdrom_force_status_rescan () > No symbol table info available. > #41 0x08056f6a in gnome_cdrom_construct () > No symbol table info available. > #42 0x0805ae2f in gnome_cdrom_new () > No symbol table info available. > #43 0x080521b8 in main () > No symbol table info available. > > > > > ------- Bug created by bug-buddy at 2006-04-01 11:11 ------- > > > Unknown version 2.14.0 in product gnome-media. Setting version to "2.14.x". >
This is not redhat specific. I have the same problem on a gentoo amd64 machine.
After a recent install of FC5 2.6.16-1.2111_FC5, I was having trouble listening to audio CDs on my CD player. CDs did play on my DVD reader/writer. Experimenting with settings and preferences, I modified Preferences>Removeable drives & Media>Multimedia>Audio CDs. I changed the default command entry from "totem %d" to "gnome-cd %d" and this bug started happening. Even when I changed the command entry back to "totem %d" the problem will still occur. It still remains that gnome-cd app always give the message "The application gnome-cd has quit unexpectedly". Other sound applications do not recognize the cd player device but they do recognize and play CDs on the DVD RW device.
*** Bug 346164 has been marked as a duplicate of this bug. ***
*** Bug 352061 has been marked as a duplicate of this bug. ***
*** Bug 364735 has been marked as a duplicate of this bug. ***
Inheriting changes from bug 364735 comment 1. Confirming due to duplicates.
Has anyone who is affected by this bug tried with the cdparanoia 10 prerelease that came out at the end of August? (http://xiph.org/paranoia/down.html) Does the bug still occur with that?
*** Bug 371552 has been marked as a duplicate of this bug. ***
I am posting results of the debug of my gnome-cd command, obtained using the line command: gnome-cd --gst-debug-level=3 gnome-cd --gst-debug-level=4 gnome-cd --gst-debug-level=5 The end of each command was the same: "The Application "gnome-cd" has quit unexpectedly." I hope this can help to solve the problem. Paolo
Created attachment 76138 [details] output of line command "gnome-cd --gst-debug-level=3" on my PC
Created attachment 76139 [details] output of line command "gnome-cd --gst-debug-level=4" on my PC
Created attachment 76140 [details] output of line command "gnome-cd --gst-debug-level=5" on my PC That's all, for the moment. The file is gzipped, since it was too large.
*** Bug 388798 has been marked as a duplicate of this bug. ***
*** Bug 395813 has been marked as a duplicate of this bug. ***
Redhat's bugzilla has a possible patch: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187602
The patch is for cdparanoia though, not for the gstreamer plugin. And cdparanoia upstream doesn't even use sg while redhat/FC do and all backtraces here (and in the dups) have some libsg functions in them and were created on FC systems. As such I'll mark this as notgnome for now, the bug seems to be in the redhat/FC cdparanoia packages.
Sorry, I have to correct myself: cdparanoia does use libsg in the 9.8 versions but not in the 10 versions anymore. Still this seems to be a bug in cdparanoia as the Redhat bug implies.
*** Bug 433430 has been marked as a duplicate of this bug. ***
*** Bug 425744 has been marked as a duplicate of this bug. ***
*** Bug 434366 has been marked as a duplicate of this bug. ***
*** Bug 441054 has been marked as a duplicate of this bug. ***
*** Bug 441725 has been marked as a duplicate of this bug. ***
*** Bug 441874 has been marked as a duplicate of this bug. ***
*** Bug 443076 has been marked as a duplicate of this bug. ***
*** Bug 443229 has been marked as a duplicate of this bug. ***
*** Bug 446393 has been marked as a duplicate of this bug. ***
*** Bug 446390 has been marked as a duplicate of this bug. ***
*** Bug 446384 has been marked as a duplicate of this bug. ***
*** Bug 446383 has been marked as a duplicate of this bug. ***
*** Bug 445853 has been marked as a duplicate of this bug. ***
*** Bug 446439 has been marked as a duplicate of this bug. ***
*** Bug 447686 has been marked as a duplicate of this bug. ***
*** Bug 449579 has been marked as a duplicate of this bug. ***
*** Bug 450661 has been marked as a duplicate of this bug. ***
*** Bug 451904 has been marked as a duplicate of this bug. ***
*** Bug 452099 has been marked as a duplicate of this bug. ***
*** Bug 452968 has been marked as a duplicate of this bug. ***
*** Bug 452893 has been marked as a duplicate of this bug. ***
*** Bug 449885 has been marked as a duplicate of this bug. ***
*** Bug 446126 has been marked as a duplicate of this bug. ***
*** Bug 454204 has been marked as a duplicate of this bug. ***
*** Bug 454208 has been marked as a duplicate of this bug. ***
*** Bug 454477 has been marked as a duplicate of this bug. ***
*** Bug 455840 has been marked as a duplicate of this bug. ***
*** Bug 460323 has been marked as a duplicate of this bug. ***
*** Bug 460608 has been marked as a duplicate of this bug. ***
*** Bug 460612 has been marked as a duplicate of this bug. ***
*** Bug 460900 has been marked as a duplicate of this bug. ***
*** Bug 460982 has been marked as a duplicate of this bug. ***
*** Bug 454931 has been marked as a duplicate of this bug. ***
*** Bug 454934 has been marked as a duplicate of this bug. ***
*** Bug 455096 has been marked as a duplicate of this bug. ***
*** Bug 455109 has been marked as a duplicate of this bug. ***
*** Bug 455211 has been marked as a duplicate of this bug. ***
*** Bug 447253 has been marked as a duplicate of this bug. ***
*** Bug 448676 has been marked as a duplicate of this bug. ***
*** Bug 448806 has been marked as a duplicate of this bug. ***
*** Bug 449559 has been marked as a duplicate of this bug. ***
*** Bug 456281 has been marked as a duplicate of this bug. ***
*** Bug 456310 has been marked as a duplicate of this bug. ***
*** Bug 456931 has been marked as a duplicate of this bug. ***
*** Bug 457172 has been marked as a duplicate of this bug. ***
*** Bug 457808 has been marked as a duplicate of this bug. ***
*** Bug 457901 has been marked as a duplicate of this bug. ***
*** Bug 458770 has been marked as a duplicate of this bug. ***
*** Bug 459298 has been marked as a duplicate of this bug. ***
*** Bug 459370 has been marked as a duplicate of this bug. ***
*** Bug 459976 has been marked as a duplicate of this bug. ***
added this bug to the auto-rejecter. text that will be sent to everybody submitting a duplicate: "You recently submitted a bug report to GNOME Bugzilla using Bug-Buddy. Thank you for reporting this bug. The crash you reported is actually caused by the cdparanoia package used by Red Hat/Fedora and is not a bug in upstream GNOME. For more information, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187602 http://bugzilla.gnome.org/show_bug.cgi?id=336812"
*** Bug 463256 has been marked as a duplicate of this bug. ***
*** Bug 463257 has been marked as a duplicate of this bug. ***
*** Bug 463704 has been marked as a duplicate of this bug. ***
*** Bug 463706 has been marked as a duplicate of this bug. ***
*** Bug 463707 has been marked as a duplicate of this bug. ***
*** Bug 465745 has been marked as a duplicate of this bug. ***
*** Bug 461155 has been marked as a duplicate of this bug. ***
*** Bug 458835 has been marked as a duplicate of this bug. ***
*** Bug 452839 has been marked as a duplicate of this bug. ***
*** Bug 481800 has been marked as a duplicate of this bug. ***
*** Bug 500481 has been marked as a duplicate of this bug. ***
*** Bug 503324 has been marked as a duplicate of this bug. ***
*** Bug 512322 has been marked as a duplicate of this bug. ***