mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] 2.7.7 multiple segmentation faults under Slackware


From: Herbert Alexander Faleiros
Subject: [Mldonkey-bugs] 2.7.7 multiple segmentation faults under Slackware
Date: Thu, 6 Jul 2006 18:27:10 -0300
User-agent: KMail/1.9.3

##############################################

try 1:

# su mldonkey -c "gdb mlnet.static"
GNU gdb 6.5
Copyright (C) 2006 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 "i486-slackware-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mlnet.static
2006/07/06 17:32:09 Starting MLDonkey 2.7.7 ...
2006/07/06 17:32:09 Language EN, locale ISO-8859-1, ulimit for open files 1024
2006/07/06 17:32:09 MLDonkey is working in .
2006/07/06 17:32:09 [DNS] Resolving [faleiros] ...
2006/07/06 17:32:09 [DNS] Resolving [www.mldonkey.net] ...

Program received signal SIGSEGV, Segmentation fault.
0x08347444 in memset ()
Current language:  auto; currently asm
(gdb) bt
#0  0x08347444 in memset ()
#1  0x0829a872 in apprentice_file ()
#2  0x0829c2e6 in file_apprentice ()
#3  0x08299f15 in magic_load ()
#4  0x08277ee1 in ocaml_magic_load_default (c=-1213424964)
    at src/utils/lib/magiclib_stub.c:271
#5  0x0816fd47 in camlMagic_magic__magic_cookie_mime_69 ()
#6  0xb7ac9abc in ?? ()
#7  0xb7ac9abc in ?? ()
#8  0x0807ea23 in camlDriverMain__entry ()
#9  0xbfb93748 in ?? ()
#10 0x0807ea06 in camlDriverMain__entry ()
#11 0x00000000 in ?? ()

##############################################

try 2:

# su mldonkey -c "gdb mlnet.static"
GNU gdb 6.5
Copyright (C) 2006 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 "i486-slackware-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mlnet.static
2006/07/06 17:46:47 Starting MLDonkey 2.7.7 ...
2006/07/06 17:46:47 Language EN, locale ISO-8859-1, ulimit for open files 1024
2006/07/06 17:46:47 MLDonkey is working in .
2006/07/06 17:46:47 [DNS] Resolving [faleiros] ...
2006/07/06 17:46:47 [DNS] Resolving [www.mldonkey.net] ...
2006/07/06 17:46:47 [dMain] Libmagic file-type recognition database present
2006/07/06 17:46:47 Logging in ./mlnet.log
2006/07/06 17:46:47 Core started


Program received signal SIG32, Real-time event 32.
0x0830eeb3 in __pthread_sigsuspend ()
Current language:  auto; currently asm
(gdb)
(gdb) bt
#0  0x0830eeb3 in __pthread_sigsuspend ()
#1  0x0830eca8 in pthread_create ()
#2  0x0827f1a2 in ml_ip_job_start (job_v=-514) at src/utils/lib/stubs_c.c:890
#3  0x081cda83 in camlIp__fun_498 ()
#4  0x085b4f18 in ?? ()
#5  0x00000003 in ?? ()
#6  0xb7dcf484 in ?? ()
#7  0xb7dcf4a4 in ?? ()
#8  0x085b4f3c in ?? ()
#9  0x085b72d0 in ?? ()
#10 0x00000003 in ?? ()
#11 0x081cab97 in camlBasicSocket__exec_timers_578 ()
#12 0xbf9e913c in ?? ()
#13 0x081cab7d in camlBasicSocket__exec_timers_578 ()
#14 0xb7dcd8e0 in ?? ()
#15 0x081ca871 in camlBasicSocket__exec_hooks_570 ()
#16 0xb7a42c38 in ?? ()
#17 0x081cadb3 in camlBasicSocket__loop_581 ()
#18 0xbf9e9168 in ?? ()
#19 0x081cac06 in camlBasicSocket__loop_581 ()
#20 0x085ad980 in ?? ()
#21 0x085bbb18 in ?? ()
#22 0xaf1c2dfd in ?? ()

##############################################

try 3:

# su mldonkey -c "gdb mlnet"
GNU gdb 6.5
Copyright (C) 2006 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 "i486-slackware-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mlnet
[Thread debugging using libthread_db enabled]
[New Thread -1211385632 (LWP 19403)]
2006/07/06 18:02:15 Starting MLDonkey 2.7.7 ...
2006/07/06 18:02:15 Language EN, locale ISO-8859-1, ulimit for open files 1024
2006/07/06 18:02:15 MLDonkey is working in .
2006/07/06 18:02:15 PID file ./mlnet.pid exists.
2006/07/06 18:02:15 Removing stalled file mlnet.pid
2006/07/06 18:02:15 [DNS] Resolving [faleiros] ...
2006/07/06 18:02:15 [DNS] Resolving [www.mldonkey.net] ...
2006/07/06 18:02:15 [dMain] Libmagic file-type recognition database present
2006/07/06 18:02:15 Logging in ./mlnet.log
2006/07/06 18:02:15 Core started

[New Thread -1216046160 (LWP 19406)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211385632 (LWP 19403)]
0xb7d2704f in memset () from /lib/tls/libc.so.6
(gdb)
(gdb) bt
#0  0xb7d2704f in memset () from /lib/tls/libc.so.6
#1  0x083319f2 in apprentice_file ()
#2  0x08333466 in file_apprentice ()
#3  0x08331095 in magic_load ()
#4  0x08323841 in ocaml_magic_load_default (c=-1237043724)
    at src/utils/lib/magiclib_stub.c:271
#5  0x082022a7 in camlMagic_magic__magic_cookie_68 ()
#6  0xb64435f4 in ?? ()
#7  0xb64435f4 in ?? ()
#8  0x0817aed6 in camlCommonFile__check_914 ()
#9  0xbf846210 in ?? ()
#10 0x0817aeac in camlCommonFile__check_914 ()
#11 0xb79bb03c in ?? ()
#12 0xb79bf0a4 in ?? ()
#13 0x00000003 in ?? ()
#14 0x081a1620 in camlCommonSwarming__set_frontend_bitmap_3_1695 ()
#15 0x00000001 in ?? ()
#16 0xb79ba4a0 in ?? ()
#17 0xb64435e0 in ?? ()
#18 0x081a18a9 in camlCommonSwarming__verify_chunk_1708 ()
#19 0xbf846250 in ?? ()
#20 0x081a17d0 in camlCommonSwarming__verify_chunk_1708 ()
#21 0x08539bf8 in ?? ()

##############################################

before crash:

lsof | grep mlnet
mlnet     19571 mldonkey  cwd   
unknown                                /proc/19571/cwd (readlink: Permission 
denied)
mlnet     19571 mldonkey  rtd   
unknown                                /proc/19571/root (readlink: Permission 
denied)
mlnet     19571 mldonkey  txt   
unknown                                /proc/19571/exe (readlink: Permission 
denied)
mlnet     19571 mldonkey  mem       REG        3,2  6552416     
150607 /usr/bin/mlnet
mlnet     19571 mldonkey  mem       REG        0,0                   0 [heap] 
(stat: No such file or directory)
mlnet     19571 mldonkey  mem       REG        3,2    11103      
12449 /usr/lib/gconv/CP1252.so
mlnet     19571 mldonkey  mem       REG        3,2    45361      
12353 /lib/tls/libnss_files-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2    77204      
12359 /lib/tls/libresolv-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2   178476      
95572 /usr/lib/locale/en_US/LC_CTYPE
mlnet     19571 mldonkey  mem       REG        3,2  1441281      
12344 /lib/tls/libc-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2    88005      
12358 /lib/tls/libpthread-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2    32532        
244 /usr/lib/libgcc_s.so.1
mlnet     19571 mldonkey  mem       REG        3,2   168765      
12348 /lib/tls/libm-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2   822276       
1779 /usr/lib/libstdc++.so.6.0.3
mlnet     19571 mldonkey  mem       REG        3,2    13120      
12347 /lib/tls/libdl-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2   114482        
226 /lib/libbz2.so.1.0.3
mlnet     19571 mldonkey  mem       REG        3,2    70640        
258 /usr/lib/libz.so.1.2.3
mlnet     19571 mldonkey  mem       REG        3,2    20964      
12352 /lib/tls/libnss_dns-2.3.6.so
mlnet     19571 mldonkey  mem       REG        3,2   104536      
12310 /lib/ld-2.3.6.so
mlnet     19571 mldonkey 
NOFD                                          /proc/19571/fd (opendir: 
Permission denied)

##############################################

configure options contains only:

./configure --disable-gui

##############################################

# gcc --version | head -1
gcc (GCC) 3.4.6

# glib-config --version
1.2.10

# uname -r
2.6.16.22




reply via email to

[Prev in Thread] Current Thread [Next in Thread]