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 339089 - sound-juicer crashes on %as-%at-%tN-%tt file pattern
sound-juicer crashes on %as-%at-%tN-%tt file pattern
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: interface
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
: 339355 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-19 21:47 UTC by Mario Vukelic
Modified: 2014-03-24 16:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Output of 'valgrind sound-juicer' (23.83 KB, text/plain)
2006-05-03 20:25 UTC, Kevin D. Knerr, Sr.
Details

Description Mario Vukelic 2006-04-19 21:47:34 UTC
X-Mailer: bug-buddy 2.14.0

Distribution: Ubuntu 6.06 (dapper)
Package: sound-juicer
Severity: Normal
Version: GNOME2.14.1 2.14.3
Gnome-Distributor: Ubuntu
Synopsis: sound-juicer crashes on file pattern %as-%at-%tN-%tt 
Bugzilla-Product: sound-juicer
Bugzilla-Component: general
Bugzilla-Version: 2.14.3
BugBuddy-GnomeVersion: 2.0 (2.14.1)
Description:
Description of the crash:
After setting the pattern in gconf-editor, sound-juicer crashes when
Edit -> Preferences is clicked


Steps to reproduce the crash:
1. Set %as-%at-%tN-%tt as file pattern in gconf-editor
2. Start sound-juicer
3. Choose Edit -> Preferences, watch it crash

Expected Results:
I can set the pattern since all codes are listed in the key
documentation in gconf-editor

How often does this happen?
Always



Debugging Information:

Backtrace was generated from '/usr/bin/sound-juicer'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(...)
[Thread debugging using libthread_db enabled]
[New Thread -1225843808 (LWP 27701)]
[New Thread -1240933456 (LWP 27703)]
(no debugging symbols found)
(...)
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225843808 (LWP 27701))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 g_utf8_validate
    from /usr/lib/libglib-2.0.so.0
  • #5 gconf_engine_set_string
    from /usr/lib/libgconf-2.so.4
  • #6 gconf_client_set_string
    from /usr/lib/libgconf-2.so.4
  • #7 prefs_file_option_changed
  • #8 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #13 gtk_combo_box_get_column_span_column
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_combo_box_set_active
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 prefs_edit_profile_clicked
  • #16 on_edit_preferences_cb
  • #17 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #36 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #37 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #38 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #39 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 main
  • #0 __kernel_vsyscall




------- Bug created by bug-buddy at 2006-04-19 21:47 -------


Unknown version 2.14.3 in product sound-juicer.  Setting version to "2.14.x".

Comment 1 Christian Kirbach 2006-04-20 11:06:51 UTC
this is actually gconf leading to a crash, reassigning

cannot reproduce with Gnome 2.14.1cvs


Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
please install the gconf and glib debugging packages
Comment 2 Mario Vukelic 2006-04-20 19:07:45 UTC
Hm, do you happen to know, which Debian/Ubuntu package contains the gconf dbg stuff? I can't find it http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=gconf&searchon=names&subword=1&version=dapper&release=all
Comment 3 Christian Kirbach 2006-04-21 08:40:38 UTC
gconf2-dbg ?
Comment 5 Fabio Bonelli 2006-04-22 07:13:18 UTC
*** Bug 339355 has been marked as a duplicate of this bug. ***
Comment 6 Kevin D. Knerr, Sr. 2006-04-22 13:42:15 UTC
Installed libglib2.0-0-dbg, had to rebuild libgconf2-4 manually to get debugging symbols.

Attached is the new backtrace. Please advise if additional debug packages are required. TIA!

Backtrace was generated from '/usr/bin/sound-juicer'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1225656640 (LWP 29523)]
[New Thread -1244955728 (LWP 29526)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1225656640 (LWP 29523))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 IA__g_utf8_validate
    at gutf8.c line 1561
  • #5 gconf_engine_set_string
    at gconf.c line 3382
  • #6 gconf_client_set_string
    at gconf-client.c line 1738
  • #7 prefs_file_option_changed
  • #8 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #9 IA__g_closure_invoke
    at gclosure.c line 490
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #11 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #12 IA__g_signal_emit
    at gsignal.c line 2241
  • #13 gtk_combo_box_get_column_span_column
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 gtk_combo_box_set_active
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 prefs_edit_profile_clicked
  • #16 on_edit_preferences_cb
  • #17 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #18 IA__g_closure_invoke
    at gclosure.c line 490
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #21 IA__g_signal_emit
    at gsignal.c line 2241
  • #22 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 g_type_class_meta_marshal
    at gclosure.c line 567
  • #28 IA__g_closure_invoke
    at gclosure.c line 490
  • #29 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #30 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #31 IA__g_signal_emit
    at gsignal.c line 2241
  • #32 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #36 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #37 g_main_context_iterate
    at gmain.c line 2547
  • #38 IA__g_main_loop_run
    at gmain.c line 2751
  • #39 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 main
  • #0 __kernel_vsyscall

Comment 7 Christian Kirbach 2006-05-02 15:44:23 UTC
I can see this as well with Ubuntu dapper

seems to happen with any gconf string
I am using UTF8 locale

report opened here:

https://launchpad.net/distros/ubuntu/+source/sound-juicer/+bug/42602
Comment 8 Sebastien Bacher 2006-05-02 19:34:24 UTC
Other Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/sound-juicer/+bug/38300

Christian, why did you reassign to gconf? 

"#5  0xb75d36df in gconf_engine_set_string (conf=0x8108cc8, 
    key=0x8060260 "/apps/sound-juicer/file_pattern", 
    val=0x203e62 <Address 0x203e62 out of bounds>, err=0xbf9a9680)
    at gconf.c:3382
  • #6 gconf_client_set_string
    at gconf-client.c line 1738
  • #7 prefs_file_option_changed

it looks like than prefs_file_option_changed () from sound-juicer uses an incorrect "val" parameter, which is a sound-juicer issue. Could anybody run sound-juicer with valgrind (apt-get install valgrind && valgrind sound-juicer), it makes it slow but might give useful informations on what happens to the "val" parameter
Comment 9 Kevin D. Knerr, Sr. 2006-05-03 20:25:12 UTC
Created attachment 64769 [details]
Output of 'valgrind sound-juicer'

Sound-juicer was launched without a CD in the drive. After the window appeared, Edit->Preferences was selected from the menu. Upon crashing, the "close" option was chosen.
Comment 10 Ross Burton 2006-08-21 15:22:21 UTC
Hm, I can't replicate this at all. :/

Can someone who can grab the source and start by printing the values of active and pattern in prefs_file_option_changed()?
Comment 11 Christian Kirbach 2006-08-23 22:03:38 UTC
not reproducable with pristine Gnome 2.16 cvs build
Comment 12 Ross Burton 2006-10-17 20:45:22 UTC
Can anyone replicate this with G2.16?
Comment 13 Sebastien Bacher 2006-10-17 22:33:16 UTC
The Ubuntu bug submitter wrote he didn't have the issue for some time on dapper and there is no new duplicate for the bug, I closed the Ubuntu bug as fixed
Comment 14 Christian Kirbach 2006-10-25 15:20:40 UTC
Not reproducable any more with Gnome 2.16/Unbuntu Edgy

Marking this FIXED.
Comment 15 Pedro Villavicencio 2008-03-19 12:19:20 UTC
It seems to be still an issue with sound-juicer 2.22: https://bugs.edge.launchpad.net/sound-juicer/+bug/198905 ; is there any other information we can provide? thanks in advance.
Comment 16 Ross Burton 2009-02-10 21:48:30 UTC
I think I just fixed this in svn, so it will be in 2.26.

Sorry it took so long!
Comment 17 Mario Vukelic 2009-02-10 22:37:22 UTC
(In reply to comment #16)
> Sorry it took so long!

Many thanks!