Summary: | eterm-0.9.3-r3 segfaults at startup after upgrade due to missing image | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wonko <wonko> |
Component: | Current packages | Assignee: | SpanKY <vapier> |
Status: | RESOLVED NEEDINFO | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Wonko
2005-05-07 07:56:00 UTC
please post your config file Here it is. <Eterm-0.9.1> # Eterm Configuration File # Automatically generated by Eterm-0.9.1 on 2003/01/11 at 04:56:37 begin color foreground #aaaaaa background black cursor #ffff00 cursor_text #880000 pointer white video normal color 0 #000000 color 1 #aa0000 color 2 #008800 color 3 #aa5522 color 4 #0000aa color 5 #aa00aa color 6 #00aaaa color 7 #aaaaaa color 8 #444444 color 9 #ff4444 color 10 #44ff44 color 11 #ffff44 color 12 #4444ff color 13 #ff44ff color 14 #44ffff color 15 #ffffff color bd #ffffff color ul #ffffff end color begin attributes title Eterm name Eterm iconname Eterm scrollbar_type motif scrollbar_width 10 font default 4 font proportional 0 font 0 5x7 font 1 6x10 font 2 fixed font 3 8x13 font 4 9x15 font 5 10x20 font 6 12x24 end attributes begin imageclasses path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:/usr/share/Eterm/pix/:/home/wonko:/usr/share/Eterm/themes/Eterm:/home/wonko/.Eterm/themes/Eterm:/home/wonko:/home/wonko/.Eterm/themes/Eterm:/home/wonko/.Eterm/themes/Eterm" begin image type background mode trans allow image trans viewport auto state normal file /usr/share/Eterm/pix/tile/atoms.jpg geom 0x0+0+0:tiled colormod image 0x80 0x100 0x100 end image begin image type up_arrow mode image allow image auto state normal color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_up_1.png geom 100x100+50+50 border 2 2 2 2 state selected color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_up_2.png geom 100x100+50+50 border 2 2 2 2 state clicked color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_up_3.png geom 100x100+50+50 border 2 2 2 2 end image begin image type down_arrow mode image allow image auto state normal color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_down_1.png geom 100x100+50+50 border 2 2 2 2 state selected color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_down_2.png geom 100x100+50+50 border 2 2 2 2 state clicked color 0x00000000 0x00666666 file /usr/share/Eterm/pix/button_arrow_down_3.png geom 100x100+50+50 border 2 2 2 2 end image begin image type left_arrow mode solid state normal color 0x00ffffff 0x00000000 geom 0x0+0+0 end image begin image type right_arrow mode solid state normal color 0x00ffffff 0x00000000 geom 0x0+0+0 end image begin image type trough mode trans allow image trans viewport auto state normal color 0x00000000 0x00666666 file /usr/share/Eterm/pix/bar_vertical_3.png geom 100x100+50+50 border 2 2 2 3 end image begin image type anchor mode image allow image auto state normal color 0x00000000 0x00666666 file /usr/share/Eterm/pix/bar_vertical_1.png geom 100x100+50+50 border 2 2 2 3 state selected color 0x00000000 0x00666666 file /usr/share/Eterm/pix/bar_vertical_2.png geom 100x100+50+50 border 2 2 2 3 state clicked color 0x00000000 0x00666666 file /usr/share/Eterm/pix/bar_vertical_2.png geom 100x100+50+50 border 2 2 2 3 end image begin image type thumb mode image allow image auto state normal color 0x00000000 0x00666666 file /usr/share/Eterm/pix/thumb_1.png geom 100x100+50+50 border 3 3 3 3 state selected color 0x00000000 0x00666666 file /usr/share/Eterm/pix/thumb_2.png geom 100x100+50+50 border 3 3 3 3 state clicked color 0x00000000 0x00666666 file /usr/share/Eterm/pix/thumb_2.png geom 100x100+50+50 border 3 3 3 3 end image begin image type menu mode image allow image auto state normal color 0x00000000 0x00999999 file /usr/share/Eterm/pix/bar_horizontal_1.png geom 100x100+50+50 border 2 3 2 3 state selected color 0x00000000 0x00999999 file /usr/share/Eterm/pix/bar_horizontal_2.png geom 100x100+50+50 border 2 3 2 3 state clicked color 0x00000000 0x00999999 file /usr/share/Eterm/pix/bar_horizontal_2.png geom 100x100+50+50 border 2 3 2 3 end image begin image type menuitem mode solid state normal color 0x00ffffff 0x00000000 geom 0x0+0+0 end image begin image type submenu mode image allow image auto state normal color 0x00000000 0x00999999 file /usr/share/Eterm/pix/menu1.png geom 100x100+50+50 border 3 15 3 3 padding 3 15 3 3 state selected color 0x00000000 0x00999999 file /usr/share/Eterm/pix/menu2.png geom 100x100+50+50 border 3 15 3 3 padding 3 15 3 3 state clicked color 0x00000000 0x00999999 file /usr/share/Eterm/pix/menu3.png geom 100x100+50+50 border 3 15 3 3 padding 3 15 3 3 end image begin image type button mode image allow image auto state normal color 0x00000000 0x00cccccc file /usr/share/Eterm/pix/bar_horizontal_1.png geom 100x100+50+50 border 2 3 2 2 state selected color 0x00000000 0x00cccccc file /usr/share/Eterm/pix/bar_horizontal_2.png geom 100x100+50+50 border 2 3 2 2 state clicked color 0x00000000 0x00cccccc file /usr/share/Eterm/pix/bar_horizontal_3.png geom 100x100+50+50 border 2 3 2 2 end image begin image type button_bar mode image allow image auto state normal color 0x00000000 0x00999999 file /usr/share/Eterm/pix/bar_horizontal_1.png geom 100x100+50+50 border 2 3 2 2 state disabled color 0x00ffffff 0x00333333 file /usr/share/Eterm/pix/bar_horizontal_1.png geom 100x100+50+50 colormod image 0xc0 0x100 0x100 border 2 3 2 2 end image begin image type grab_bar mode solid state normal color 0x00ffffff 0x00000000 geom 0x0+0+0 end image begin image type dialog_box mode solid state normal color 0x00ffffff 0x00000000 geom 0x0+0+0 end image end imageclasses begin menu title "Font" begin menuitem text "Normal" action string '^[]50;#^G' end begin menuitem text "Larger" action string '^[]50;#+^G' end begin menuitem text "Smaller" action string '^[]50;#-^G' end - begin menuitem text "Font 1" action string '^[]50;#1^G' end begin menuitem text "Font 2" action string '^[]50;#2^G' end begin menuitem text "Font 3" action string '^[]50;#3^G' end begin menuitem text "Font 4" action string '^[]50;#4^G' end end menu begin menu title "Toggles" begin menuitem text "Cursor Visible" action string '^[[?25t' end begin menuitem text "Home on Output" action string '^[[?1010t' end begin menuitem text "Home on Input" action string '^[[?1012t' end begin menuitem text "Map Alert" action string '^[]6;21^G' end begin menuitem text "Primary/Secondary Screen" action string '^[[?47t' end begin menuitem text "Reverse Video" action string '^[[?5t' end begin menuitem text "Select Trailing Spaces" action string '^[]6;25^G' end begin menuitem text "Select Whole Line on Triple-click" action string '^[]6;23^G' end begin menuitem text "Visual Bell" action string '^[]6;20^G' end begin menuitem text "X11 Mouse Reporting" action string '^[[?1000t' end begin menuitem text "Xterm Selection Behavior" action string '^[]6;22^G' end end menu begin menu title "Keys" begin menuitem text "Application Arrow Keys" action string '^[[?1t' end begin menuitem text "Application Keypad" action string '^[[?66t' end begin menuitem text "Backspace/Delete" action string '^[[?67t' end begin menuitem text "Xterm Shift-Keys" action string '^[[?35t' end end menu begin menu title "Scrollbar" begin menuitem text "Toggle Visibility" rtext "Ctrl-Button2" action string '^[[?30t' end begin menuitem text "Swap Sides" action string '^[]6;11^G' end begin menuitem text "Toggle Floating" action string '^[]6;12^G' end begin menuitem text "Toggle Popup Mode" action string '^[]6;13^G' end - begin menuitem text "Motif (Traditional) Style" action string '^[]6;10;motif;;^G' end begin menuitem text "NeXT Style" action string '^[]6;10;next;;^G' end begin menuitem text "Xterm Style" action string '^[]6;10;xterm;;^G' end end menu begin menu title "Width" begin menuitem text "5" action string '^[]6;10;;5;^G' end begin menuitem text "6" action string '^[]6;10;;6;^G' end begin menuitem text "7" action string '^[]6;10;;7;^G' end begin menuitem text "8" action string '^[]6;10;;8;^G' end begin menuitem text "9" action string '^[]6;10;;9;^G' end begin menuitem text "10" action string '^[]6;10;;10;^G' end begin menuitem text "11" action string '^[]6;10;;11;^G' end begin menuitem text "12" action string '^[]6;10;;12;^G' end begin menuitem text "13" action string '^[]6;10;;13;^G' end begin menuitem text "14" action string '^[]6;10;;14;^G' end begin menuitem text "15" action string '^[]6;10;;15;^G' end begin menuitem text "16" action string '^[]6;10;;16;^G' end begin menuitem text "17" action string '^[]6;10;;17;^G' end begin menuitem text "18" action string '^[]6;10;;18;^G' end begin menuitem text "19" action string '^[]6;10;;19;^G' end begin menuitem text "20" action string '^[]6;10;;20;^G' end end menu begin menu title "Move to Desktop" begin menuitem text "0" action string '^[]6;50;0;^G' end begin menuitem text "1" action string '^[]6;50;1;^G' end begin menuitem text "2" action string '^[]6;50;2;^G' end begin menuitem text "3" action string '^[]6;50;3;^G' end begin menuitem text "4" action string '^[]6;50;4;^G' end begin menuitem text "5" action string '^[]6;50;5;^G' end begin menuitem text "6" action string '^[]6;50;6;^G' end begin menuitem text "7" action string '^[]6;50;7;^G' end end menu begin menu title "Terminal" begin menuitem text "Toggles" action submenu "Toggles" end begin menuitem text "Keys" action submenu "Keys" end begin menuitem text "Scrollbar" action submenu "Scrollbar" end begin menuitem text "Move to Desktop" action submenu "Move to Desktop" end - begin menuitem text "Steal Focus" rtext "Ctrl-Button1" action string '^[]5;^G' end begin menuitem text "Full Reset" action string '^[c' end end menu begin menu title "Tiled" begin menuitem text "70s Marble" action string '^[]20;tile/70s_marble.jpg;0x0+0+0:tile^G' end begin menuitem text "Atoms" action string '^[]20;tile/atoms.jpg;0x0+0+0:tile^G' end begin menuitem text "Black Stone" action string '^[]20;tile/blackstone.jpg;0x0+0+0:tile^G' end begin menuitem text "Blue Ether" action string '^[]20;tile/ether_blue.jpg;0x0+0+0:tile^G' end begin menuitem text "Blue Marble" action string '^[]20;tile/blue_marble.jpg;0x0+0+0:tile^G' end begin menuitem text "Bubbly 1" action string '^[]20;tile/bubbly1.jpg;0x0+0+0:tile^G' end begin menuitem text "Bubbly 2" action string '^[]20;tile/bubbly2.jpg;0x0+0+0:tile^G' end begin menuitem text "Bubbly 3" action string '^[]20;tile/bubbly3.jpg;0x0+0+0:tile^G' end begin menuitem text "Bubbly 4" action string '^[]20;tile/bubbly4.jpg;0x0+0+0:tile^G' end begin menuitem text "Circuit" action string '^[]20;tile/circuit.jpg;0x0+0+0:tile^G' end begin menuitem text "Confusion" action string '^[]20;tile/confusion.jpg;0x0+0+0:tile^G' end begin menuitem text "Cyber Playground" action string '^[]20;tile/cyber_bg.jpg;0x0+0+0:tile^G' end begin menuitem text "Dimples" action string '^[]20;tile/014.jpg;0x0+0+0:tile^G' end begin menuitem text "Dirt" action string '^[]20;tile/dirt.jpg;0x0+0+0:tile^G' end begin menuitem text "Egg" action string '^[]20;tile/egg.jpg;0x0+0+0:tile^G' end begin menuitem text "Ether" action string '^[]20;tile/ether.jpg;0x0+0+0:tile^G' end begin menuitem text "Giger 1" action string '^[]20;tile/giger1.jpg;0x0+0+0:tile^G' end begin menuitem text "Giger 2" action string '^[]20;tile/giger2.jpg;0x0+0+0:tile^G' end begin menuitem text "Gray Matter" action string '^[]20;tile/22.jpg;0x0+0+0:tile^G' end begin menuitem text "Gray Waves" action string '^[]20;tile/59.jpg;0x0+0+0:tile^G' end begin menuitem text "Green Ether" action string '^[]20;tile/ether_green.jpg;0x0+0+0:tile^G' end begin menuitem text "Lava" action string '^[]20;tile/004.jpg;0x0+0+0:tile^G' end begin menuitem text "Nebula" action string '^[]20;tile/nebula.jpg;0x0+0+0:tile^G' end begin menuitem text "On Stage" action string '^[]20;tile/lightb1.jpg;0x0+0+0:tile^G' end begin menuitem text "Purple Stuff" action string '^[]20;tile/purple_stuff.jpg;0x0+0+0:tile^G' end begin menuitem text "Red Whisper" action string '^[]20;tile/40.jpg;0x0+0+0:tile^G' end begin menuitem text "Shale" action string '^[]20;tile/shale.jpg;0x0+0+0:tile^G' end begin menuitem text "Soft Marble" action string '^[]20;tile/soft.jpg;0x0+0+0:tile^G' end begin menuitem text "Space" action string '^[]20;tile/space.png;0x0+0+0:tile^G' end begin menuitem text "Starry Night" action string '^[]20;tile/starry.jpg;0x0+0+0:tile^G' end begin menuitem text "Steel" action string '^[]20;tile/steel1.jpg;0x0+0+0:tile^G' end begin menuitem text "Twisted" action string '^[]20;tile/twisted.jpg;0x0+0+0:tile^G' end begin menuitem text "Whirlpool" action string '^[]20;tile/015.jpg;0x0+0+0:tile^G' end end menu begin menu title "Scaled" begin menuitem text "Day/Night" action string '^[]20;scale/day-night.jpg;100x100+50+50^G' end begin menuitem text "Good Morning" action string '^[]20;scale/good-morning.jpg;100x100+50+50^G' end begin menuitem text "Neopolis" action string '^[]20;scale/Neopolis-horizon.jpg;100x100+50+50^G' end begin menuitem text "Pond" action string '^[]20;scale/pond.jpg;100x100+50+50^G' end begin menuitem text "Ripple" action string '^[]20;scale/ripple.jpg;100x100+50+50^G' end begin menuitem text "Sunset" action string '^[]20;scale/sunset.jpg;100x100+50+50^G' end begin menuitem text "Wasteland" action string '^[]20;scale/wasteland.jpg;100x100+50+50^G' end begin menuitem text "Winter Tree" action string '^[]20;scale/wintertree.jpg;100x100+50+50^G' end end menu begin menu title "Attrib" begin menuitem text "Full Size" action string '^[]20;;100x100^G' end begin menuitem text "Normal Size" action string '^[]20;;0x0^G' end - begin menuitem text "Tiled" action string '^[]20;;:tile^G' end begin menuitem text "Scaled" action string '^[]20;;100x100^G' end begin menuitem text "Proportional Scale" action string '^[]20;;100x100:propscale^G' end - begin menuitem text "Center" action string '^[]20;;=+50+50^G' end begin menuitem text "Top Left Corner" action string '^[]20;;=+0+0^G' end begin menuitem text "Bottom Right Corner" action string '^[]20;;=+100+100^G' end end menu begin menu title "Pixmap" begin menuitem text "None" action string '^[[m^[]20;;^G' end begin menuitem text "Toggle Viewport Mode" action string '^[]6;24^G' end begin menuitem text "Tiled" action submenu "Tiled" end begin menuitem text "Scaled" action submenu "Scaled" end - begin menuitem text "Attrib" action submenu "Attrib" end end menu begin menu title "Brightness" begin menuitem text "512 (200)" action string '^[]6;1;image;brightness;512^G' end begin menuitem text "480 (188)" action string '^[]6;1;image;brightness;480^G' end begin menuitem text "448 (175)" action string '^[]6;1;image;brightness;448^G' end begin menuitem text "416 (163)" action string '^[]6;1;image;brightness;416^G' end begin menuitem text "384 (150)" action string '^[]6;1;image;brightness;384^G' end begin menuitem text "352 (138)" action string '^[]6;1;image;brightness;352^G' end begin menuitem text "320 (125)" action string '^[]6;1;image;brightness;320^G' end begin menuitem text "288 (113)" action string '^[]6;1;image;brightness;288^G' end begin menuitem text "256 (100)" action string '^[]6;1;image;brightness;256^G' end begin menuitem text "224 (88)" action string '^[]6;1;image;brightness;224^G' end begin menuitem text "192 (75)" action string '^[]6;1;image;brightness;192^G' end begin menuitem text "160 (63)" action string '^[]6;1;image;brightness;160^G' end begin menuitem text "128 (50)" action string '^[]6;1;image;brightness;128^G' end begin menuitem text "96 (38)" action string '^[]6;1;image;brightness;96^G' end begin menuitem text "64 (25)" action string '^[]6;1;image;brightness;64^G' end begin menuitem text "32 (13)" action string '^[]6;1;image;brightness;32^G' end begin menuitem text "0 (0)" action string '^[]6;1;image;brightness;0^G' end end menu begin menu title "Contrast" begin menuitem text "512 (200)" action string '^[]6;1;image;contrast;512^G' end begin menuitem text "480 (188)" action string '^[]6;1;image;contrast;480^G' end begin menuitem text "448 (175)" action string '^[]6;1;image;contrast;448^G' end begin menuitem text "416 (163)" action string '^[]6;1;image;contrast;416^G' end begin menuitem text "384 (150)" action string '^[]6;1;image;contrast;384^G' end begin menuitem text "352 (138)" action string '^[]6;1;image;contrast;352^G' end begin menuitem text "320 (125)" action string '^[]6;1;image;contrast;320^G' end begin menuitem text "288 (113)" action string '^[]6;1;image;contrast;288^G' end begin menuitem text "256 (100)" action string '^[]6;1;image;contrast;256^G' end begin menuitem text "224 (88)" action string '^[]6;1;image;contrast;224^G' end begin menuitem text "192 (75)" action string '^[]6;1;image;contrast;192^G' end begin menuitem text "160 (63)" action string '^[]6;1;image;contrast;160^G' end begin menuitem text "128 (50)" action string '^[]6;1;image;contrast;128^G' end begin menuitem text "96 (38)" action string '^[]6;1;image;contrast;96^G' end begin menuitem text "64 (25)" action string '^[]6;1;image;contrast;64^G' end begin menuitem text "32 (13)" action string '^[]6;1;image;contrast;32^G' end begin menuitem text "0 (0)" action string '^[]6;1;image;contrast;0^G' end end menu begin menu title "Gamma" begin menuitem text "512 (200)" action string '^[]6;1;image;gamma;512^G' end begin menuitem text "480 (188)" action string '^[]6;1;image;gamma;480^G' end begin menuitem text "448 (175)" action string '^[]6;1;image;gamma;448^G' end begin menuitem text "416 (163)" action string '^[]6;1;image;gamma;416^G' end begin menuitem text "384 (150)" action string '^[]6;1;image;gamma;384^G' end begin menuitem text "352 (138)" action string '^[]6;1;image;gamma;352^G' end begin menuitem text "320 (125)" action string '^[]6;1;image;gamma;320^G' end begin menuitem text "288 (113)" action string '^[]6;1;image;gamma;288^G' end begin menuitem text "256 (100)" action string '^[]6;1;image;gamma;256^G' end begin menuitem text "224 (88)" action string '^[]6;1;image;gamma;224^G' end begin menuitem text "192 (75)" action string '^[]6;1;image;gamma;192^G' end begin menuitem text "160 (63)" action string '^[]6;1;image;gamma;160^G' end begin menuitem text "128 (50)" action string '^[]6;1;image;gamma;128^G' end begin menuitem text "96 (38)" action string '^[]6;1;image;gamma;96^G' end begin menuitem text "64 (25)" action string '^[]6;1;image;gamma;64^G' end begin menuitem text "32 (13)" action string '^[]6;1;image;gamma;32^G' end begin menuitem text "0 (0)" action string '^[]6;1;image;gamma;0^G' end end menu begin menu title "Background" begin menuitem text "Toggle Transparency" action string '^[]6;0^G' end begin menuitem text "Pixmap" action submenu "Pixmap" end begin menuitem text "Brightness" action submenu "Brightness" end begin menuitem text "Contrast" action submenu "Contrast" end begin menuitem text "Gamma" action submenu "Gamma" end end menu begin menu title "Eterm" begin menuitem text "Font" action submenu "Font" end begin menuitem text "Background" action submenu "Background" end begin menuitem text "Terminal" action submenu "Terminal" end - begin menuitem text "New Eterm Window" action script 'spawn(Eterm)' end begin menuitem text "Version" action string '^[[8n' end begin menuitem text "Status" action string '^[[9n' end - begin menuitem text "Save User Settings..." action script 'save' end begin menuitem text "Save Theme Settings..." action script 'save(theme)' end begin menuitem text "Exit" action script 'exit' end end menu begin menu title "Eterm Operations" begin menuitem text "New Eterm Window" action script 'spawn(Eterm)' end begin menuitem text "Version" action string '^[[8n' end begin menuitem text "Status" action string '^[[9n' end - begin menuitem text "Save User Settings..." action script 'save' end begin menuitem text "Save Theme Settings..." action script 'save(theme)' end begin menuitem text "Exit" action script 'exit' end end menu begin actions bind ctrl button1 to string '^[]5;^G' bind ctrl button2 to string '^[[?30t' bind ctrl button3 to menu "Eterm" bind ctrl shift button3 to string '^[]6;14^G' end actions begin multichar encoding iso-10646 font 0 -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1 font 1 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1 font 2 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 font 3 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 font 4 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1 end multichar begin xim end xim begin toggles map_alert 1 visual_bell 0 login_shell 1 scrollbar 1 utmp_logging 1 meta8 0 iconic 0 home_on_output 1 home_on_input 1 no_input 0 scrollbar_floating 0 scrollbar_right 0 scrollbar_popup 0 borderless 0 double_buffer 0 no_cursor 0 pause 0 xterm_select 0 select_line 0 select_trailing_spaces 1 report_as_keysyms 0 itrans 0 buttonbar 0 resize_gravity 0 end toggles begin keyboard smallfont_key less bigfont_key greater app_keypad 0 app_cursor 0 end keyboard begin misc print_pipe 'lp''' save_lines 10240 min_anchor_size 0 border_width 5 term_name Eterm debug 0 end misc weird, mine doesnt segfault ... could you try doing: FEATURES=nostrip CFLAGS=-g3 emerge eterm and then running `gdb eterm` and posting the output of 'bt full' ? It's a heisenbug, with CFLAGS=-g3 Eterm is working as expected: wonko@weird wonko --> Eterm Eterm: Error: Unable to locate file "/usr/share/Eterm/pix/tile/atoms.jpg" in image path. I played around a bit with a local copy of /var/tmp/portage/eterm-0.9.3-r3/work/Eterm-0.9.3, and found the propblem to be my -Os CFLAGS setting. Without, all is fine. CFLAGS="-Os -g" was used for the gdb session, I do not know why the -g does not make the bug go away like when using with emerge. wonko@weird Eterm-0.9.3 --> gdb bin/Eterm GNU gdb 6.3 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/wonko/tmp/Eterm-0.9.3/bin/Eterm Eterm: Error: Program received signal SIGSEGV, Segmentation fault. 0xb7c6683b in strlen () from /lib/libc.so.6 (gdb) bt full #0 0xb7c6683b in strlen () from /lib/libc.so.6 No symbol table info available. #1 0xb7c3cfeb in vfprintf () from /lib/libc.so.6 No symbol table info available. #2 0xb7c3e954 in vfprintf () from /lib/libc.so.6 No symbol table info available. #3 0xb7c3ab8d in vfprintf () from /lib/libc.so.6 No symbol table info available. #4 0xb7eeb73b in libast_print_error () from /usr/lib/libast.so.2 No symbol table info available. #5 0xb7ef8852 in ?? () from /usr/lib/libast.so.2 No symbol table info available. #6 0x0804a050 in ?? () No symbol table info available. #7 0xb7fdca48 in ?? () from /home/wonko/tmp/Eterm-0.9.3/lib/libEterm-0.9.3.so No symbol table info available. #8 0xbfff9afd in ?? () No symbol table info available. #9 0xbfff9afd in ?? () No symbol table info available. #10 0xbfff6a58 in ?? () No symbol table info available. #11 0xb7fa9e50 in load_image (file=0xbfff6a48 "/", simg=0xb7d11a27) at pixmap.c:1442 f = 0x26fa <Address 0x26fa out of bounds> im = (Imlib_Image *) 0xb7fd4240 im_err = IMLIB_LOAD_ERROR_NONE geom = 0x2f <Address 0x2f out of bounds> Previous frame inner to this frame (corrupt stack?) The problem seens to happen in libast. Again, when emerging libast with FEATURES=nostrip CFLAGS=-g, the error is gone. Oh, no, the Eterm opens, but the error message is corrupted, the filename is "h It's a heisenbug, with CFLAGS=-g3 Eterm is working as expected: wonko@weird wonko --> Eterm Eterm: Error: Unable to locate file "/usr/share/Eterm/pix/tile/atoms.jpg" in image path. I played around a bit with a local copy of /var/tmp/portage/eterm-0.9.3-r3/work/Eterm-0.9.3, and found the propblem to be my -Os CFLAGS setting. Without, all is fine. CFLAGS="-Os -g" was used for the gdb session, I do not know why the -g does not make the bug go away like when using with emerge. wonko@weird Eterm-0.9.3 --> gdb bin/Eterm GNU gdb 6.3 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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/wonko/tmp/Eterm-0.9.3/bin/Eterm Eterm: Error: Program received signal SIGSEGV, Segmentation fault. 0xb7c6683b in strlen () from /lib/libc.so.6 (gdb) bt full #0 0xb7c6683b in strlen () from /lib/libc.so.6 No symbol table info available. #1 0xb7c3cfeb in vfprintf () from /lib/libc.so.6 No symbol table info available. #2 0xb7c3e954 in vfprintf () from /lib/libc.so.6 No symbol table info available. #3 0xb7c3ab8d in vfprintf () from /lib/libc.so.6 No symbol table info available. #4 0xb7eeb73b in libast_print_error () from /usr/lib/libast.so.2 No symbol table info available. #5 0xb7ef8852 in ?? () from /usr/lib/libast.so.2 No symbol table info available. #6 0x0804a050 in ?? () No symbol table info available. #7 0xb7fdca48 in ?? () from /home/wonko/tmp/Eterm-0.9.3/lib/libEterm-0.9.3.so No symbol table info available. #8 0xbfff9afd in ?? () No symbol table info available. #9 0xbfff9afd in ?? () No symbol table info available. #10 0xbfff6a58 in ?? () No symbol table info available. #11 0xb7fa9e50 in load_image (file=0xbfff6a48 "/", simg=0xb7d11a27) at pixmap.c:1442 f = 0x26fa <Address 0x26fa out of bounds> im = (Imlib_Image *) 0xb7fd4240 im_err = IMLIB_LOAD_ERROR_NONE geom = 0x2f <Address 0x2f out of bounds> Previous frame inner to this frame (corrupt stack?) The problem seens to happen in libast. Again, when emerging libast with FEATURES=nostrip CFLAGS=-g, the error is gone. Oh, no, the Eterm opens, but the error message is corrupted, the filename is "h¢··h··", not "/usr/share/Eterm/pix/tile/atoms.jpg". ok, instead of that approach, try using normal CFLAGS/FEATURES but appending --with-debugging=9 to the configure line ... doing `EXTRA_ECONF="--with-debugging=9" emerge eterm` should work ... Sorry, I went to holidays but forgot to hit the Commit button. This is the output I get with EXTRA_ECONF="--with-debugging=9" FEATURES=nostrip emerge eterm: (gdb) run Starting program: /usr/bin/Eterm Eterm: Error: Program received signal SIGSEGV, Segmentation fault. 0xb7c6d83b in strlen () from /lib/libc.so.6 (gdb) bt full #0 0xb7c6d83b in strlen () from /lib/libc.so.6 No symbol table info available. #1 0xb7c43feb in vfprintf () from /lib/libc.so.6 No symbol table info available. #2 0xb7c45954 in vfprintf () from /lib/libc.so.6 No symbol table info available. #3 0xb7c41b8d in vfprintf () from /lib/libc.so.6 No symbol table info available. #4 0xb7f2073b in libast_print_error () from /usr/lib/libast.so.2 No symbol table info available. #5 0xb7f2d852 in ?? () from /usr/lib/libast.so.2 No symbol table info available. #6 0x0804a050 in ?? () No symbol table info available. #7 0xb7fdc8e4 in ?? () from /usr/lib/libEterm-0.9.3.so No symbol table info available. #8 0xbfff9a51 in ?? () No symbol table info available. #9 0xbfff9a51 in ?? () No symbol table info available. #10 0x0804b0f8 in ?? () No symbol table info available. #11 0xb7faeded in load_image () from /usr/lib/libEterm-0.9.3.so No symbol table info available. #12 0xb7fe5ba8 in images () from /usr/lib/libEterm-0.9.3.so No symbol table info available. #13 0xb7fa458e in parse_image () from /usr/lib/libEterm-0.9.3.so No symbol table info available. #14 0xb7d0d000 in in6addr_loopback () from /lib/libc.so.6 No symbol table info available. #15 0xb7f301a8 in ?? () from /usr/lib/libast.so.2 No symbol table info available. #16 0x0000000b in ?? () No symbol table info available. #17 0xb7d19a20 in __after_morecore_hook () from /lib/libc.so.6 No symbol table info available. #18 0xb7d17ff4 in ?? () from /lib/libc.so.6 No symbol table info available. #19 0x0804b0f8 in ?? () No symbol table info available. #20 0x0804b0f8 in ?? () No symbol table info available. #21 0xb7c2a3b1 in __ctype_b_loc () from /lib/libc.so.6 No symbol table info available. Previous frame inner to this frame (corrupt stack?) how about --debug 4 ? pipe it into a log file and attach the file here (dont post it as a comment): Eterm --debug 4 >& log User response required here. ;) I did the --debug=4 thing, eterm crashed, but I did not yet pipe into a log file. I tried again to create a debug-enabled version first, but as before I got no segfault. I re-emerged eterm, without debug option, but now this is working, too. Maybe it no longer happens with a new gcc, glibc or something? It's not the change from r3 to r4, I already had r4 installed since short after my initial reports here. CFLAGS are also identical. I'd say let's close the bug :) |