Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59371 - easytag 0.31_gtk2.4_pre0 crashes VERY often.
Summary: easytag 0.31_gtk2.4_pre0 crashes VERY often.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 03:55 UTC by Alexander Jenisch
Modified: 2004-08-21 00:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2004-08-04 03:55:38 UTC
this version seems to be the most unstable of all i tried until now. it will segfault on all kinds of events. saving the total number of tracks e.g. or renaming too many files at once. there are quite some more events i encountered crashes. this makes the program virtually unusably. i'll switch back to gtk-1.2. i've made a bt with gdb so you can see what's happening:

Scan Error: can't find separator ' - ' within '02 effusion of strength-dqm'
Scanner: Invalid code '%-' found!
New file name successfully scanned...(01 - Conjuring The Thoughts.mp3)
New file name successfully scanned...(02 - Effusion Of Strength.mp3)
New file name successfully scanned...(03 - Shivering Shade.mp3)
New file name successfully scanned...(04 - Cursed By Belief.mp3)
New file name successfully scanned...(05 - Awake.mp3)
New file name successfully scanned...(06 - Void Of Hope.mp3)
New file name successfully scanned...(07 - A Dead Mans Race.mp3)
New file name successfully scanned...(08 - Shadow Creator.mp3)
New file name successfully scanned...(09 - Tranquillitys Maze.mp3)
Selected files tagged with track like 'xx/09'.

Program received signal SIGSEGV, Segmentation fault.
0x404d1ae3 in mallopt () from /lib/libc.so.6
(gdb) bt
#0  0x404d1ae3 in mallopt () from /lib/libc.so.6
#1  0x404d134e in mallopt () from /lib/libc.so.6
#2  0x404d0521 in malloc () from /lib/libc.so.6
#3  0x4040d412 in g_malloc () from /usr/lib/libglib-2.0.so.0
#4  0x403a4490 in pango_direction_get_type () from /usr/lib/libpango-1.0.so.0
#5  0x403a4ba4 in pango_log2vis_get_embedding_levels ()
   from /usr/lib/libpango-1.0.so.0
#6  0x403987d6 in pango_context_get_base_dir () from /usr/lib/libpango-1.0.so.0
#7  0x40399111 in pango_itemize_with_base_dir ()
   from /usr/lib/libpango-1.0.so.0
#8  0x4039e82d in no_shape_filter_func () from /usr/lib/libpango-1.0.so.0
#9  0x4039c19e in pango_layout_get_lines () from /usr/lib/libpango-1.0.so.0
#10 0x4012f740 in gtk_entry_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x4012f831 in gtk_entry_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x4012db8f in gtk_entry_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x40176f6c in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x403bfa5b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#15 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x403ce126 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#17 0x403cd690 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0x403cd84d in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x4022e27d in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#20 0x40175064 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x402fad32 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#22 0x402fadfc in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#23 0x40119398 in gtk_container_set_reallocate_redraws ()
   from /usr/lib/libgtk-x11-2.0.so.0
#24 0x4040af9a in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#25 0x404089d4 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#26 0x4040965c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x40409957 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x40409aa3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x40174ca8 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x080612a5 in Statusbar_Message ()
#31 0x080746d6 in ET_Display_File_Data_To_UI ()
#32 0x0806f826 in Save_List_Of_Files ()
#33 0x0806f6dd in Save_Selected_Files_With_Answer ()
#34 0x403ce611 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#35 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#36 0x403cdfbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#37 0x403cd630 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#38 0x403cd84d in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#39 0x400e7a02 in _gtk_action_emit_activate ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
#40 0x400e7a99 in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x403ce611 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#42 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#43 0x403cdfbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#44 0x403cd630 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#45 0x403cd974 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#46 0x401f5aae in gtk_tool_button_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#47 0x403ce611 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#48 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#49 0x403cdfbf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#50 0x403cd630 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#51 0x403cd84d in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#52 0x400f06d6 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x400f1277 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#54 0x403ce611 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#55 0x403bfa5b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#56 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#57 0x403cdd28 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#58 0x403cd630 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#59 0x403cd84d in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#60 0x400f065a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#61 0x400f1165 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#62 0x40176f6c in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#63 0x403bfa5b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#64 0x403bf856 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#65 0x403ce126 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#66 0x403cd690 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#67 0x403cd84d in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#68 0x4022e27d in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#69 0x40175e3b in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#70 0x401750a5 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#71 0x40308cda in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#72 0x404089d4 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#73 0x4040965c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#74 0x40409957 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#75 0x40409e6e in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#76 0x40174af8 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#77 0x0806cd43 in main ()
Comment 1 Alexander Jenisch 2004-08-04 04:09:06 UTC
there's definitly something wrong with the "total track number" field. it crashes almost all the time, if i try to change that one.
Comment 2 Joël 2004-08-09 02:50:03 UTC
Same here.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-08-10 12:11:59 UTC
Thanks for the report. Unfortunately this isn't too easy to track down.

The issue is probably that we are accidently freeing some memory that we shouldn't be. This is known as "undefined behaviour" as the actual consequences of this (probably) won't take effect immediately. So, even though it crashed while renaming a file, the rename routine is probably fine.

I'll investigate the "total track number" field problem, and play more myself. If I'm not confident that I've fixed the main problem here, then I'll post instructions how you can run it through a memory debugger.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-08-10 14:41:33 UTC
Please try 0.31-r3 ... the total track number bug is definately fixed, see if you experience any other crashes still. Thanks.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2004-08-18 00:46:50 UTC
Bump...any more crash reports?
Comment 6 Alexander Jenisch 2004-08-20 14:53:25 UTC
seems to work fine atm. if there's another issue, i'll write a new bug report. you can close this one.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2004-08-21 00:23:18 UTC
Good to hear.. I'm a little busy right now but I haven't forgotten about your charset issues either. Thanks.