Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sakura 2.4.0 (terminal) segfaults
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Satoshi
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 180
Location: Brazil

PostPosted: Sat Mar 05, 2011 1:34 am    Post subject: Sakura 2.4.0 (terminal) segfaults Reply with quote

Sakura is a terminal emulator. Version 2.4.0 from Portage segfaults. Downgrading to 2.3.8 works.

I also tried the patches here https://bugs.gentoo.org/show_bug.cgi?id=326667

Can anyone help me track this down? I'm not sure what could be wrong.

emerge --info: http://paste.pocoo.org/show/348273/
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Mar 06, 2011 2:48 pm    Post subject: Reply with quote

Try getting a backtrace - sakura 2.4.0 works just fine here.
Though I do do recall, that the dev, who put it in the tree, said it crashed on a few of his machines.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Fri Mar 11, 2011 1:03 pm    Post subject: Reply with quote

I'm getting a segfault here as well. I'm still finishing the initial install so I'll come back later with more info and look into it but I just wanted to let you know it isn't just you.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sat Mar 12, 2011 3:32 pm    Post subject: Reply with quote

Here's a backtrace. It should be decent enough. If a better one is needed or if I should post it elsewhere (such as a bug report) please let me know and I will do so.

Code:

$ gdb /usr/bin/sakura
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/sakura...Reading symbols from /usr/lib/debug/usr/bin/sakura.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/sakura
[Thread debugging using libthread_db enabled]
*** glibc detected *** /usr/bin/sakura: free(): invalid pointer: 0xb79883e8 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6b1f1)[0xb789a1f1]
/lib/libc.so.6(+0x6ca68)[0xb789ba68]
/lib/libc.so.6(cfree+0x6d)[0xb789eb5d]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7a5fb28]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7845e06]
/usr/bin/sakura[0x804cab1]
======= Memory map: ========
08048000-08056000 r-xp 00000000 08:23 3803106    /usr/bin/sakura
08056000-08057000 r--p 0000d000 08:23 3803106    /usr/bin/sakura
08057000-08058000 rw-p 0000e000 08:23 3803106    /usr/bin/sakura
08058000-080bb000 rw-p 00000000 00:00 0          [heap]
b4b00000-b4b21000 rw-p 00000000 00:00 0
b4b21000-b4c00000 ---p 00000000 00:00 0
b4c83000-b4c8d000 r-xp 00000000 08:23 4218458    /lib/libnss_files-2.13.so
b4c8d000-b4c8e000 r--p 00009000 08:23 4218458    /lib/libnss_files-2.13.so
b4c8e000-b4c8f000 rw-p 0000a000 08:23 4218458    /lib/libnss_files-2.13.so
b4c8f000-b4c98000 r-xp 00000000 08:23 4218468    /lib/libnss_nis-2.13.so
b4c98000-b4c99000 r--p 00008000 08:23 4218468    /lib/libnss_nis-2.13.so
b4c99000-b4c9a000 rw-p 00009000 08:23 4218468    /lib/libnss_nis-2.13.so
b4c9a000-b4cad000 r-xp 00000000 08:23 4218467    /lib/libnsl-2.13.so
b4cad000-b4cae000 r--p 00012000 08:23 4218467    /lib/libnsl-2.13.so
b4cae000-b4caf000 rw-p 00013000 08:23 4218467    /lib/libnsl-2.13.so
b4caf000-b4cb1000 rw-p 00000000 00:00 0
b4cb1000-b4cb7000 r-xp 00000000 08:23 4218470    /lib/libnss_compat-2.13.so
b4cb7000-b4cb8000 r--p 00006000 08:23 4218470    /lib/libnss_compat-2.13.so
b4cb8000-b4cb9000 rw-p 00007000 08:23 4218470    /lib/libnss_compat-2.13.so
b4cb9000-b4cbd000 rw-p 00000000 00:00 0
b4cbd000-b4cc0000 r-xp 00000000 08:23 4343432    /lib/libuuid.so.1.3.0
b4cc0000-b4cc1000 r--p 00002000 08:23 4343432    /lib/libuuid.so.1.3.0
b4cc1000-b4cc2000 rw-p 00003000 08:23 4343432    /lib/libuuid.so.1.3.0
b4cc2000-b4cc6000 r-xp 00000000 08:23 3817032    /usr/lib/libXdmcp.so.6.0.0
b4cc6000-b4cc7000 r--p 00003000 08:23 3817032    /usr/lib/libXdmcp.so.6.0.0
b4cc7000-b4cc8000 rw-p 00004000 08:23 3817032    /usr/lib/libXdmcp.so.6.0.0
b4cc8000-b4cca000 r-xp 00000000 08:23 3817075    /usr/lib/libXau.so.6.0.0
b4cca000-b4ccb000 r--p 00001000 08:23 3817075    /usr/lib/libXau.so.6.0.0
b4ccb000-b4ccc000 rw-p 00002000 08:23 3817075    /usr/lib/libXau.so.6.0.0
b4ccc000-b6311000 r-xp 00000000 08:23 4082990    /usr/lib/libnvidia-glcore.so.260.19.36
b6311000-b636d000 rwxp 01645000 08:23 4082990    /usr/lib/libnvidia-glcore.so.260.19.36
b636d000-b637d000 rwxp 00000000 00:00 0
b637d000-b637e000 r-xp 00000000 08:23 4213686    /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.260.19.36
b637e000-b637f000 rw-p 00000000 08:23 4213686    /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.260.19.36
b637f000-b6380000 rw-p 00000000 00:00 0
b6380000-b6468000 r-xp 00000000 08:23 3022778    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13
b6468000-b646c000 r--p 000e8000 08:23 3022778    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13
b646c000-b646d000 rw-p 000ec000 08:23 3022778    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13
b646d000-b6474000 rw-p 00000000 00:00 0
b6474000-b6488000 r-xp 00000000 08:23 3817216    /usr/lib/libICE.so.6.3.0
b6488000-b6489000 r--p 00013000 08:23 3817216    /usr/lib/libICE.so.6.3.0
b6489000-b648a000 rw-p 00014000 08:23 3817216    /usr/lib/libICE.so.6.3.0
b648a000-b648c000 rw-p 00000000 00:00 0
b648c000-b6493000 r-xp 00000000 08:23 3817926    /usr/lib/libSM.so.6.0.1
b6493000-b6494000 r--p 00006000 08:23 3817926    /usr/lib/libSM.so.6.0.1
b6494000-b6495000 rw-p 00007000 08:23 3817926    /usr/lib/libSM.so.6.0.1
b6495000-b6496000 rw-p 00000000 00:00 0
b6496000-b64b2000 r-xp 00000000 08:23 3022058    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1
b64b2000-b64b3000 r--p 0001c000 08:23 3022058    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1
b64b3000-b64b4000 rw-p 0001d000 08:23 3022058    /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1
b64b4000-b64cd000 r-xp 00000000 08:23 3820056    /usr/lib/libxcb.so.1.1.0
b64cd000-b64ce000 r--p 00018000 08:23 3820056    /usr/lib/libxcb.so.1.1.0
b64ce000-b64cf000 rw-p 00019000 08:23 3820056    /usr/lib/libxcb.so.1.1.0
b64cf000-b64f3000 r-xp 00000000 08:23 3023345    /usr/lib/libexpat.so.1.5.2
b64f3000-b64f4000 ---p 00024000 08:23 3023345    /usr/lib/libexpat.so.1.5.2
b64f4000-b64f6000 r--p 00024000 08:23 3023345    /usr/lib/libexpat.so.1.5.2
b64f6000-b64f7000 rw-p 00026000 08:23 3023345    /usr/lib/libexpat.so.1.5.2
b64f7000-b6576000 r-xp 00000000 08:23 3821316    /usr/lib/libfreetype.so.6.6.2
b6576000-b657a000 r--p 0007e000 08:23 3821316    /usr/lib/libfreetype.so.6.6.2
b657a000-b657b000 rw-p 00082000 08:23 3821316    /usr/lib/libfreetype.so.6.6.2
b657b000-b6617000 r-xp 00000000 08:23 4213680    /usr/lib/opengl/nvidia/lib/libGL.so.260.19.36
b6617000-b6635000 rwxp 0009b000 08:23 4213680    /usr/lib/opengl/nvidia/lib/libGL.so.260.19.36
b6635000-b6644000 rwxp 00000000 00:00 0
b6644000-b6645000 rw-p 00000000 00:00 0
b6645000-b664c000 r-xp 00000000 08:23 3819971    /usr/lib/libxcb-render.so.0.0.0
b664c000-b664d000 r--p 00006000 08:23 3819971    /usr/lib/libxcb-render.so.0.0.0
b664d000-b664e000 rw-p 00007000 08:23 3819971    /usr/lib/libxcb-render.so.0.0.0
b664e000-b6650000 r-xp 00000000 08:23 3820051    /usr/lib/libxcb-shm.so.0.0.0
b6650000-b6651000 r--p 00001000 08:23 3820051    /usr/lib/libxcb-shm.so.0.0.0
b6651000-b6652000 rw-p 00002000 08:23 3820051    /usr/lib/libxcb-shm.so.0.0.0
b6652000-b68d7000 r-xp 00000000 08:23 3947859    /usr/lib/qt4/libQtCore.so.4.7.2
b68d7000-b68de000 r--p 00284000 08:23 3947859    /usr/lib/qt4/libQtCore.so.4.7.2
b68de000-b68df000 rw-p 0028b000 08:23 3947859    /usr/lib/qt4/libQtCore.so.4.7.2
b68df000-b72f2000 r-xp 00000000 08:23 4349670    /usr/lib/qt4/libQtGui.so.4.7.2
b72f2000-b72f3000 ---p 00a13000 08:23 4349670    /usr/lib/qt4/libQtGui.so.4.7.2
b72f3000-b7313000 r--p 00a13000 08:23 4349670    /usr/lib/qt4/libQtGui.so.4.7.2
b7313000-b7317000 rw-p 00a33000 08:23 4349670    /usr/lib/qt4/libQtGui.so.4.7.2
b7317000-b7319000 rw-p 00000000 00:00 0
b7319000-b7326000 r-xp 00000000 08:23 3946522    /usr/lib/libEGL.so.1.0
b7326000-b7327000 r--p 0000d000 08:23 3946522    /usr/lib/libEGL.so.1.0
b7327000-b7328000 rw-p 0000e000 08:23 3946522    /usr/lib/libEGL.so.1.0
b7328000-b7329000 rw-p 00000000 00:00 0
b7329000-b737c000 r-xp 00000000 08:23 3803994    /usr/lib/libpixman-1.so.0.20.2
b737c000-b737e000 r--p 00053000 08:23 3803994    /usr/lib/libpixman-1.so.0.20.2
b737e000-b737f000 rw-p 00055000 08:23 3803994    /usr/lib/libpixman-1.so.0.20.2
b737f000-b73a1000 r-xp 00000000 08:23 4215269    /usr/lib/libpng14.so.14.5.0
b73a1000-b73a2000 r--p 00021000 08:23 4215269    /usr/lib/libpng14.so.14.5.0
b73a2000-b73a3000 rw-p 00022000 08:23 4215269    /usr/lib/libpng14.so.14.5.0
b73a3000-b73e4000 r-xp 00000000 08:23 4084663    /lib/libncurses.so.5.8
b73e4000-b73e6000 r--p 00040000 08:23 4084663    /lib/libncurses.so.5.8
b73e6000-b73e7000 rw-p 00042000 08:23 4084663    /lib/libncurses.so.5.8
b73e7000-b73ee000 r-xp 00000000 08:23 4218459    /lib/librt-2.13.so
b73ee000-b73ef000 r--p 00006000 08:23 4218459    /lib/librt-2.13.so
b73ef000-b73f0000 rw-p 00007000 08:23 4218459    /lib/librt-2.13.so
b73f0000-b73f3000 r-xp 00000000 08:23 3818166    /usr/lib/libgthread-2.0.so.0.2600.1
b73f3000-b73f4000 r--p 00003000 08:23 3818166    /usr/lib/libgthread-2.0.so.0.2600.1
b73f4000-b73f5000 rw-p 00004000 08:23 3818166    /usr/lib/libgthread-2.0.so.0.2600.1
b73f5000-b73f6000 rw-p 00000000 00:00 0
b73f6000-b73f8000 r-xp 00000000 08:23 4218451    /lib/libdl-2.13.so
b73f8000-b73f9000 r--p 00001000 08:23 4218451    /lib/libdl-2.13.so
b73f9000-b73fa000 rw-p 00002000 08:23 4218451    /lib/libdl-2.13.so
b73fa000-b740d000 r-xp 00000000 08:23 3814685    /lib/libz.so.1.2.5
b740d000-b740e000 r--p 00012000 08:23 3814685    /lib/libz.so.1.2.5
b740e000-b740f000 rw-p 00013000 08:23 3814685    /lib/libz.so.1.2.5
b740f000-b741f000 r-xp 00000000 08:23 4218455    /lib/libresolv-2.13.so
b741f000-b7420000 r--p 00010000 08:23 4218455    /lib/libresolv-2.13.so
b7420000-b7421000 rw-p 00011000 08:23 4218455    /lib/libresolv-2.13.so
b7421000-b7423000 rw-p 00000000 00:00 0
b7423000-b742b000 r-xp 00000000 08:23 3819978    /usr/lib/libXrender.so.1.3.0
b742b000-b742c000 r--p 00007000 08:23 3819978    /usr/lib/libXrender.so.1.3.0
b742c000-b742d000 rw-p 00008000 08:23 3819978    /usr/lib/libXrender.so.1.3.0
b742d000-b742f000 r-xp 00000000 08:23 3818653    /usr/lib/libXdamage.so.1.1.0
b742f000-b7430000 r--p 00001000 08:23 3818653    /usr/lib/libXdamage.so.1.1.0
b7430000-b7431000 rw-p 00002000 08:23 3818653    /usr/lib/libXdamage.so.1.1.0
b7431000-b7432000 rw-p 00000000 00:00 0
b7432000-b7434000 r-xp 00000000 08:23 3820804    /usr/lib/libXcomposite.so.1.0.0
b7434000-b7435000 r--p 00001000 08:23 3820804    /usr/lib/libXcomposite.so.1.0.0
b7435000-b7436000 rw-p 00002000 08:23 3820804    /usr/lib/libXcomposite.so.1.0.0
b7436000-b743e000 r-xp 00000000 08:23 3820652    /usr/lib/libXcursor.so.1.0.2
b743e000-b743f000 r--p 00007000 08:23 3820652    /usr/lib/libXcursor.so.1.0.2
b743f000-b7440000 rw-p 00008000 08:23 3820652    /usr/lib/libXcursor.so.1.0.2
b7440000-b7446000 r-xp 00000000 08:23 3820648    /usr/lib/libXrandr.so.2.2.0
b7446000-b7447000 r--p 00005000 08:23 3820648    /usr/lib/libXrandr.so.2.2.0
b7447000-b7448000 rw-p 00006000 08:23 3820648    /usr/lib/libXrandr.so.2.2.0
b7448000-b7454000 r-xp 00000000 08:23 3820906    /usr/lib/libXi.so.6.1.0
b7454000-b7455000 r--p 0000b000 08:23 3820906    /usr/lib/libXi.so.6.1.0
b7455000-b7456000 rw-p 0000c000 08:23 3820906    /usr/lib/libXi.so.6.1.0
b7456000-b7458000 r-xp 00000000 08:23 3823115    /usr/lib/libXinerama.so.1.0.0
b7458000-b7459000 r--p 00001000 08:23 3823115    /usr/lib/libXinerama.so.1.0.0
b7459000-b745a000 rw-p 00002000 08:23 3823115    /usr/lib/libXinerama.so.1.0.0
b745a000-b745b000 rw-p 00000000 00:00 0
b745b000-b7468000 r-xp 00000000 08:23 3820655    /usr/lib/libXext.so.6.4.0
b7468000-b7469000 r--p 0000c000 08:23 3820655    /usr/lib/libXext.so.6.4.0
b7469000-b746a000 rw-p 0000d000 08:23 3820655    /usr/lib/libXext.so.6.4.0
b746a000-b747f000 r-xp 00000000 08:23 4218454    /lib/libpthread-2.13.so
b747f000-b7480000 r--p 00014000 08:23 4218454    /lib/libpthread-2.13.so
b7480000-b7481000 rw-p 00015000 08:23 4218454    /lib/libpthread-2.13.so
b7481000-b7483000 rw-p 00000000 00:00 0
b7483000-b7486000 r-xp 00000000 08:23 3818008    /usr/lib/libgmodule-2.0.so.0.2600.1
b7486000-b7487000 r--p 00002000 08:23 3818008    /usr/lib/libgmodule-2.0.so.0.2600.1
b7487000-b7488000 rw-p 00003000 08:23 3818008    /usr/lib/libgmodule-2.0.so.0.2600.1
b7488000-b74b4000 r-xp 00000000 08:23 3823176    /usr/lib/libfontconfig.so.1.4.4
b74b4000-b74b5000 r--p 0002b000 08:23 3823176    /usr/lib/libfontconfig.so.1.4.4
b74b5000-b74b6000 rw-p 0002c000 08:23 3823176    /usr/lib/libfontconfig.so.1.4.4
b74b6000-b74da000 r-xp 00000000 08:23 4218450    /lib/libm-2.13.so
b74da000-b74db000 r--p 00023000 08:23 4218450    /lib/libm-2.13.so
b74db000-b74dc000 rw-p 00024000 08:23 4218450    /lib/libm-2.13.so
b74dc000-b74dd000 rw-p 00000000 00:00 0
b74dd000-b7501000 r-xp 00000000 08:23 3944018    /usr/lib/libpangoft2-1.0.so.0.2800.3
b7501000-b7502000 ---p 00024000 08:23 3944018    /usr/lib/libpangoft2-1.0.so.0.2800.3
b7502000-b7503000 r--p 00024000 08:23 3944018    /usr/lib/libpangoft2-1.0.so.0.2800.3
b7503000-b7504000 rw-p 00025000 08:23 3944018    /usr/lib/libpangoft2-1.0.so.0.2800.3
b7504000-b75de000 r-xp 00000000 08:23 3817690    /usr/lib/libgio-2.0.so.0.2600.1
b75de000-b75e0000 r--p 000da000 08:23 3817690    /usr/lib/libgio-2.0.so.0.2600.1
b75e0000-b75e1000 rw-p 000dc000 08:23 3817690    /usr/lib/libgio-2.0.so.0.2600.1
b75e1000-b75e2000 rw-p 00000000 00:00 0
b75e2000-b76f8000 r-xp 00000000 08:23 3944135    /usr/lib/libX11.so.6.3.0
b76f8000-b76f9000 r--p 00115000 08:23 3944135    /usr/lib/libX11.so.6.3.0
b76f9000-b76fc000 rw-p 00116000 08:23 3944135    /usr/lib/libX11.so.6.3.0
b76fc000-b77f8000 r-xp 00000000 08:23 3949523    /usr/lib/libcairo.so.2.11000.2
b77f8000-b77f9000 ---p 000fc000 08:23 3949523    /usr/lib/libcairo.so.2.11000.2
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7fe1424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7859831 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/li
        resultvar = <value optimized out>
        pid = -1214746636
        selftid = 28518
#2  0xb785af72 in abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0xb7fff4c4 <
              3079624337, 37, 134528028, 3221220364, 3080220660
          sa_restorer = 0xb796477b}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb7894345 in __libc_message (do_abort=2, fmt=0xb79666e0 "*
        ap = <value optimized out>
        fd = -1073746500
        on_2 = <value optimized out>
        list = <value optimized out>
        nlist = <value optimized out>
        cp = <value optimized out>
        written = false
#4  0xb789a1f1 in malloc_printerr (action=<value optimized out>
        buf = "b79883e8"
        cp = <value optimized out>
#5  0xb789ba68 in _int_free (av=<value optimized out>, p=<value
        size = 3080225752
        nextchunk = 0x6f66
        nextsize = 3080853944
        prevsize = <value optimized out>
        bck = <value optimized out>
        fwd = <value optimized out>
        errstr = 0x6 <Address 0x6 out of bounds>
        __func__ = "_int_free"
#6  0xb789eb5d in __libc_free (mem=0xb79883e8) at malloc.c:3738
        ar_ptr = 0xb79883a0
        p = 0x6
#7  0xb7a5fb28 in g_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x0805736c in _GLOBAL_OFFSET_TABLE_ ()
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.


Code:

Linux gentoo-desktop 2.6.37-gentoo-r1 #9 SMP Fri Mar 11 15:44:27 EST 2011 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux


Code:

~ $ sakura
Segmentation fault


Code:

 ~ $ emerge --info sakura
Portage 2.1.9.42 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.13-r1, 2.6.37-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 10 Mar 2011 02:45:01 +0000
app-shells/bash:     4.2_p7
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_us en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv jpeg lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ntp nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vdpau vorbis win32codecs x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_us en_US en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-terms/sakura-2.4.0 was built with the following:
USE=""


I note an invalid pointer being detected...
Back to top
View user's profile Send private message
Satoshi
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 180
Location: Brazil

PostPosted: Sat Mar 12, 2011 6:03 pm    Post subject: Reply with quote

Weird, my sakura does run with gdb, for some reason:


Code:
[satoshi@~] % gdb /usr/bin/sakura
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/sakura...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/sakura
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeaf90700 (LWP 12863)]
[Thread 0x7fffeaf90700 (LWP 12863) exited]

Program exited normally.


Without gdb it just gives me

Code:
zsh: segmentation fault  sakura
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sat Mar 12, 2011 7:29 pm    Post subject: Reply with quote

Satoshi, I notice you are on x_64 while I am on x86. So it isn't just one architecture having the issue apparently.

Here's a slightly better backtrace I was able to get than before.

Code:

(gdb) bt full
#0  0xb7fe1424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7771831 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        pid = -1215696908
        selftid = 27180
#2  0xb7772f72 in abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0xb7fff4c4 <_rtld_global+1220>, sa_sigaction = 0xb7ff
              3078674065, 37, 134528028, 3221220476, 3079270388, 6, 3221221936, 3221220596, 3078785956, 
          sa_restorer = 0xb787c77b}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb77ac345 in __libc_message (do_abort=2, fmt=0xb787e6e0 "*** glibc detected *** %s: %s: 0x%s ***\n"
        ap = <value optimized out>
        fd = -1073746388
        on_2 = <value optimized out>
        list = <value optimized out>
        nlist = <value optimized out>
        cp = <value optimized out>
        written = false
#4  0xb77b21f1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, pt
        buf = "b78a03e8"
        cp = <value optimized out>
#5  0xb77b3a68 in _int_free (av=<value optimized out>, p=<value
        size = 3079275480
        nextchunk = 0x6a2c
        nextsize = 3079956920
        prevsize = <value optimized out>
        bck = <value optimized out>
        fwd = <value optimized out>
        errstr = 0x6 <Address 0x6 out of bounds>
        __func__ = "_int_free"
#6  0xb77b6b5d in __libc_free (mem=0xb78a03e8) at malloc.c:3738
        ar_ptr = 0xb78a03a0
        p = 0x6
#7  0xb7984b28 in g_free () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x0805736c in _GLOBAL_OFFSET_TABLE_ ()
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.
(gdb) quit


Downgrading sakura works perfectly for me.

In any event I see it is now masked and it's a known issue apparently.

http://packages.gentoo.org/package/x11-terms/sakura
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Fri Jun 03, 2011 2:53 am    Post subject: Reply with quote

Hmm. Is anyone currently having success with Sakura 2.4.0 using the Gentoo ebuild? I've seen several changes to the ebuild however upon trying once more I am still seeing the same segmentation fault. 2.3.8 works fine still for me.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Mon Nov 14, 2011 5:39 pm    Post subject: Reply with quote

Just a quick note that upon upgrading Sakura to version 2.4.2 the problem no longer occurs. Looking at the changelog I suspect the bug where apparently cflags weren't being respected.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum