Jajcus / jggtrans

Jabber to GaduGadu gateway ('transport')
http://jggtrans.jajcus.net/
GNU General Public License v2.0
14 stars 7 forks source link

net-im/gg-transport-2.2.{4,6} segmentation fault in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267 #35

Open marcin-github opened 8 years ago

marcin-github commented 8 years ago

Zgłaszam błąd upstreamowi:) https://bugs.gentoo.org/show_bug.cgi?id=409555

ggtransport is killed by hardened-kernel, in dmesg I can find:

[705011.307357] jggtrans[46908] trap int3 ip:2cfb4bd1e7c sp:3aede48f840 error:0
[705011.307377] grsec: From 62.121.127.119: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for usr/sbin/jggtrans[jggtrans:46908] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:44975] uid/euid:0/0 gid/egid:0/0

With pl_PL.utf8 locale: gdb /usr/sbin/jggtrans GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 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/sbin/jggtrans...Reading symbols from /usr/lib64/debug/usr/sbin/jggtrans.debug...done. done. (gdb) run Starting program: /usr/sbin/jggtrans 2012-03-24 15:05:50 Błąd krytyczny: Nie można załadować konfiga!

Program received signal SIGTRAP, Trace/breakpoint trap. 0x0000034eb5d05e7c in ?? () (gdb) bt

0 0x0000034eb5d05e7c in ?? ()

1 0x0000000000000006 in ?? ()

2 0x0000000000000005 in ?? ()

3 0x000000000b17391f in ?? ()

4 0x0000000000000001 in ?? ()

5 0x0000006cf1954e82 in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267

6 0x0000000000000000 in ?? ()

(gdb) bt full

0 0x0000034eb5d05e7c in ?? ()

No symbol table info available.

1 0x0000000000000006 in ?? ()

No symbol table info available.

2 0x0000000000000005 in ?? ()

No symbol table info available.

3 0x000000000b17391f in ?? ()

No symbol table info available.

4 0x0000000000000001 in ?? ()

No symbol table info available.

5 0x0000006cf1954e82 in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267

    lc_ctype = 0x5 <Address 0x5 out of bounds>
    lc_messages = 0x6 <Address 0x6 out of bounds>
    td_codeset = 0xb17391f <Address 0xb17391f out of bounds>
    ret = 0x34eb5d06219 "1\300\017\266T$\030\351\002\376\377\377D\211\305H\213\005!\310."

6 0x0000000000000000 in ?? ()

No symbol table info available.

With en_US.utf8 locale: LC_ALL=en_US.utf.8 LANG=en gdb /usr/sbin/jggtrans GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 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/sbin/jggtrans...Reading symbols from /usr/lib64/debug/usr/sbin/jggtrans.debug...done. done. (gdb) run Starting program: /usr/sbin/jggtrans 2012-03-24 15:07:28 Fatal error: Couldn't load config!

Program received signal SIGTRAP, Trace/breakpoint trap. 0x000003271b45ae7c in ?? () (gdb) bt

0 0x000003271b45ae7c in ?? ()

1 0x0000032700000006 in ?? ()

2 0x0000000000000005 in ?? ()

3 0x0000000000000000 in ?? ()

(gdb) bt full

0 0x000003271b45ae7c in ?? ()

No symbol table info available.

1 0x0000032700000006 in ?? ()

No symbol table info available.

2 0x0000000000000005 in ?? ()

No symbol table info available.

3 0x0000000000000000 in ?? ()

No symbol table info available.