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 395813 - GnomeCD crashes unless CD Drive is already in use
GnomeCD crashes unless CD Drive is already in use
Status: RESOLVED DUPLICATE of bug 336812
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-12 15:23 UTC by Roshan Kamath
Modified: 2007-01-12 16:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
strace output for the GnomeCD crash (112.45 KB, text/plain)
2007-01-12 15:28 UTC, Roshan Kamath
Details

Description Roshan Kamath 2007-01-12 15:23:54 UTC
I haven't run GnomeCD for sometime now. Recently when I did try to use it, I noticed that the "Starting CD Player" notification would show up in the GnomePanel, but subsequently GnomeCD wouldn't startup. Neither would BugBuddy pop-up with a failure - hence I don't have a BugBuddy Stack Trace in this Bug. The next best thing I did was get an strace output - which I'll attach to this Bug presently.

Other tools (like SoundJuicer) open up correctly and can play my CDs. GnomeCD used to work correctly on my system, but I have no recollection of whether I've used it successfully with Fedora Core 6.

I'm running Fedora Core 6 with GNOME 2.16.0, gnome-media-2.16.1-2.fc6.


The only way I have been able to get GnomeCD up is by first cranking up SoundJuicer and playing a track (so that my CD drive is busy). Next, start GnomeCD - which pops up a blank/empty GnomeCD window (title: CD Player) and remains blank/empty until I quit SoundJuicer. The moment SoundJuicer quits, the GnomeCD window gets all its buttons and labels. It says 'No Disc' but lists all the tracks from the CD in the TrackList and is able to play them too.

The same blank/empty GnomeCD window can be seen if any further instances of GnomeCD are started provided one of them is already up.

Starting GnomeCD all by itself - or with SoundJuicer present (but not playing anything) causes it to 'crash' for which the strace is attached.
Comment 1 Roshan Kamath 2007-01-12 15:28:26 UTC
Created attachment 80114 [details]
strace output for the GnomeCD crash
Comment 2 Ronald Bultje 2007-01-12 15:29:50 UTC
Strace is not very useful, please attach a gdb backtrace, or at the very least the commandline output, instead.
Comment 3 Roshan Kamath 2007-01-12 15:35:26 UTC
    Finally, here is the backtrace that I obtained from GDB. Hope this is more
    useful than the strace.


    $ gdb gnome-cd
    GNU gdb Red Hat Linux (6.5-15.fc6rh)
    Copyright (C) 2006 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
    library "/lib/libthread_db.so.1".

    (gdb) run
    Starting program: /usr/bin/gnome-cd 
    warning: the debug information found in
    "/usr/lib/debug//usr/lib/libnautilus-burn.so.4.0.0.debug" does not match
    "/usr/lib/libnautilus-burn.so.4" (CRC mismatch).

    [Thread debugging using libthread_db enabled]
    [New Thread -1208523056 (LWP 11798)]
    [New Thread -1210651760 (LWP 11824)]
    [New Thread -1221149808 (LWP 11825)]

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1208523056 (LWP 11798)]
    0x4c204a0d in sgio_init_sg_info () from /usr/lib/libcdda_interface.so.0

    (gdb) backtrace
    #0  0x4c204a0d in sgio_init_sg_info () from /usr/lib/libcdda_interface.so.0
    #1  0x4c2050bb in sg2_init_sg_info () from /usr/lib/libcdda_interface.so.0
    #2  0x4c205289 in sg2_init_sg_info () from /usr/lib/libcdda_interface.so.0
    #3  0x4c20895a in scsi_read_msf3 () from /usr/lib/libcdda_interface.so.0
    #4  0x4c208d45 in scsi_init_drive () from /usr/lib/libcdda_interface.so.0
    #5  0x4c208be2 in scsi_inquiry () from /usr/lib/libcdda_interface.so.0
    #6  0x4c1ff991 in get_sgio_fd () from /usr/lib/libcdda_interface.so.0
    #7  0x4c1ffc39 in cdda_identify_scsi () from /usr/lib/libcdda_interface.so.0
    #8  0x4c1fe79b in cdda_identify () from /usr/lib/libcdda_interface.so.0
    #9  0x00a0248f in ?? () from /usr/lib/gstreamer-0.10/libgstcdparanoia.so
    #10 0x005f04fd in ?? () from /usr/lib/libgstcdda-0.10.so.0
    #11 0x0030923c in gst_base_src_get_type () from /usr/lib/libgstbase-0.10.so.0
    #12 0x0030a46f in gst_base_src_get_type () from /usr/lib/libgstbase-0.10.so.0
    #13 0x411b5b14 in gst_pad_activate_push () from /usr/lib/libgstreamer-0.10.so.0
    #14 0x411b5e55 in gst_pad_activate_push () from /usr/lib/libgstreamer-0.10.so.0
    #15 0x411b5f04 in gst_pad_set_active () from /usr/lib/libgstreamer-0.10.so.0
    #16 0x4119ec2b in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #17 0x411aa8a7 in gst_iterator_fold () from /usr/lib/libgstreamer-0.10.so.0
    #18 0x4119e6a2 in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #19 0x4119e73e in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #20 0x4119ead6 in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #21 0x0030b9af in gst_base_src_get_type () from /usr/lib/libgstbase-0.10.so.0
    #22 0x4119b2ba in gst_element_continue_state ()
       from /usr/lib/libgstreamer-0.10.so.0
    #23 0x4119b3a2 in gst_element_continue_state ()
       from /usr/lib/libgstreamer-0.10.so.0
    #24 0x4119e2e6 in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #25 0x4119a443 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
    #26 0x4118fbb2 in gst_bin_add () from /usr/lib/libgstreamer-0.10.so.0
    #27 0x411b84ba in gst_pipeline_set_new_stream_time ()
       from /usr/lib/libgstreamer-0.10.so.0
    #28 0x002f1e4b in gst_play_base_bin_get_type ()
       from /usr/lib/gstreamer-0.10/libgstplaybin.so
    #29 0x002ec170 in ?? () from /usr/lib/gstreamer-0.10/libgstplaybin.so
    #30 0x4119b2ba in gst_element_continue_state ()
       from /usr/lib/libgstreamer-0.10.so.0
    #31 0x4119b3a2 in gst_element_continue_state ()
       from /usr/lib/libgstreamer-0.10.so.0
    #32 0x4119e2e6 in gst_element_release_request_pad ()
       from /usr/lib/libgstreamer-0.10.so.0
    #33 0x4119a443 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
    #34 0x08058163 in gst_cdrom_ensure_open (cdrom=0x8162a00) at gst-cdrom.c:803
    #35 0x08058bcd in gst_cdrom_update_cd (gnome_cdrom=0x8162a00)
        at gst-cdrom.c:839
    #36 0x08054e87 in gnome_cdrom_update_cd (cdrom=0x8162a00) at cdrom.c:749
    #37 0x08054f6a in gnome_cdrom_construct (cdrom=0x8162a00, 
        device=0x815ac50 "/dev/hdd", update=GNOME_CDROM_UPDATE_CONTINOUS, 
        lifetime=GNOME_CDROM_DEVICE_STATIC, error=0xbf94f8d4) at cdrom.c:853
    #38 0x08058e3f in gnome_cdrom_new (cdrom_device=0x815ac50 "/dev/hdd", 
        update=GNOME_CDROM_UPDATE_CONTINOUS, error=0xbf94f8d4) at gst-cdrom.c:716
    #39 0x08050358 in main (argc=Cannot access memory at address 0xa
    ) at gnome-cd.c:625
Comment 4 Roshan Kamath 2007-01-12 15:48:02 UTC
Here is an expanded section of the top of the function stack after I just installed cdparanoia-debuginfo. In case more info is needed I'll be glad to provide it.
----

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 11960)

  • #0 sg2_setup_scsi_cmd
    at scsi_interface.c line 396
  • #1 mode_sense_atapi
    at scsi_interface.c line 578
  • #2 mode_sense
    at scsi_interface.c line 618
  • #3 check_mmc
    at scsi_interface.c line 1510
  • #4 scsi_init_drive
    at scsi_interface.c line 1573
  • #5 scsi_inquiry
    at scsi_interface.c line 1557
  • #6 sgio_cdda_identify_scsi
    at scan_devices.c line 538
  • #7 cdda_identify_scsi
    at scan_devices.c line 610
  • #8 cdda_identify
    at scan_devices.c line 130
  • #9 ??
    from /usr/lib/gstreamer-0.10/libgstcdparanoia.so
  • #10 ??
    from /usr/lib/libgstcdda-0.10.so.0
  • #11 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #12 gst_base_src_get_type
    from /usr/lib/libgstbase-0.10.so.0
  • #13 gst_pad_activate_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_pad_activate_push
    from /usr/lib/libgstreamer-0.10.so.0

Comment 5 Ronald Bultje 2007-01-12 15:52:42 UTC
Looks like a crash inside the cdparanoia code called by the gst element -> reassigning.
Comment 6 Tim-Philipp Müller 2007-01-12 16:11:36 UTC
Known mystery-crash in libcdparanoia, is bug #336812

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 336812 ***