crash on extract (to sanitize_path when str has no value)

Bug #32943 reported by gebi
20
Affects Status Importance Assigned to Milestone
Sound Juicer
Expired
Medium
Ubuntu
Invalid
Medium
Unassigned
sound-juicer (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

due to the missing libcdda.so in gnome-vfs-2.0
sound juicer chrashes.
in .xsession-errors

libgnomevfs-WARNING **: Cannot load module `/usr/lib/gnome-vfs-2.0/modules/libcdda.so' (/usr/lib/gnome-vfs-2.0/modules/libcdda.so: cannot open shared object file: No such file or directory)

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

one task is enough

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

Thanks for your bug. The crash has nothing to do with the libcdda.so warning (which is bug #19383). What version of Ubuntu do you use? Could you get a backtrace of the crash (using bugb-buddy dialog to send the bug upstream or gdb)?

Changed in sound-juicer:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
gebi (gebi) wrote :

thx sorry - I'm a newbie
 I'm using dapper flight 4
Segmentation fault happen by pressing the extract button:

gebi@kepler:/etc/apt$ gdb sound-juicer
GNU gdb 6.4-debian
Copyright 2005 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) run
Starting program: /usr/bin/sound-juicer
[Thread debugging using libthread_db enabled]
[New Thread -1226668352 (LWP 25902)]
[New Thread -1235969104 (LWP 25905)]
[New Thread -1236767824 (LWP 25911)]
[Thread -1236767824 (LWP 25911) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226668352 (LWP 25902)]
sanitize_path (str=0x0) at sj-extracting.c:654
654 while (*str == '.')
(gdb) Quit
(gdb)

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

Thank you for working on that. After getting the crash and the "(gdb)" prompt could you enter "thread apply all bt", that will give you a backtrace (ie: the suite of functions used before the crash)

Revision history for this message
gebi (gebi) wrote :
Download full text (3.3 KiB)

thx here:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226438976 (LWP 25942)]
sanitize_path (str=0x0) at sj-extracting.c:654
654 while (*str == '.')
(gdb) thread apply all bt

Thread 2 (Thread -1235739728 (LWP 25945)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7237934 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb73e1658 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3 0xb73e1b28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4 0xb748170e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#5 0xb73fa4a2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#6 0xb72ad341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb724155e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1226438976 (LWP 25942)):
#0 sanitize_path (str=0x0) at sj-extracting.c:654
#1 0x0805c507 in filepath_parse_pattern (pattern=0x835acf0 "%as/%at", track=0x83b85d8) at sj-extracting.c:748
#2 0x0805c7cd in pop_and_extract () at sj-extracting.c:120
#3 0xb74c5663 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#4 0xb74b8798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5 0xb74c8715 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#6 0xb74ca238 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7 0xb74ca589 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8 0xb78a132f in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb78a2b6a in _gtk_button_set_depressed () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb74c5663 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#11 0xb74b8165 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#12 0xb74b8798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0xb74c8a6c in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#14 0xb74ca238 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0xb74ca589 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0xb78a12ac in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb78a221c in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb79624b0 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb74b8165 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#20 0xb74b8798 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#21 0xb74c8e6e in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#22 0xb74c9f94 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0xb74ca589 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0xb7a445cf in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb7960c2d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb796103b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7804c2c in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#28 0xb73de747 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb73e1806 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#30 0xb73e1b28 in g_main_loop_run () from /usr/lib/libglib-2.0....

Read more...

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

I've forwarded the issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=332638

It seems to chock on some path, do the CD, track, folder used have special names that could confuse it?

Changed in sound-juicer:
status: Needs Info → Unconfirmed
Changed in sound-juicer:
status: Unconfirmed → Needs Info
Revision history for this message
Daniel Holbach (dholbach) wrote :

Do you still have the problem with Dapper or Edgy?

Revision history for this message
Adrien Cunin (adri2000) wrote :

Bug #73956 is a duplicate of this one and the reporter is using edgy.

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

could you try if that's still an issue on recent ubuntu versions?

Changed in sound-juicer:
status: Confirmed → Triaged
status: Triaged → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

no recent duplicate or comment about similar issues, closing this bug, feel free to reopen if you still have the issue on hardy though

Changed in sound-juicer:
status: Incomplete → Invalid
Changed in sound-juicer:
status: New → Invalid
Changed in sound-juicer:
importance: Unknown → Medium
status: Invalid → Expired
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.