| View previous topic :: View next topic |
| Author |
Message |
electrogulp neophyte
Joined: 23 Oct 2010 Posts: 4
|
Posted: Sat Oct 23, 2010 8:20 pm Post subject: segmentation fault |
|
|
Hi all,
I've Mythbuntu 10.10 with mldonkey 3.0.5 compiled in my own
After few minutes from the start, the next error appearing:
segmentation fault
I've the same problem with precompiled version
My architecture is a 32 bit.
Can anyone help me?
Thanks |
|
| Back to top |
|
 |
spiralvoice Sage
Joined: 06 Jan 2003 Posts: 3982 Location: Germany
|
Posted: Sat Oct 23, 2010 9:32 pm Post subject: |
|
|
Anything useful in mlnet.log?
Please post the output of MLDonkey command "sysinfo". _________________ Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks |
|
| Back to top |
|
 |
electrogulp neophyte
Joined: 23 Oct 2010 Posts: 4
|
Posted: Sun Oct 24, 2010 10:10 am Post subject: mlnet.log and sysinfo |
|
|
mlnet.log start with:
2010/10/24 11:43:41 [cO] Started logging...
2010/10/24 11:43:43 [cCO] Options correctly saved
2010/10/24 11:43:43 [dMain] loading geoip.dat from web_infos/GeoIP.dat.gz
2010/10/24 11:43:43 [Geo] country edition database loaded
2010/10/24 11:43:43 [dMain] loading server.met from web_infos/server.met.gz
2010/10/24 11:43:43 [EDK] server.met loaded from http://www.gruk.org/server.met.gz
2010/10/24 11:43:43 [EDK] 15 servers found, 0 new ones inserted
2010/10/24 11:43:43 [dMain] loading guarding.p2p from web_infos/level1.gz
2010/10/24 11:43:43 [IPblock] loading web_infos/level1.gz
2010/10/24 11:43:45 [IPblock] 224877 ranges loaded - optimized to 199846
2010/10/24 11:43:45 [dMain] loading nodes.gzip from web_infos/nodes.gzip
2010/10/24 11:43:45 [Fasttrack] nodes.gzip loaded from http://update.kceasy.com/update/fasttrack/nodes.gzip
2010/10/24 11:43:45 [dMain] Check http://www.mldonkey.org for updates
2010/10/24 11:43:46 [dMain] enabling networks:
2010/10/24 11:43:46 [dMain] ---- enabling Donkey ----
2010/10/24 11:44:05 [EDK] loading sources completed
2010/10/24 11:44:05 [dMain] using port 3265 (client_port TCP)
2010/10/24 11:44:05 [dMain] using port 3269 (client_port UDP)
2010/10/24 11:44:05 [dMain] using port 17997 (overnet_port TCP+UDP)
2010/10/24 11:44:05 [dMain] using port 12363 (kademlia_port UDP)
2010/10/24 11:44:05 [dMain] ---- enabling BitTorrent ----
2010/10/24 11:44:05 [dMain] using port 6882 (client_port TCP)
2010/10/24 11:44:05 [dMain] using port 6881 (tracker_port TCP)
2010/10/24 11:44:05 [dMain] ---- enabling FileTP ----
2010/10/24 11:44:05 [dMain] ---- enabling Fasttrack ----
2010/10/24 11:44:05 [dMain] using port 1214 (client_port TCP+UDP)
2010/10/24 11:44:05 [dMain] ---- enabling interfaces ----
2010/10/24 11:44:05 [dMain] using port 4080 (http_port)
2010/10/24 11:44:05 [dMain] using port 4000 (telnet_port)
2010/10/24 11:44:05 [dMain] using port 4001 (gui_port)
2010/10/24 11:44:05 [dMain] disabled networks: none
2010/10/24 11:44:05 [dMain] To command: telnet 127.0.0.1 4000
2010/10/24 11:44:05 [dMain] Or with browser: http://127.0.0.1:4080
2010/10/24 11:44:05 [dMain] For a GUI check out http://sancho-gui.sourceforge.net
2010/10/24 11:44:05 [dMain] Connect to IP 127.0.0.1, port 4001
2010/10/24 11:44:05 [dMain] If you connect from a remote machine adjust allowed_ips
2010/10/24 11:44:07 [cCO] Options correctly saved
2010/10/24 11:44:07 [dMain] Core started
2010/10/24 11:44:07 [cWeb] request contact.dat (http://download.overnet.org/contact.dat)
2010/10/24 11:44:07 [cWeb] request geoip.dat (http://www.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz)
2010/10/24 11:44:07 [cWeb] request server.met (http://www.gruk.org/server.met.gz)
2010/10/24 11:44:07 [cWeb] request guarding.p2p (http://www.bluetack.co.uk/config/level1.gz)
2010/10/24 11:44:07 [cWeb] Failure("Unknown kind [hublist]") while loading http://dchublist.com/hublist.config.bz2
2010/10/24 11:44:07 [cWeb] request nodes.gzip (http://update.kceasy.com/update/fasttrack/nodes.gzip)
2010/10/24 11:44:14 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:14 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:14 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:14 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:16 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:18 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:19 [HTTPcl] 404: Not found for: http://download.overnet.org/contact.dat
2010/10/24 11:44:19 [cWeb] local file web_infos/contact.dat not found, HTTP request failed (error 404)
2010/10/24 11:44:19 [EDK] server.met loaded from http://www.gruk.org/server.met.gz
2010/10/24 11:44:19 [EDK] 15 servers found, 0 new ones inserted
2010/10/24 11:44:19 [cWeb] already loaded local version of web_infos/nodes.gzip (17:56 Thu 19 Feb 2009), HTML header (Thu, 19 Feb 2009 17:56:24 GMT)
2010/10/24 11:44:21 [cWeb] already loaded local version of web_infos/level1.gz (03:50 Fri 22 Oct 2010), HTML header (Fri, 22 Oct 2010 03:50:06 GMT)
2010/10/24 11:44:21 [cWeb] already loaded local version of web_infos/GeoIP.dat.gz (01:00 Sat 02 Oct 2010), HTML header (Sat, 02 Oct 2010 01:00:17 GMT)
2010/10/24 11:44:22 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:28 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:28 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:28 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:28 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:34 [bS] exec can_read : unexpected exn read failed: Connection refused
2010/10/24 11:44:35 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:35 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:35 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:44:36 [bS] exec can_read : unexpected exn read failed: Connection refused
[ ... here I have a lot of similar line]
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [bS] exec can_read : unexpected exn read failed: Connection timed out
2010/10/24 11:49:46 [cUp] Detected clock jump. deltat 15.231379 adjusted to 10.000000
Last line is a new entry... not present in any other crash of mlnet.
about sysinfo:
--Buildinfo--
Version: MLNet Multi-Network p2p client version 3.0.5
Networks: Global Shares Fasttrack FileTP BitTorrent Donkey (SUI)
Ocaml version: 3.12.0 - C compiler version: 4.4.3 - C++ compiler version: 4.4.3
Built on: Linux i686 2.6.32-25-generic (little endian) with glibc 2.11.1
Configure args: '--enable-option-checking=fatal'
Features: threads zlib-1.2.3.3 no-bzip2 gd(jpg/png-1.2.42) iconv(active) no-magic no-check-bounds
--Runinfo--
MLDonkey user: admin (Warning: empty Password) - uptime: 3m 30s - running as diomede:diomede
Enabled nets: Donkey Overnet Kademlia BitTorrent Fasttrack FileTP
Server usage: enabled
Geoip: enabled, GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking: local: 0 ranges - web: 199846 ranges
System info: Linux mythserver 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686
language: IT - locale: UTF-8 - UTC offset: +0200
max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303 - max_int: 1073741823
max file descriptors: 1024 - max useable file size: 2^63-1 bits (do the maths ;-p)
--Portinfo--
Network | Port|Type
----------+------+-------------------
BitTorrent| 6882|client_port TCP
BitTorrent| 6881|tracker_port TCP
Core | 4080|http_port
Core | 4000|telnet_port
Core | 4001|gui_port
Donkey | 3265|client_port TCP
Donkey | 3269|client_port UDP
Donkey | 17997|overnet_port TCP+UDP
Donkey | 12363|kademlia_port UDP
Fasttrack | 1214|client_port TCP+UDP
--Diskinfo--
Directory |Type | used| free|%free|Filesystem
---------------------------------+-----------------------------+--------+--------+-----+----------
/home/diomede/.mldonkey |core/ini files | 43.79G| 2.26G| 4%|ext2/3
temp |temp/downloading | 43.79G| 2.26G| 4%|ext2/3
Where the list of shared folders is cutted.
Thanks in advance for your help |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
|
| Back to top |
|
 |
electrogulp neophyte
Joined: 23 Oct 2010 Posts: 4
|
Posted: Sat Oct 30, 2010 3:39 pm Post subject: gdb output |
|
|
Hi again and thanks for help, this is the output of gdb:
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http>
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http>...
Reading symbols from /home/diomede/Scaricati/mldonkey-3.0.5/mlnet...done.
[New Thread 29524]
[New Thread 29526]
[New Thread 29559]
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libgd.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgd.so.2
Reading symbols from /usr/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpng12.so.0
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_dns.so.2
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Core was generated by `./mlnet'.
Program terminated with signal 11, Segmentation fault.
#0 0x0056d422 in __kernel_vsyscall ()
(gdb)
I'm going now to recompiling with --enable-debug parameter.... when done what I must search for? |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
Posted: Sat Oct 30, 2010 4:28 pm Post subject: |
|
|
Now at the (gdb) prompt type :
| Code: |
thread apply all bt
|
and show the output. _________________ Download | Report bugs | git mirror |
|
| Back to top |
|
 |
electrogulp neophyte
Joined: 23 Oct 2010 Posts: 4
|
Posted: Sat Oct 30, 2010 9:34 pm Post subject: Output of the command thread apply all bt |
|
|
This the output:
Thread 3 (Thread 29559):
#0 0x0056d422 in __kernel_vsyscall ()
#1 0x001cf932 in ?? ()
#2 0x0832534b in ?? ()
#3 0x08444200 in ?? ()
#4 0x0809b88c in ?? ()
#5 0x08444200 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 2 (Thread 29526):
#0 0x0056d422 in __kernel_vsyscall ()
#1 0x002b4342 in ?? ()
#2 0x00000000 in ?? ()
Thread 1 (Thread 29524):
#0 0x0056d422 in __kernel_vsyscall ()
#1 0xbfd091e4 in ?? ()
#2 0x002b6fd9 in ?? ()
#3 0x00000000 in ?? () |
|
| Back to top |
|
 |
ygrek professional

Joined: 20 Mar 2010 Posts: 521
|
Posted: Sun Oct 31, 2010 8:02 am Post subject: |
|
|
Did you recompile with --enable-debug? You didn't strip the binary, did you?
| wiki wrote: |
make and ensure that resulting binary is not stripped (make opt is ok, release.* targets are not ok).
|
If the backtrace is still garbled - try installing libc6-dbg package. _________________ Download | Report bugs | git mirror |
|
| Back to top |
|
 |
|