Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70754 - easytag-1.0 segfaults on amd64
Summary: easytag-1.0 segfaults on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://dev.gentoo.org/~eradicator/the...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 01:12 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-01-01 17:29 UTC (History)
1 user (show)

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


Attachments
possible fix (patch,433 bytes, patch)
2004-12-28 17:01 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-11 01:12:49 UTC
Sorry dsd, no can stable... here's some info for you, though:

/usr/tmp/portage/easytag-1.0/work $ gdb easytag 
GNU gdb 6.2.1
Copyright 2004 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 "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/easytag 
Starting EasyTAG 1.0 ...
Currently using id3lib version 3.8.3 ...
Loading default 'Fill Tag' masks...
Loading default 'Rename File' masks...
Warning : The Ogg Vorbis file '/home/jeremy/gentoo/sounds/02 Wild Child.ogg' contains an ID3v2 tag.

Program received signal SIGSEGV, Segmentation fault.
0x00000000004747da in monkey_stringify (profile=0) at info_mac.c:67
67          return (profile2 >= sizeof (Names) / sizeof (*Names)) ? na : Names[(profile2-1)];
(gdb) print profile2
$1 = 0
(gdb) print Names
$2 = {0x49fe04 "Fast", 0x49fe09 "Normal", 0x49fe10 "High", 
  0x49fe15 "Extra-High", 0x49fe20 "Insane"}
(gdb) print na
$3 = "unknown"
(gdb) bt
#0  0x00000000004747da in monkey_stringify (profile=0) at info_mac.c:67
#1  0x0000000000474b51 in info_mac_read (
    fn=0x889140 "/home/jeremy/gentoo/sounds/Final Fantasy 7 - Aerith's Theme.ape", Info=0x7fbfffcde0) at info_mac.c:135
#2  0x000000000044df99 in Mac_Header_Read_File_Info (
    filename=0x889140 "/home/jeremy/gentoo/sounds/Final Fantasy 7 - Aerith's Theme.ape", ETFileInfo=0x8740c0) at monkeyaudio_header.c:50
#3  0x000000000043c1e2 in ET_Add_File_To_File_List (
    filename=0x889140 "/home/jeremy/gentoo/sounds/Final Fantasy 7 - Aerith's Theme.ape") at et_core.c:478
#4  0x0000000000439001 in Read_Directory (
    path=0x87ff00 "/home/jeremy/gentoo/sounds/") at easytag.c:2034
#5  0x000000000041f214 in Browser_Tree_Node_Selected (tree=0x7e9640, 
    node=0x8710c8, column=0, data=0x0) at browser.c:594
#6  0x0000002a9574e633 in gtk_signal_connect_while_alive ()
   from /usr/lib64/libgtk-1.2.so.0
#7  0x0000002a9574f2c7 in gtk_signal_emit_stop_by_name ()
   from /usr/lib64/libgtk-1.2.so.0
#8  0x0000002a957502bb in gtk_signal_emit () from /usr/lib64/libgtk-1.2.so.0
#9  0x0000002a9574f374 in gtk_signal_emit_stop_by_name ()
   from /usr/lib64/libgtk-1.2.so.0
#10 0x0000002a957502bb in gtk_signal_emit () from /usr/lib64/libgtk-1.2.so.0
#11 0x0000002a956c65db in gtk_clist_undo_selection ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib64/libgtk-1.2.so.0
#12 0x0000002a956ceaa6 in gtk_clist_set_selectable ()
   from /usr/lib64/libgtk-1.2.so.0
#13 0x0000002a9571d72e in gtk_marshal_BOOL__POINTER ()
   from /usr/lib64/libgtk-1.2.so.0
#14 0x0000002a9574f3c2 in gtk_signal_emit_stop_by_name ()
   from /usr/lib64/libgtk-1.2.so.0
#15 0x0000002a957502bb in gtk_signal_emit () from /usr/lib64/libgtk-1.2.so.0
#16 0x0000002a95789c2c in gtk_widget_event () from /usr/lib64/libgtk-1.2.so.0
#17 0x0000002a9571d0f3 in gtk_propagate_event ()
   from /usr/lib64/libgtk-1.2.so.0
#18 0x0000002a9571d3ef in gtk_main_do_event () from /usr/lib64/libgtk-1.2.so.0
#19 0x0000002a95aca8e2 in gdk_event_get () from /usr/lib64/libgdk-1.2.so.0
#20 0x0000002a95d03c82 in g_get_current_time ()
   from /usr/lib64/libglib-1.2.so.0
#21 0x0000002a95d04886 in g_main_add_poll () from /usr/lib64/libglib-1.2.so.0
#22 0x0000002a95d049bf in g_main_run () from /usr/lib64/libglib-1.2.so.0
#23 0x0000002a9571c88e in gtk_main () from /usr/lib64/libgtk-1.2.so.0
#24 0x0000000000433171 in main (argc=1, argv=0x7fbfffe7e8) at easytag.c:278

I uploaded Final Fantasy 7 - Aerith's Theme.ape to http://dev.gentoo.org/~eradicator/the.bad.ape
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-12-28 17:01:46 UTC
Created attachment 47070 [details, diff]
possible fix

Not getting the crash here but can almost certainly see why it is happening.
Does this help?
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-01-01 11:39:02 UTC
I'm 99% sure it does, 1.0-r1 is in portage. Thanks :)
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-01 17:29:30 UTC
oh sorry... forgot to check this... and yes, that fixes it.