crashes when ripping cd with no profile selected

Bug #67621 reported by Thorbjørn Møller Pedersen
12
Affects Status Importance Assigned to Milestone
Sound Juicer
Fix Released
Critical
sound-juicer (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Sound-juicer crashes when I try to rip by "Segmentation fault (core dumped)". Also I cannot choose which format to rip. I did not have problems before upgrade to edgy.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Could you get a backtrace of the issue as described on https://wiki.ubuntu.com/DebuggingProgramCrash?

Changed in sound-juicer:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Thorbjørn Møller Pedersen (thorbjorn-pedersen) wrote : Re: [Bug 67621] Re: crashes when ripping cd
Download full text (11.1 KiB)

Here is the backtrace. Valgrind segfaulted but gdb worked.

2006/10/22, Sebastien Bacher <email address hidden>:
> Thanks for your bug. Could you get a backtrace of the issue as described
> on https://wiki.ubuntu.com/DebuggingProgramCrash?
>
> ** Changed in: sound-juicer (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs
> Status: Unconfirmed => Needs Info
>
> --
> crashes when ripping cd
> https://launchpad.net/bugs/67621
>

--
The theory of groups is a branch of mathematics in which one does
something to something and then compares the results with the result
of doing the same thing to something else, or something else to the
same thing.
                                         James Newman

GNU gdb 6.4.90-debian
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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) sound-juicer
Undefined command: "sound-juicer". Try "help".
(gdb) help
List of classes of commands:

aliases -- Aliases of other commands
breakpoints -- Making program stop at certain points
data -- Examining data
files -- Specifying and examining files
internals -- Maintenance commands
obscure -- Obscure features
running -- Running the program
stack -- Examining the stack
status -- Status inquiries
support -- Support facilities
tracepoints -- Tracing of program execution without stopping the program
user-defined -- User-defined commands

Type "help" followed by a class name for a list of commands in that class.
Type "help" followed by command name for full documentation.
Command name abbreviations are allowed if unambiguous.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) ;7~run
Starting program: /usr/bin/sound-juicer
[Thread debugging using libthread_db enabled]
[New Thread -1226835552 (LWP 8955)]
GTK Accessibility Module initialized
Bonobo accessibility support initialized
[New Thread -1260909664 (LWP 8965)]
[New Thread -1269302368 (LWP 8966)]
[New Thread -1277695072 (LWP 8967)]
[Thread -1260909664 (LWP 8965) exited]
[Thread -1269302368 (LWP 8966) exited]
[Thread -1277695072 (LWP 8967) exited]
[New Thread -1260909664 (LWP 8971)]
[New Thread -1277695072 (LWP 8972)]
[New Thread -1269302368 (LWP 8973)]
[New Thread -1287648352 (LWP 8974)]
[New Thread -1296041056 (LWP 8975)]
[New Thread -1304433760 (LWP 8976)]
[New Thread -1312826464 (LWP 8977)]
[New Thread -1321219168 (LWP 8978)]
[New Thread -1329611872 (LWP 8979)]
[Thread -1260909664 (LWP 8971) exited]
[Thread -1277695072 (LWP 8972) exited]
[Thread -1269302368 (LWP 8973) exited]
[Thread -1287648352 (LWP 8974) exited]
[Thread -1296041056 (LWP 8975) exited]
[Thread -1304433760 (LWP 8976) exited]
[Thread -1312826464 (LWP 8977) exited]
[Thread -1321219168 (LWP 8978) exited]
[Thread -1329611872 (LW...

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: crashes when ripping cd

Thank you for the backtrace. What version of Ubuntu do you use? If that's edgy could you get a backtrace with gnome-media-dbgsym (from "deb http://people.ubuntu.com/~pitti/ddebs edgy main") and libglib2.0-0-dbg installed?

Revision history for this message
Thorbjørn Møller Pedersen (thorbjorn-pedersen) wrote : Re: [Bug 67621] Re: crashes when ripping cd
Download full text (12.1 KiB)

Here is the new backtrace. I am using edgy.

Maybe the segfault is the related to the fact that I cannot choose any
format to rip to, although I have (almost) all gstreamer packages
installed (version 0.10). When try anyway sounjuicer crashes.

2006/10/23, Sebastien Bacher <email address hidden>:
> Thank you for the backtrace. What version of Ubuntu do you use? If
> that's edgy could you get a backtrace with gnome-media-dbgsym (from "deb
> http://people.ubuntu.com/~pitti/ddebs edgy main") and libglib2.0-0-dbg
> installed?
>
> --
> crashes when ripping cd
> https://launchpad.net/bugs/67621
>

--
The theory of groups is a branch of mathematics in which one does
something to something and then compares the results with the result
of doing the same thing to something else, or something else to the
same thing.
                                         James Newman

GNU gdb 6.4.90-debian
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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/sound-juicer
[Thread debugging using libthread_db enabled]
[New Thread -1227404896 (LWP 5730)]
GTK Accessibility Module initialized
Bonobo accessibility support initialized
[New Thread -1261479008 (LWP 5741)]
[New Thread -1269871712 (LWP 5742)]
[New Thread -1278264416 (LWP 5743)]
[New Thread -1286657120 (LWP 5744)]
[New Thread -1295049824 (LWP 5745)]
[New Thread -1303442528 (LWP 5746)]
[New Thread -1311835232 (LWP 5747)]
[New Thread -1320227936 (LWP 5748)]
[New Thread -1328620640 (LWP 5749)]
[Thread -1261479008 (LWP 5741) exited]
[Thread -1269871712 (LWP 5742) exited]
[Thread -1278264416 (LWP 5743) exited]
[Thread -1286657120 (LWP 5744) exited]
[Thread -1295049824 (LWP 5745) exited]
[Thread -1303442528 (LWP 5746) exited]
[Thread -1311835232 (LWP 5747) exited]
[Thread -1320227936 (LWP 5748) exited]
[Thread -1328620640 (LWP 5749) exited]
[New Thread -1295049824 (LWP 5754)]
[New Thread -1328620640 (LWP 5755)]
[New Thread -1286657120 (LWP 5756)]
[New Thread -1278264416 (LWP 5757)]
[New Thread -1261921376 (LWP 5758)]
[New Thread -1303442528 (LWP 5759)]
[New Thread -1311835232 (LWP 5760)]
[New Thread -1320227936 (LWP 5761)]
[New Thread -1338131552 (LWP 5762)]
[New Thread -1346524256 (LWP 5763)]
[Thread -1295049824 (LWP 5754) exited]
[Thread -1286657120 (LWP 5756) exited]
[Thread -1328620640 (LWP 5755) exited]
[Thread -1278264416 (LWP 5757) exited]
[Thread -1261921376 (LWP 5758) exited]
[Thread -1303442528 (LWP 5759) exited]
[Thread -1311835232 (LWP 5760) exited]
[Thread -1320227936 (LWP 5761) exited]
[Thread -1338131552 (LWP 5762) exited]
[Thread -1346524256 (LWP 5763) exited]
[New Thread -1346524256 (LWP 5768)]
[New Thread -1303442528 (LWP 57...

Revision history for this message
Sebastien Bacher (seb128) wrote :

The comment about the format was useful. It happens when no profile is selected. I've forwarded the issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=364666

Changed in sound-juicer:
importance: Undecided → Low
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

About the format to pick, what is the value of the gconf key /system/gstreamer/0.10/audio/global/profile_list (you can get it with "gconftool-2 -g /system/gstreamer/0.10/audio/global/profile_list" or gconf-editor)?

Revision history for this message
Thorbjørn Møller Pedersen (thorbjorn-pedersen) wrote : Re: [Bug 67621] Re: crashes when ripping cd with no profile selected

Hi!
The gconf key:
dude@oban:~$ gconftool-2 -g /system/gstreamer/0.10/audio/global/profile_list
[test,Enkelte@32@numre]

I think it is strange that I cannot select any format at all. Do you
have any suggestions (missing packages etc.) ? Should I perhaps
install (old) gstreamer-0,8
modules?

2006/10/24, Sebastien Bacher <email address hidden>:
> About the format to pick, what is the value of the gconf key
> /system/gstreamer/0.10/audio/global/profile_list (you can get it with
> "gconftool-2 -g /system/gstreamer/0.10/audio/global/profile_list" or
> gconf-editor)?
>
> --
> crashes when ripping cd with no profile selected
> https://launchpad.net/bugs/67621
>

--
The theory of groups is a branch of mathematics in which one does
something to something and then compares the results with the result
of doing the same thing to something else, or something else to the
same thing.
                                         James Newman

Changed in sound-juicer:
status: Unknown → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

No need to install a gstreamer0.8 packages, the Ubuntu desktop uses gstreamer 0.10 since dapper. Do you have those profiles listed by gconf: /system/gstreamer/0.10/audio/profiles/test and /system/gstreamer/0.10/audio/profiles/Enkelte@32@numre. You might want to reset /system/gstreamer/0.10/audio/global/profile_list to the default list with gconf editor to have standard profiles listed again

Revision history for this message
Thorbjørn Møller Pedersen (thorbjorn-pedersen) wrote :

Hey! It works now. Resetting
/system/gstreamer/0.10/audio/global/profile helped. Thanks a lot.

2006/10/25, Sebastien Bacher <email address hidden>:
> No need to install a gstreamer0.8 packages, the Ubuntu desktop uses
> gstreamer 0.10 since dapper. Do you have those profiles listed by gconf:
> /system/gstreamer/0.10/audio/profiles/test and
> /system/gstreamer/0.10/audio/profiles/Enkelte@32@numre. You might want
> to reset /system/gstreamer/0.10/audio/global/profile_list to the default
> list with gconf editor to have standard profiles listed again
>
> --
> crashes when ripping cd with no profile selected
> https://launchpad.net/bugs/67621
>

--
The theory of groups is a branch of mathematics in which one does
something to something and then compares the results with the result
of doing the same thing to something else, or something else to the
same thing.
                                         James Newman

Revision history for this message
Andrew Montgomery-Hurrell (darkliquid) wrote :

I don't seem to be able to reset the values in /system/gstreamer/0.10/audio

They remain entirely blank and to not revert to defaults.

I ran this:

gconftool-2 -R /system/gstreamer/0.10/audio

and it returns this:

/system/gstreamer/0.10/audio/profiles:
  /system/gstreamer/0.10/audio/profiles/voicelossless:
  /system/gstreamer/0.10/audio/profiles/cdlossless:
  /system/gstreamer/0.10/audio/profiles/cdlossy:
  /system/gstreamer/0.10/audio/profiles/voicelossy:
 /system/gstreamer/0.10/audio/global:

Sound-juicer always insists it has no profiles - even if I add one manually. The manual one gets listed, but the error still occurs. Selecting the manual encoding and then trying to extract the cd still results in a segfault.

Where are the 'defaults' for profile_list you mention? And how do I restore them?

Revision history for this message
Thorbjørn Møller Pedersen (thorbjorn-pedersen) wrote :

I simply run gconf-editor. In the gconf-editor I select
/system/gstreamer/0.10/audio/global/ , right-click on profile_list,
and then choose the "reset key" in the menu. That worked for me.

2006/11/24, Andrew Montgomery <email address hidden>:
> I don't seem to be able to reset the values in
> /system/gstreamer/0.10/audio
>
> They remain entirely blank and to not revert to defaults.
>
> I ran this:
>
> gconftool-2 -R /system/gstreamer/0.10/audio
>
> and it returns this:
>
> /system/gstreamer/0.10/audio/profiles:
> /system/gstreamer/0.10/audio/profiles/voicelossless:
> /system/gstreamer/0.10/audio/profiles/cdlossless:
> /system/gstreamer/0.10/audio/profiles/cdlossy:
> /system/gstreamer/0.10/audio/profiles/voicelossy:
> /system/gstreamer/0.10/audio/global:
>
> Sound-juicer always insists it has no profiles - even if I add one
> manually. The manual one gets listed, but the error still occurs.
> Selecting the manual encoding and then trying to extract the cd still
> results in a segfault.
>
> Where are the 'defaults' for profile_list you mention? And how do I
> restore them?
>
> --
> crashes when ripping cd with no profile selected
> https://launchpad.net/bugs/67621
>

--
The theory of groups is a branch of mathematics in which one does
something to something and then compares the results with the result
of doing the same thing to something else, or something else to the
same thing.
                                         James Newman

Revision history for this message
Andrew Montgomery-Hurrell (darkliquid) wrote :

I don't seem to have a profile_list key to right click on.

Clicking on /system/gstreamer/0.10/audio/global/ shows me an empty pane.

The pane is also empty for:
/system/gstreamer/0.10/audio/profiles/voicelossless
/system/gstreamer/0.10/audio/profiles/cdlossless
/system/gstreamer/0.10/audio/profiles/cdlossy
/system/gstreamer/0.10/audio/profiles/voicelossy

In fact, right clicking anything in the gconf-editor doesnt bring up a 'reset key' option, just an 'unset key' one.

Sound-juicer still currently does not work for me.

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [Bug 67621] Re: crashes when ripping cd with no profile selected

Le samedi 25 novembre 2006 à 11:41 +0000, Andrew Montgomery a écrit :

> Sound-juicer still currently does not work for me.

"sudo apt-get install --reinstall sound-juicer" maybe?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Le samedi 25 novembre 2006 à 11:41 +0000, Andrew Montgomery a écrit :

> Sound-juicer still currently does not work for me.

rather "sudo apt-get install --reinstall gnome-media-common", that's the
package shipping the schemas for that

Revision history for this message
Kirk Turner (gameldar) wrote :

>In fact, right clicking anything in the gconf-editor doesnt bring up a 'reset key' option, just an 'unset key' one.

To reset to defaults try using the 'unset key' option. I could then add in my own profiles to the list and go forward from there.

Revision history for this message
C.J. Collier (cjcollier) wrote :

Same here. We need to let the user know how to set up a profile. There needs to be a default one.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in sound-juicer:
status: Confirmed → Fix Committed
Changed in sound-juicer:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sound-juicer - 2.23.0-0ubuntu1

---------------
sound-juicer (2.23.0-0ubuntu1) intrepid; urgency=low

  * New upstream release (LP: #237648)
    - Port to GIO
    - Fix crash when profile is selected (LP: #67621)
    - Fix display problems with the cluebar (LP #194079)
  * debian/control.in:
    - Bump up build-dep on intltool (>= 0.40)
    - Bump up build-dep on libglib2.0-dev (>= 2.16)
    - Bump up build-dep on libgtk2.0-dev (>= 2.12)
    - Unversion scrollkeeper because of rarian-compat
    - Removed Build-dep and Dep on gnomevfs stuff
  * debian/patches/01_lpi.patch, debian/patches/02_autoconf.patch:
   - Refresh for the new release
  * debian/menu:
    - Apps->Applications

 -- Pedro Fragoso <email address hidden> Thu, 05 Jun 2008 12:51:06 +0100

Changed in sound-juicer:
status: Fix Committed → Fix Released
Changed in sound-juicer:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.