MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Segfault

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Russian
View previous topic :: View next topic  
Author Message
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Sat Mar 24, 2012 10:24 am    Post subject: Segfault Reply with quote

Под Дебианом 6.0.4 регулярно получаю сегфолты при работе "осла"...
Вот как выглядят два последних случая с сислоге:
Code:

Mar 22 20:42:13 server kernel: [ 2527.211586] mlnet[2964]: segfault at 896ca64 ip 08289e5d sp bf82eb10 error 4 in mlnet[8048000+2ec000]
.....
Mar 24 05:24:48 server kernel: [25268.532496] mlnet[2866]: segfault at 85e2324 ip 08289e5d sp bf841c50 error 4 in mlnet[8048000+2ec000]


Вывод sysinfo:
Code:

Version:    MLNet Multi-Network p2p client version 3.1.0
Networks:    Global Shares Direct Connect FileTP Donkey (SUI)
Ocaml version:    3.12.1 - C compiler version: 4.4.5 - C++ compiler version: 4.4.5
Built on:    Linux i686 3.2.0-0.bpo.2-686-pae (little endian) with glibc 2.11.3
Configure args:     '--enable-option-checking=fatal' '--prefix=/usr' '--disable-multinet' '--enable-filetp' '--enable-directconnect'
Features:     threads zlib-1.2.3.4 bzip2-1.0.5 gd(jpg/png-1.2.44) iconv(active) magic(active) no-upnp no-natpmp no-check-bounds

Runinfo   
MLDonkey user:    admin (PW Protected) - uptime: 8m 48s - running as mldonkey:mldonkey
Enabled nets:     Donkey FileTP
Server usage:    enabled
Geoip:    enabled, GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking:    no blocking list loaded
Libmagic:    file-type recognition database present
System info:    Linux debian 3.2.0-0.bpo.2-686-pae #1 SMP Fri Mar 16 08:25:14 UTC 2012 i686
    language: EN - locale: UTF-8 - UTC offset: +0400
    max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303 - max_int: 1073741823
    max file descriptors: 4096 - max useable file size: 2^63-1 bits (do the maths ;-p)

Уважаемый ygrek, взываю к Вашей помощи!
Back to top
View user's profile Send private message
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Tue Apr 03, 2012 8:45 am    Post subject: Segfault Reply with quote

В дополнение вывод strace. MLDonkey - текущий из CVS.
Code:
[pid 28470] 22:29:38.695649 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:38.701219 gettimeofday({1333218578, 701445}, NULL) = 0 <0>
[pid 28470] 22:29:38.701800 _llseek(17, 38215680, [38215680], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.702577 read(17, "\277\205bt\266,A\270[\1\373\240\3Z\256\366#R!\30\7\30\275\260\312\252T:\256a\320\30"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.703450 _llseek(17, 38225920, [38225920], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.703936 read(17, "ie)\377\350\351)T\364E\350\350\340\220U\310\207ie(B\177\377\377\375\24\351\321\321\301\200\213"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.704873 _llseek(17, 38236160, [38236160], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.705392 read(17, "Nw\30\207\2310\\\364'm\35\311\325\213*s\344\270c\340\244UA\200\250*\256\37x\37;\6"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.706016 _llseek(17, 38246400, [38246400], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.706446 read(17, "/[{\265V\313\315\177\233\217BL'\223\244\17\250\327\350\301\332\351}]\357{>\373\353Q\355g"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.707102 _llseek(17, 38256640, [38256640], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.707884 read(17, "\336\327\\\306q\367\243tz\351>\367\230s)\367=W\274\363R9P\252;\\\334 \344\301h,"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.708495 _llseek(17, 38266880, [38266880], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.708967 read(17, "\275k\341\246y\233\306[p\363\355\222\276\373\353n{5Ab\324{[\337v\2723[\336\213\347\36"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.709958 _llseek(17, 38277120, [38277120], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.710400 read(17, "\353\327\247C\305!\"#\312\244\261\271\302W\v\31,\372\305@\302b\7R\207\v\7\300\200D\272C"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.721702 _llseek(17, 38287360, [38287360], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.722600 read(17, "\250:\31\223\21\247\200\341\4r2h6\25F\23\213\20\2334\330\241/^5\6\20Q24M\260"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.723714 _llseek(17, 38297600, [38297600], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.724411 read(17, "|\36709t\352XS\352\1\271\305]\31\250\36\343\316\222\224;\27\370\2Q\330\272x\351*L\230"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.725372 _llseek(17, 38307840, [38307840], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.725971 read(17, "\212\2\320c\315\222B7-\237kr\233\234\221\30\363\203$-\307\331\334\341\302\\\345\363\256}\27\357"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.727453 _llseek(17, 38318080, [38318080], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.728114 read(17, "\246\202,@}\304\277\360\337\317\363\347Q\2539\232\3501m\365\f:\17\273\0*m[\256\3623\325"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.729209 _llseek(17, 38328320, [38328320], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.730308 read(17, "\333\212zJ\33[\3\r\256\237\337\247\345\372\324\222)\236\f\3373\177\263\310$\16F\320\34@\262\21"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.731572 _llseek(17, 38338560, [38338560], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.732353 read(17, "C\320\233\365\f\253\215>\341}\234\340\314\23\356{'T\232Y\0321\255l\347-\377;;\1\201p"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.733427 _llseek(17, 38348800, [38348800], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.734136 read(17, "\200.\237\371+\321[\347\276|3M\233\343?\323\301\237\334\2327\3319\364\332s\344?\3154\232~"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.734832 _llseek(17, 38359040, [38359040], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.735649 read(17, "\234\232\4\242\6\310.\357M\372\365\263[y:\231\201[Vq\n\317\271\\P\3\21\347\30180z"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.736434 _llseek(17, 38369280, [38369280], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.736914 read(17, "0g\350Z5c2\227>\3\300X\257\1\317}]\243\275\0264\242\344,T\321+\350[ \266\7"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.737868 _llseek(17, 38379520, [38379520], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.738551 read(17, "\275\23\236<0>N\306\365\251\350T\363*\323\336\245\212"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.740798 gettimeofday({1333218578, 741343}, NULL) = 0 <0>
[pid 28470] 22:29:38.741759 poll([{fd=23, events=POLLIN|POLLOUT}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=16, events=POLLIN|POLLOUT}], 11, 60) = 1 ([{fd=23, revents=POLLOUT}]) <0>
[pid 28470] 22:29:38.777452 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:38.783011 gettimeofday({1333218578, 783159}, NULL) = 0 <0>
[pid 28470] 22:29:38.783535 write(23, "\377z\324\203\352MP\357n\314\252~\351\232=.\326\217\201*\223zEW\225\325\306\352\321Uz\363"..., 16384) = 16384 <0>
[pid 28470] 22:29:38.784134 write(23, "\357\345\275\274\342\317\5\226\260>\22\345\273\34\312^\252#\300\330\355(B\373M\357q\22\0010\311Z"..., 16384) = 16384 <0>
[pid 28470] 22:29:38.784781 write(23, "\31\300\300\30\250\272y\336\10=\314\210\34\f$]Z\240x>\1\16\f\1\200\34\r\350#\200X "..., 16384) = 15148 <0>
[pid 28470] 22:29:38.785442 write(23, "\225\235\0\260i>x\271Na\323\3700\4\17\v\357\232\32\3\27\217\207\363\363\f\200t\37\315vV"..., 16384) = 2904 <0>
[pid 28470] 22:29:38.786098 write(23, "\32\303\325\250\327Y\305O\37F\r\4\346\226kgG\320!\322\343\202@\4\203*\37\260\3744\37A"..., 16384) = -1 EAGAIN (Resource temporarily unavailable) <0>
[pid 28470] 22:29:38.786715 gettimeofday({1333218578, 786859}, NULL) = 0 <0>
[pid 28470] 22:29:38.787150 poll([{fd=16, events=POLLIN|POLLOUT}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN|POLLOUT}], 11, 14) = 0 (Timeout) <0>
[pid 28470] 22:29:38.801985 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:38.807515 gettimeofday({1333218578, 807696}, NULL) = 0 <0>
[pid 28470] 22:29:38.808038 gettimeofday({1333218578, 808197}, NULL) = 0 <0>
[pid 28470] 22:29:38.808558 poll([{fd=23, events=POLLIN|POLLOUT}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=16, events=POLLIN|POLLOUT}], 11, 99) = 1 ([{fd=23, revents=POLLIN}]) <0>
[pid 28470] 22:29:38.829968 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:38.835748 gettimeofday({1333218578, 835950}, NULL) = 0 <0>
[pid 28470] 22:29:38.836268 read(23, "\343)\0\0\0G\321\363\31A\332\322\316y/4%(oAi\264\0\0]\2\0\320_\2\0\240"..., 16384) = 46 <0>
[pid 28470] 22:29:38.837001 gettimeofday({1333218578, 837242}, NULL) = 0 <0>
[pid 28470] 22:29:38.837592 poll([{fd=16, events=POLLIN|POLLOUT}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN|POLLOUT}], 11, 70) = 0 (Timeout) <0>
[pid 28470] 22:29:38.908660 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:38.914257 gettimeofday({1333218578, 914440}, NULL) = 0 <0>
[pid 28470] 22:29:38.914824 _llseek(15, 40017920, [40017920], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.915323 read(15, "\303\245\n\33\345T\251\246J\377\2IL\357\201Ir[\31z\354|\32\275Y\321o\266\311\313K\f"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.915962 _llseek(15, 40028160, [40028160], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.916456 read(15, "\250\263\327\274Fx\342\246\345nM8%U\377^\25\234\334\244\0l\276\344\253\305\217\274\34\264D\375"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.919113 _llseek(15, 40038400, [40038400], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.919678 read(15, "\25\251Q\347A\4\351\4K\5\220\206\357?\tT\361\304\336z\210\v\17\35489Q\2243\360\0049"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.920335 _llseek(15, 40048640, [40048640], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.920806 read(15, "\3602\37\347^\230\"@)\276\207\313\363\37\373\16\217\351\321\30\36\302\257x\327\236r\271\3020\20\202"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.921758 _llseek(15, 40058880, [40058880], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.922218 read(15, "\0059[\354;\352m\0269 b\3xD;\323\310\206\303\342@\207\270I\305\241-T-\360\340j"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.923101 _llseek(15, 40069120, [40069120], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.923547 read(15, "\242\"\204j%\3\276\234\221u\270H|\\-\257L\32\vm\3554\250\276M\263\320\305\272\252\21\255"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.924378 _llseek(15, 40079360, [40079360], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.924805 read(15, "kG\311\f\362\32zl\311\303dq\373x\341\0358w\326\310\321\330=\2558x\252n\353\217\10\336"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.925511 _llseek(15, 40089600, [40089600], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.926024 read(15, "FeS\26\343\214Z\245\313\355-rp\366x\17\253\376\vT\224\371\212\215\357\27\275\t\"\357\336\4"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.927444 _llseek(15, 40099840, [40099840], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.927955 read(15, "Y\371)\377\6aM\244)Wt\327\341?\247\266\277\376\330r\2378G[\204jm\243\272\361\351u"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.928664 _llseek(15, 40110080, [40110080], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.929151 read(15, "\236\177\274\3558\233\303\362\307\250\303|\257\371\201\35\342E\361\337\177\336\241\220\370z\246\353\204\262\351\f"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.929828 _llseek(15, 40120320, [40120320], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.930253 read(15, "\344\330\333\234\301\242\2546\230\222Z3M\215\226\36\232\330\276?\325\311\261\273Y\367\217\331\273\323\331u"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.930900 _llseek(15, 40130560, [40130560], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.931309 read(15, "B\341)U\247SC}$\230\351[HjN\215=N&\206\370\237\325\270D\250\334\207\10\355Y\377"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.932210 _llseek(15, 40140800, [40140800], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.932639 read(15, "\234{\3@\250D%\347\2bK\364\373\f\26\10\200D\0\323\301\200[\321\302\240ynpT=\342"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.933360 _llseek(15, 40151040, [40151040], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.933921 read(15, "P\351\227\220\362m#\202\266\303\345\342\330\350\263\235~\273]\244\234\224\354Q\230h\37\200o\325\17^"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.934557 _llseek(15, 40161280, [40161280], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.934967 read(15, "\2364\226\302\301\26780\3\241\v\303\340\257\325s\356\10e\357\307\337\206a\360\205Z\321\351\35\17\303"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.945541 _llseek(15, 40171520, [40171520], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.946102 read(15, "N\237\235:a:s\274\323\\\354|\263\244u\303\33\364\343Gc\6\334\233\231\16\230.4\253^\233"..., 10240) = 10240 <0>
[pid 28470] 22:29:38.946900 _llseek(15, 40181760, [40181760], SEEK_SET) = 0 <0>
[pid 28470] 22:29:38.947787 read(15, "K\10\37\351\0\225\377\303\377\22\254s\23638\21\2\30\377\374\307@<dIP>JP\364\372j\235::tz:tt\364\351\323\243\246NH\336\212}\35\35\0354\312\232\376"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.012857 write(16, "h\315\223:\234:\324\2\243V\302\240Q\323\355\300\261\355U\316J8\274w\200$\37\v\377\264\352e"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.013548 write(16, "y\200\220\22\222dlI\254\10\212\37H\332]N\232A\200\221\24\371\363\256>\363\350\232<d6\24"..., 16384) = 13312 <0>
[pid 28470] 22:29:39.014116 write(16, "\256\20\3\307\202\3\230\2bw\375_\317\26628\373\357g\273\354g\235o\273].\327\327\201\360\226"..., 16384) = -1 EAGAIN (Resource temporarily unavailable) <0>
[pid 28470] 22:29:39.014646 gettimeofday({1333218579, 14779}, NULL) = 0 <0>
[pid 28470] 22:29:39.015042 poll([{fd=16, events=POLLIN|POLLOUT}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN|POLLOUT}], 11, 10) = 0 (Timeout) <0>
[pid 28470] 22:29:39.025837 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.031383 gettimeofday({1333218579, 31549}, NULL) = 0 <0>
[pid 28470] 22:29:39.031890 gettimeofday({1333218579, 32036}, NULL) = 0 <0>
[pid 28470] 22:29:39.032314 poll([{fd=23, events=POLLIN|POLLOUT}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=16, events=POLLIN|POLLOUT}], 11, 99) = 1 ([{fd=23, revents=POLLOUT}]) <0>
[pid 28470] 22:29:39.122470 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.128146 gettimeofday({1333218579, 128327}, NULL) = 0 <0>
[pid 28470] 22:29:39.128672 write(23, "\32\303\325\250\327Y\305O\37F\r\4\346\226kgG\320!\322\343\202@\4\203*\37\260\3744\37A"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.129342 write(23, "P\236\242-N\354\344\237e\303\341n\202\"\271\274\336=^\227Pc2\367\257W\25\27f\376c\207"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.130000 write(23, "\304\256>t\365\213\274\r\366\322\0102X\200\364&\367\213\233\315\220Sq\"\212\373\372nl\25\331z"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.130664 write(23, "\216)U\343\16r;\34s\203!\245'p\353\221\331;\256\232y7S{\246\235\354rFZ\206\234"..., 16384) = 7476 <0>
[pid 28470] 22:29:39.131289 write(23, "+\372\245c\325\\\373\201\340?\311\0\340a/\352p\276\355\255\327\204\33\v\267}\377\rG\302]\367"..., 16384) = -1 EAGAIN (Resource temporarily unavailable) <0>
[pid 28470] 22:29:39.131965 gettimeofday({1333218579, 132112}, NULL) = 0 <0>
[pid 28470] 22:29:39.132497 poll([{fd=16, events=POLLIN|POLLOUT}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN|POLLOUT}], 11, 10) = 0 (Timeout) <0>
[pid 28470] 22:29:39.143382 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.148902 gettimeofday({1333218579, 149053}, NULL) = 0 <0>
[pid 28470] 22:29:39.149386 gettimeofday({1333218579, 149538}, NULL) = 0 <0>
[pid 28470] 22:29:39.149901 poll([{fd=23, events=POLLIN|POLLOUT}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=16, events=POLLIN|POLLOUT}], 11, 99) = 1 ([{fd=23, revents=POLLOUT}]) <0>
[pid 28470] 22:29:39.216497 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.222067 gettimeofday({1333218579, 222223}, NULL) = 0 <0>
[pid 28470] 22:29:39.222593 write(23, "+\372\245c\325\\\373\201\340?\311\0\340a/\352p\276\355\255\327\204\33\v\267}\377\rG\302]\367"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.223197 write(23, "\317\352$\22XwjI\366\246o\n\264\321\306R~\307\21\270IFC\304\207Z\4\21\367\275\320?"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.223901 write(23, "\274z\254\305\330\370\367\f\321f+\336W*\271N\343\307Q\356O\366\261!\317\344\216\266\371\335p\215"..., 16384) = 16384 <0>
[pid 28470] 22:29:39.224528 write(23, ";B\v\200\373\33^\202~\347%\1\357b$\10\375!\3104\301\4\17\277f\236v}\321\340F\226"..., 16384) = 1668 <0>
[pid 28470] 22:29:39.225197 write(23, "\277\346\251\264m\316\33x\217\307\343\317\234<\350\242\215\24i\357\2368\245\267|\373\31:\214\355\216\222"..., 16384) = -1 EAGAIN (Resource temporarily unavailable) <0>
[pid 28470] 22:29:39.225734 gettimeofday({1333218579, 225873}, NULL) = 0 <0>
[pid 28470] 22:29:39.226119 poll([{fd=16, events=POLLIN|POLLOUT}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN|POLLOUT}], 11, 23) = 0 (Timeout) <0>
[pid 28470] 22:29:39.249924 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.255786 gettimeofday({1333218579, 255932}, NULL) = 0 <0>
[pid 28470] 22:29:39.256289 gettimeofday({1333218579, 256459}, NULL) = 0 <0>
[pid 28470] 22:29:39.257139 poll([{fd=23, events=POLLIN|POLLOUT}, {fd=14, events=POLLIN}, {fd=13, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=16, events=POLLIN|POLLOUT}], 11, 62) = 0 (Timeout) <0>
[pid 28470] 22:29:39.320064 poll(0x9eb7e60, 0, 5) = 0 (Timeout) <0>
[pid 28470] 22:29:39.325607 gettimeofday({1333218579, 325781}, NULL) = 0 <0>
[pid 28470] 22:29:39.365159 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 28470] 22:29:39.407633 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 <0>
[pid 28470] 22:29:39.432337 rt_sigaction(SIGSEGV, {SIG_DFL, [], 0}, NULL, 8) = 0 <0>
[pid 28470] 22:29:39.433276 sigreturn() = ? (mask now []) <0>
[pid 28470] 22:29:39.434143 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 28470 detached
[pid 28477] 22:29:39.435048 +++ killed by SIGSEGV +++
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Wed Apr 04, 2012 2:19 pm    Post subject: Reply with quote

хм, похоже на stack overflow, интересно что gdb показывает. Пересоберите с ./configure --enable-debug и в gdb - thread apply all bt - см. http://mldonkey.sourceforge.net/Bugs#gdb
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Wed Apr 04, 2012 4:20 pm    Post subject: Reply with quote

ygrek wrote:
хм, похоже на stack overflow, интересно что gdb показывает. Пересоберите с ./configure --enable-debug и в gdb - thread apply all bt - см. http://mldonkey.sourceforge.net/Bugs#gdb

Спасибо, что отозвались, уважаемый ygrek! Вот вывод gdb (еслм я правильно понял, что требуется):
Code:
Attaching to process 2936
Reading symbols from /usr/bin/mlnet...done.
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
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 /usr/lib/libmagic.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmagic.so.1
Reading symbols from /lib/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libm.so.6
Reading symbols from /lib/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/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/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb69abb70 (LWP 3274)]
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /lib/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/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 /usr/lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/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/i686/cmov/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnss_files.so.2
Reading symbols from /lib/i686/cmov/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libnss_dns.so.2
Reading symbols from /lib/i686/cmov/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libresolv.so.2
0xb72f7121 in mbrtowc () from /lib/i686/cmov/libc.so.6
(gdb) thread apply all bt

Thread 2 (Thread 0xb69abb70 (LWP 3274)):
#0  0xb77d5424 in __kernel_vsyscall ()
#1  0xb73cb4d2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
   #2  0x082f8c3f in hasher_thread (arg=0x0) at src/utils/lib/stubs_c.c:862
   #3  0xb73c6955 in start_thread () from /lib/i686/cmov/libpthread.so.0
   #4  0xb73465ee in clone () from /lib/i686/cmov/libc.so.6
   Backtrace stopped: Not enough registers or memory available to unwind further
   
   Thread 1 (Thread 0xb72306d0 (LWP 2936)):
   #0  0xb72f7121 in mbrtowc () from /lib/i686/cmov/libc.so.6
   #1  0xb732d6f8 in ?? () from /lib/i686/cmov/libc.so.6
   #2  0xb732dae9 in re_compile_fastmap () from /lib/i686/cmov/libc.so.6
   #3  0xb73313b1 in regcomp () from /lib/i686/cmov/libc.so.6
   #4  0xb752081d in ?? () from /usr/lib/libmagic.so.1
   #5  0xb752277b in file_softmagic () from /usr/lib/libmagic.so.1
   #6  0xb7522cf0 in file_ascmagic_with_encoding () from /usr/lib/libmagic.so.1
   #7  0xb752352c in file_ascmagic () from /usr/lib/libmagic.so.1
   #8  0xb752980e in file_buffer () from /usr/lib/libmagic.so.1
   #9  0xb751b16e in ?? () from /usr/lib/libmagic.so.1
   #10 0x082f0756 in ocaml_magic_file (c=-1222894408, fname=-1222894588)
       at src/utils/lib/magiclib_stub.c:182
       ---Type <return> to continue, or q <return> to quit---
       #11 0x0814af8c in camlCommonFile__check_1971 ()
       #12 0xb71c1cb8 in ?? ()
       Backtrace stopped: previous frame inner to this frame (corrupt stack?)
       (gdb)
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Thu Apr 05, 2012 8:28 am    Post subject: Reply with quote

Сколько файлов шарится? Грепните лог mldonkey по overflow - есть какие-то сообщения? После крэша покажите ещё вывод x/1000a $esp в gdb. Покажите вывод ulimit -s в консоли. Баг остаётся если отключить magic (определение типов файлов по содержимому - где-то в настройках должно быть)?
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Thu Apr 05, 2012 10:38 am    Post subject: Reply with quote

ygrek wrote:
Сколько файлов шарится? Грепните лог mldonkey по overflow - есть какие-то сообщения? После крэша покажите ещё вывод x/1000a $esp в gdb. Покажите вывод ulimit -s в консоли. Баг остаётся если отключить magic (определение типов файлов по содержимому - где-то в настройках должно быть)?

1. Файлов шарится 2758.
2. В логе (со всеми включенными опциями) про overflow ничего не нашёл.
3. ulimit -s 8192
4. x/1000a $esp (сразу после "Backtrace stopped: previous frame...") выдаёт:
Code:

(gdb) x/1000a $esp
0xbfd7aba8:     0xbfd7abcc      0x5     0x0     0xb7341db6 <poll>
0xbfd7abb8:     0x5     0x0     0x83361f0 <_GLOBAL_OFFSET_TABLE_>       0x0
0xbfd7abc8:     0x1     0xbfd7ac3c      0x82f8972 <try_poll>        0x9eacad0
0xbfd7abd8:     0x0     0x5     0x0     0x2328001
0xbfd7abe8:     0x24fdcf3       0x9     0x1     0x1
0xbfd7abf8:     0x2328001       0x9f62de0       0x0     0x47ae147b
0xbfd7ac08:     0x3f747ae1      0x8501ebc <camlInt64__11>       0x9eaead8       0x9eacad0
0xbfd7ac18:     0x9f62de0       0x191   0x37f0c7f       0x8181d61 <camlCommonUploads__next_uploads_2074>
0xbfd7ac28:     0x776e290f      0x82f884b <try_poll> 0x83361f0 <_GLOBAL_OFFSET_TABLE_>    0x9
0xbfd7ac38:     0x191   0xbfd7ac5c      0x82f8a94 <ml_select>        0x1
0xbfd7ac48:     0xa183cbc       0x1     0x823e8d0 <camlBasicSocket__exn_log_1483>0x82f8a59 <ml_select>
0xbfd7ac58:     0x1     0x3     0x823f65f <camlBasicSocket__loop_1558>      0x1
0xbfd7ac68:     0xa183cbc       0xbfd7ac74      0x823f635 <camlBasicSocket__loop_1558>   0xbfd7ac98
0xbfd7ac78:     0x823f5e0 <camlBasicSocket__loop_1558>       0xb722396c      0x828204c <camlList__iter_1074>   0x833c2ec <camlCommonMain__1>
0xbfd7ac88:     0x1     0x80515ab <camlCommonMain__entry>    0x804ed31 <caml_program>        0x8311792 <caml_start_program>
0xbfd7ac98:     0x0     0x83117b2 <caml_start_program>       0x0     0x1
0xbfd7aca8:     0x0     0xbfd7ad08      0x833a438 <caml_code_segments>        0x833a434 <caml_code_segments>
0xbfd7acb8:     0xbfd7af09      0x83024a5 <caml_main>       0x8561500 <caml_termination_jmpbuf>  0x0
0xbfd7acc8:     0x833c2c0 <camlStd_exit__data_end>      0x50    0x1f4   0x0
0xbfd7acd8:     0xbfd7ace8      0x831194d <__do_global_ctors_aux>    0x0     0x83361f0 <_GLOBAL_OFFSET_TABLE_>
0xbfd7ace8:     0xbfd7acf8      0x804cc50 <_init>    0xb77ed380      0x83361f0 <_GLOBAL_OFFSET_TABLE_>
0xbfd7acf8:     0xbfd7ad28      0xb73c5ff4      0x0     0x0
0xbfd7ad08:     0xbfd7ad28      0x83024ec <main>     0xbfd7add4      0xb77ed380
0xbfd7ad18:     0x83118db <__libc_csu_init>  0xb73c5ff4      0x83118d0 <__libc_csu_init>  0x0
0xbfd7ad28:     0xbfd7ada8      0xb7299ca6 <__libc_start_main>      0x7     0xbfd7add4
0xbfd7ad38:     0xbfd7adf4      0xb7401568      0xbfd7ad90      0xffffffff
0xbfd7ad48:     0xb77faff4      0x804b9e4       0x1     0xbfd7ad90
0xbfd7ad58:     0xb77ec966      0xb77fbab0      0xb72436b0      0xb73c5ff4
0xbfd7ad68:     0x0     0x0     0xbfd7ada8      0x232add63
0xbfd7ad78:     0xdf486b72      0x0     0x0     0x0
0xbfd7ad88:     0x7     0x804e120 <_start>      0x0     0xb77f2580
0xbfd7ad98:     0xb7299bcb <__libc_start_main>       0xb77faff4      0x7     0x804e120 <_start>
0xbfd7ada8:     0x0     0x804e141 <_start>   0x83024d8 <main>        0x7
0xbfd7adb8:     0xbfd7add4      0x83118d0 <__libc_csu_init>     0x83118c0 <__libc_csu_fini>  0xb77ed380
0xbfd7adc8:     0xbfd7adcc      0xb77fb8f8      0x7     0xbfd7af09
0xbfd7add8:     0xbfd7af18      0xbfd7af2a      0xbfd7af32      0xbfd7af3c
0xbfd7ade8:     0xbfd7af58      0xbfd7af5d      0x0     0xbfd7af6f
0xbfd7adf8:     0xbfd7af81      0xbfd7af94      0xbfd7afa1      0xbfd7afc4
0xbfd7ae08:     0xbfd7afd5      0xbfd7afe3      0x0     0x20
0xbfd7ae18:     0xb77de414 <__kernel_vsyscall>  0x21    0xb77de000      0x10
0xbfd7ae28:     0xbfe9fbff      0x6     0x1000  0x11
0xbfd7ae38:     0x64    0x3     0x8048034       0x4
0xbfd7ae48:     0x20    0x5     0x8     0x7
0xbfd7ae58:     0xb77df000      0x8     0x0     0x9
0xbfd7ae68:     0x804e120 <_start>      0xb     0x6d    0xc
0xbfd7ae78:     0x6d    0xd     0x72    0xe
0xbfd7ae88:     0x72    0x17    0x0     0x19
0xbfd7ae98:     0xbfd7aebb      0x1f    0xbfd7afed      0xf
0xbfd7aea8:     0xbfd7aecb      0x0     0x0     0x0
0xbfd7aeb8:     0x7d000000      0x5e6470bb      0x6d0e4638      0xf9bd0ee9
0xbfd7aec8:     0x6992775f      0x363836        0x0     0x0
0xbfd7aed8:     0x0     0x0     0x0     0x0
0xbfd7aee8:     0x0     0x0     0x0     0x0
0xbfd7aef8:     0x0     0x0     0x0     0x0
0xbfd7af08:     0x73752f00      0x69622f72      0x6c6d2f6e      0x74656e
0xbfd7af18:     0x696c632d      0x5f746e65      0x646e6962      0x6464615f
0xbfd7af28:     0x2e300072      0x2e302e30      0x6c2d0030      0x665f676f
0xbfd7af38:     0x656c69        0x7261762f      0x676f6c2f      0x646c6d2f
0xbfd7af48:     0x656b6e6f      0x6c6d2f79      0x2e74656e      0x676f6c
0xbfd7af58:     0x6469702d      0x61762f00      0x75722f72      0x6c6d2f6e
0xbfd7af68:     0x6b6e6f64      0x4c007965      0x55474e41      0x3d454741
0xbfd7af78:     0x555f6e65      0x6e653a53      0x4d4f4800      0x762f3d45
0xbfd7af88:     0x6d2f7261      0x6e6f646c      0x79656b        0x4e474f4c
0xbfd7af98:     0x3d454d41      0x746f6f72      0x54415000      0x732f3d48
0xbfd7afa8:     0x3a6e6962      0x7273752f      0x6962732f      0x622f3a6e
0xbfd7afb8:     0x2f3a6e69      0x2f727375      0x6e6962        0x474e414c
0xbfd7afc8:     0x5f6e653d      0x552e5355      0x382d4654      0x45485300
0xbfd7afd8:     0x2f3d4c4c      0x2f6e6962      0x50006873      0x2f3d4457
0xbfd7afe8:     0x746f6f72      0x73752f00      0x69622f72      0x6c6d2f6e
0xbfd7aff8:     0x74656e        0x0     Cannot access memory at address 0xbfd7b000
(gdb)

Но сегфолт в этот момент не происходит - если выйти из gdb процесс продолжает крутиться... Может я как-то неправильно Ваши указания по диагностике выполняю?
5. Насчёт magic - пересоберу с отключенным - отпишусь...
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Thu Apr 05, 2012 12:58 pm    Post subject: Reply with quote

Аргх, ну да - неправильно :) (про magic отбой тогда).
Запустите под gdb - дождитесь когда крэшнется - тогда gdb покажет промпт - и тогда смотрите бэктрейс. Либо можно уже пост-фактум смотреть в корке. Либо можно запустить нормальным образом - потом зааттачиться с помощью gdb -p $(pgrep mlnet) - сделать continue и ждать крэша. Нужен бэктрейс именно в момент падения, а не во время нормальной работы.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Thu Apr 05, 2012 1:10 pm    Post subject: Reply with quote

ygrek wrote:
Аргх, ну да - неправильно Smile (про magic отбой тогда).
Запустите под gdb - дождитесь когда крэшнется - тогда gdb покажет промпт - и тогда смотрите бэктрейс. Либо можно уже пост-фактум смотреть в корке. Либо можно запустить нормальным образом - потом зааттачиться с помощью gdb -p $(pgrep mlnet) - сделать continue и ждать крэша. Нужен бэктрейс именно в момент падения, а не во время нормальной работы.

Ну что с меня, гуманитария, взять... Smile Запустил правильным образом. Отпишусь по результатам... Кстати, бывает через час сегфолтится, а бывает через полсуток...
Back to top
View user's profile Send private message
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Thu Apr 05, 2012 6:16 pm    Post subject: Reply with quote

ygrek wrote:
Аргх, ну да - неправильно Smile

Вот теперь правильно.
Code:

Program received signal SIGSEGV, Segmentation fault.
0x0828c40d in camlQueue__fold_1087 ()
(gdb) thread apply all bt

Thread 3 (Thread 0xb6b99b70 (LWP 25943)):
#0  0xb774d424 in __kernel_vsyscall ()
#1  0xb73434d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0x082f8c3f in hasher_thread (arg=0x0) at src/utils/lib/stubs_c.c:862
#3  0xb733e955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4  0xb72be5ee in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb6398b70 (LWP 25944)):
#0  0xb774d424 in __kernel_vsyscall ()
#1  0xb73434d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0x082efbbb in hasher_thread (arg=0x0) at src/daemon/common/commonHasher_c.c:329
#3  0xb733e955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4  0xb72be5ee in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb71a86d0 (LWP 25937)):
#0  0x0828c40d in camlQueue__fold_1087 ()
#1  0xb71a296c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

---------

(gdb) x/1000a $esp
0xbfe17b70:     0xb71a296c      0x0     0x814d947 <camlCommonFile__queue_last_1918>  0x9c3acf0
0xbfe17b80:     0x814ad66 <camlCommonFile__fun_2605> 0xa7da438       0xb71a29a4      0x9c3b6ac
0xbfe17b90:     0x9c3b6ac       0x82a86e7 <camlWeak__iter_bucket_1117>       0x9c3b708       0x82a86fc <camlWeak__iter_bucket_1117>
0xbfe17ba0:     0x1     0x9c3b708       0xa7da424       0x82800bd <camlArray__iter_1101>
0xbfe17bb0:     0x990faf8       0xa7da410       0x5cf   0x805
0xbfe17bc0:     0x82a9327 <camlWeak__iter_1114>      0x98e9068       0x823f577 <camlBasicSocket__exec_timers_1555>     0xbfe17be4
0xbfe17bd0:     0x823f54f <camlBasicSocket__exec_timers_1555>        0x997200c       0x823f29f <camlBasicSocket__exec_hooks_1546>       0x1
0xbfe17be0:     0x823f6f1 <camlBasicSocket__loop_1558>      0xbfe17c08      0x823f5e0 <camlBasicSocket__loop_1558>     0xb718e580
0xbfe17bf0:     0x828204c <camlList__iter_1074>      0x833c2ec <camlCommonMain__1>   0x1     0x80515ab <camlCommonMain__entry>
0xbfe17c00:     0x804ed31 <caml_program>   0x8311792 <caml_start_program>       0x0     0x83117b2 <caml_start_program>
0xbfe17c10:     0x0     0x1     0x0     0xbfe17c78
0xbfe17c20:     0x833a438 <caml_code_segments>        0x833a434 <caml_code_segments>  0xbfe18e91      0x83024a5 <caml_main>
0xbfe17c30:     0x8561500 <caml_termination_jmpbuf>     0x0     0x833c2c0 <camlStd_exit__data_end>      0x50
0xbfe17c40:     0x1f4   0x0     0xbfe17c58      0x831194d <__do_global_ctors_aux>
0xbfe17c50:     0x0     0x83361f0 <_GLOBAL_OFFSET_TABLE_>       0xbfe17c68      0x804cc50 <_init>
0xbfe17c60:     0xb775c380      0x83361f0 <_GLOBAL_OFFSET_TABLE_>       0xbfe17c98      0xb7334ff4
0xbfe17c70:     0x0     0x0     0xbfe17c98      0x83024ec <main>
0xbfe17c80:     0xbfe17d44      0xb775c380      0x83118db <__libc_csu_init>  0xb7334ff4
0xbfe17c90:     0x83118d0 <__libc_csu_init>     0x0     0xbfe17d18      0xb7208ca6 <__libc_start_main>
0xbfe17ca0:     0x7     0xbfe17d44      0xbfe17d64      0xb7370568
0xbfe17cb0:     0xbfe17d00      0xffffffff      0xb7769ff4      0x804b9e4
0xbfe17cc0:     0x1     0xbfe17d00      0xb775b966      0xb776aab0
0xbfe17cd0:     0xb71b26b0      0xb7334ff4      0x0     0x0
0xbfe17ce0:     0xbfe17d18      0x8f92601a      0xc73f60b       0x0
0xbfe17cf0:     0x0     0x0     0x7     0x804e120 <_start>
0xbfe17d00:     0x0     0xb7761580      0xb7208bcb <__libc_start_main>       0xb7769ff4
0xbfe17d10:     0x7     0x804e120 <_start>      0x0     0x804e141 <_start>
0xbfe17d20:     0x83024d8 <main>        0x7     0xbfe17d44      0x83118d0 <__libc_csu_init>
0xbfe17d30:     0x83118c0 <__libc_csu_fini>     0xb775c380      0xbfe17d3c      0xb776a8f8
0xbfe17d40:     0x7     0xbfe18e91      0xbfe18ea0      0xbfe18eb2
0xbfe17d50:     0xbfe18eba      0xbfe18ec4      0xbfe18ee0      0xbfe18ee5
0xbfe17d60:     0x0     0xbfe18ef7      0xbfe18f05      0xbfe18f0d
0xbfe17d70:     0xbfe18f22      0xbfe18f35      0xbfe18f42      0xbfe18f59
0xbfe17d80:     0xbfe18f66      0xbfe18f71      0xbfe18f89      0xbfe18fac
0xbfe17d90:     0xbfe18fbd      0xbfe18fd4      0xbfe18fe4      0x0
0xbfe17da0:     0x20    0xb774d414 <__kernel_vsyscall>  0x21    0xb774d000
0xbfe17db0:     0x10    0xbfe9fbff      0x6     0x1000
0xbfe17dc0:     0x11    0x64    0x3     0x8048034
0xbfe17dd0:     0x4     0x20    0x5     0x8
0xbfe17de0:     0x7     0xb774e000      0x8     0x0
0xbfe17df0:     0x9     0x804e120 <_start>      0xb     0x6d
0xbfe17e00:     0xc     0x6d    0xd     0x72
0xbfe17e10:     0xe     0x72    0x17    0x0
0xbfe17e20:     0x19    0xbfe17e4b      0x1f    0xbfe18fed
0xbfe17e30:     0xf     0xbfe17e5b      0x0     0x0
0xbfe17e40:     0x0     0x0     0x46000000      0x902a00f4
0xbfe17e50:     0x94b2a6b5      0xacd3b215      0x693877fe      0x363836
0xbfe17e60:     0x0     0x0     0x0     0x0
0xbfe17e70:     0x0     0x0     0x0     0x0
0xbfe17e80:     0x0     0x0     0x0     0x0
0xbfe17e90:     0x0     0x0     0x0     0x0
0xbfe17ea0:     0x0     0x0     0x0     0x0
0xbfe17eb0:     0x0     0x0     0x0     0x0
0xbfe17ec0:     0x0     0x0     0x0     0x0
0xbfe17ed0:     0x0     0x0     0x0     0x0
0xbfe17ee0:     0x0     0x0     0x0     0x0
0xbfe17ef0:     0x0     0x0     0x0     0x0
0xbfe17f00:     0x0     0x0     0x0     0x0
0xbfe17f10:     0x0     0x0     0x0     0x0
0xbfe17f20:     0x0     0x0     0x0     0x0
0xbfe17f30:     0x0     0x0     0x0     0x0
0xbfe17f40:     0x0     0x0     0x0     0x0
0xbfe17f50:     0x0     0x0     0x0     0x0
0xbfe17f60:     0x0     0x0     0x0     0x0
0xbfe17f70:     0x0     0x0     0x0     0x0
0xbfe17f80:     0x0     0x0     0x0     0x0
0xbfe17f90:     0x0     0x0     0x0     0x0
0xbfe17fa0:     0x0     0x0     0x0     0x0
0xbfe17fb0:     0x0     0x0     0x0     0x0
0xbfe17fc0:     0x0     0x0     0x0     0x0
0xbfe17fd0:     0x0     0x0     0x0     0x0
0xbfe17fe0:     0x0     0x0     0x0     0x0
0xbfe17ff0:     0x0     0x0     0x0     0x0
0xbfe18000:     0x0     0x0     0x0     0x0
0xbfe18010:     0x0     0x0     0x0     0x0
0xbfe18020:     0x0     0x0     0x0     0x0
0xbfe18030:     0x0     0x0     0x0     0x0
0xbfe18040:     0x0     0x0     0x0     0x0
0xbfe18050:     0x0     0x0     0x0     0x0
0xbfe18060:     0x0     0x0     0x0     0x0
0xbfe18070:     0x0     0x0     0x0     0x0
0xbfe18080:     0x0     0x0     0x0     0x0
0xbfe18090:     0x0     0x0     0x0     0x0
0xbfe180a0:     0x0     0x0     0x0     0x0
0xbfe180b0:     0x0     0x0     0x0     0x0
0xbfe180c0:     0x0     0x0     0x0     0x0
0xbfe180d0:     0x0     0x0     0x0     0x0
0xbfe180e0:     0x0     0x0     0x0     0x0
0xbfe180f0:     0x0     0x0     0x0     0x0
0xbfe18100:     0x0     0x0     0x0     0x0
0xbfe18110:     0x0     0x0     0x0     0x0
0xbfe18120:     0x0     0x0     0x0     0x0
0xbfe18130:     0x0     0x0     0x0     0x0
0xbfe18140:     0x0     0x0     0x0     0x0
0xbfe18150:     0x0     0x0     0x0     0x0
0xbfe18160:     0x0     0x0     0x0     0x0
0xbfe18170:     0x0     0x0     0x0     0x0
0xbfe18180:     0x0     0x0     0x0     0x0
0xbfe18190:     0x0     0x0     0x0     0x0
0xbfe181a0:     0x0     0x0     0x0     0x0
0xbfe181b0:     0x0     0x0     0x0     0x0
0xbfe181c0:     0x0     0x0     0x0     0x0
0xbfe181d0:     0x0     0x0     0x0     0x0
0xbfe181e0:     0x0     0x0     0x0     0x0
0xbfe181f0:     0x0     0x0     0x0     0x0
0xbfe18200:     0x0     0x0     0x0     0x0
0xbfe18210:     0x0     0x0     0x0     0x0
0xbfe18220:     0x0     0x0     0x0     0x0
0xbfe18230:     0x0     0x0     0x0     0x0
0xbfe18240:     0x0     0x0     0x0     0x0
0xbfe18250:     0x0     0x0     0x0     0x0
0xbfe18260:     0x0     0x0     0x0     0x0
0xbfe18270:     0x0     0x0     0x0     0x0
0xbfe18280:     0x0     0x0     0x0     0x0
0xbfe18290:     0x0     0x0     0x0     0x0
0xbfe182a0:     0x0     0x0     0x0     0x0
0xbfe182b0:     0x0     0x0     0x0     0x0
0xbfe182c0:     0x0     0x0     0x0     0x0
0xbfe182d0:     0x0     0x0     0x0     0x0
0xbfe182e0:     0x0     0x0     0x0     0x0
0xbfe182f0:     0x0     0x0     0x0     0x0
0xbfe18300:     0x0     0x0     0x0     0x0
0xbfe18310:     0x0     0x0     0x0     0x0
0xbfe18320:     0x0     0x0     0x0     0x0
0xbfe18330:     0x0     0x0     0x0     0x0
0xbfe18340:     0x0     0x0     0x0     0x0
0xbfe18350:     0x0     0x0     0x0     0x0
0xbfe18360:     0x0     0x0     0x0     0x0
0xbfe18370:     0x0     0x0     0x0     0x0
0xbfe18380:     0x0     0x0     0x0     0x0
0xbfe18390:     0x0     0x0     0x0     0x0
0xbfe183a0:     0x0     0x0     0x0     0x0
0xbfe183b0:     0x0     0x0     0x0     0x0
0xbfe183c0:     0x0     0x0     0x0     0x0
0xbfe183d0:     0x0     0x0     0x0     0x0
0xbfe183e0:     0x0     0x0     0x0     0x0
0xbfe183f0:     0x0     0x0     0x0     0x0
0xbfe18400:     0x0     0x0     0x0     0x0
0xbfe18410:     0x0     0x0     0x0     0x0
0xbfe18420:     0x0     0x0     0x0     0x0
0xbfe18430:     0x0     0x0     0x0     0x0
0xbfe18440:     0x0     0x0     0x0     0x0
0xbfe18450:     0x0     0x0     0x0     0x0
0xbfe18460:     0x0     0x0     0x0     0x0
0xbfe18470:     0x0     0x0     0x0     0x0
0xbfe18480:     0x0     0x0     0x0     0x0
0xbfe18490:     0x0     0x0     0x0     0x0
0xbfe184a0:     0x0     0x0     0x0     0x0
0xbfe184b0:     0x0     0x0     0x0     0x0
0xbfe184c0:     0x0     0x0     0x0     0x0
0xbfe184d0:     0x0     0x0     0x0     0x0
0xbfe184e0:     0x0     0x0     0x0     0x0
0xbfe184f0:     0x0     0x0     0x0     0x0
0xbfe18500:     0x0     0x0     0x0     0x0
0xbfe18510:     0x0     0x0     0x0     0x0
0xbfe18520:     0x0     0x0     0x0     0x0
0xbfe18530:     0x0     0x0     0x0     0x0
0xbfe18540:     0x0     0x0     0x0     0x0
0xbfe18550:     0x0     0x0     0x0     0x0
0xbfe18560:     0x0     0x0     0x0     0x0
0xbfe18570:     0x0     0x0     0x0     0x0
0xbfe18580:     0x0     0x0     0x0     0x0
0xbfe18590:     0x0     0x0     0x0     0x0
0xbfe185a0:     0x0     0x0     0x0     0x0
0xbfe185b0:     0x0     0x0     0x0     0x0
0xbfe185c0:     0x0     0x0     0x0     0x0
0xbfe185d0:     0x0     0x0     0x0     0x0
0xbfe185e0:     0x0     0x0     0x0     0x0
0xbfe185f0:     0x0     0x0     0x0     0x0
0xbfe18600:     0x0     0x0     0x0     0x0
0xbfe18610:     0x0     0x0     0x0     0x0
0xbfe18620:     0x0     0x0     0x0     0x0
0xbfe18630:     0x0     0x0     0x0     0x0
0xbfe18640:     0x0     0x0     0x0     0x0
0xbfe18650:     0x0     0x0     0x0     0x0
0xbfe18660:     0x0     0x0     0x0     0x0
0xbfe18670:     0x0     0x0     0x0     0x0
0xbfe18680:     0x0     0x0     0x0     0x0
0xbfe18690:     0x0     0x0     0x0     0x0
0xbfe186a0:     0x0     0x0     0x0     0x0
0xbfe186b0:     0x0     0x0     0x0     0x0
0xbfe186c0:     0x0     0x0     0x0     0x0
0xbfe186d0:     0x0     0x0     0x0     0x0
0xbfe186e0:     0x0     0x0     0x0     0x0
0xbfe186f0:     0x0     0x0     0x0     0x0
0xbfe18700:     0x0     0x0     0x0     0x0
0xbfe18710:     0x0     0x0     0x0     0x0
0xbfe18720:     0x0     0x0     0x0     0x0
0xbfe18730:     0x0     0x0     0x0     0x0
0xbfe18740:     0x0     0x0     0x0     0x0
0xbfe18750:     0x0     0x0     0x0     0x0
0xbfe18760:     0x0     0x0     0x0     0x0
0xbfe18770:     0x0     0x0     0x0     0x0
0xbfe18780:     0x0     0x0     0x0     0x0
0xbfe18790:     0x0     0x0     0x0     0x0
0xbfe187a0:     0x0     0x0     0x0     0x0
0xbfe187b0:     0x0     0x0     0x0     0x0
0xbfe187c0:     0x0     0x0     0x0     0x0
0xbfe187d0:     0x0     0x0     0x0     0x0
0xbfe187e0:     0x0     0x0     0x0     0x0
0xbfe187f0:     0x0     0x0     0x0     0x0
0xbfe18800:     0x0     0x0     0x0     0x0
0xbfe18810:     0x0     0x0     0x0     0x0
0xbfe18820:     0x0     0x0     0x0     0x0
0xbfe18830:     0x0     0x0     0x0     0x0
0xbfe18840:     0x0     0x0     0x0     0x0
0xbfe18850:     0x0     0x0     0x0     0x0
0xbfe18860:     0x0     0x0     0x0     0x0
0xbfe18870:     0x0     0x0     0x0     0x0
0xbfe18880:     0x0     0x0     0x0     0x0
0xbfe18890:     0x0     0x0     0x0     0x0
0xbfe188a0:     0x0     0x0     0x0     0x0
0xbfe188b0:     0x0     0x0     0x0     0x0
0xbfe188c0:     0x0     0x0     0x0     0x0
0xbfe188d0:     0x0     0x0     0x0     0x0
0xbfe188e0:     0x0     0x0     0x0     0x0
0xbfe188f0:     0x0     0x0     0x0     0x0
0xbfe18900:     0x0     0x0     0x0     0x0
0xbfe18910:     0x0     0x0     0x0     0x0
0xbfe18920:     0x0     0x0     0x0     0x0
0xbfe18930:     0x0     0x0     0x0     0x0
0xbfe18940:     0x0     0x0     0x0     0x0
0xbfe18950:     0x0     0x0     0x0     0x0
0xbfe18960:     0x0     0x0     0x0     0x0
0xbfe18970:     0x0     0x0     0x0     0x0
0xbfe18980:     0x0     0x0     0x0     0x0
0xbfe18990:     0x0     0x0     0x0     0x0
0xbfe189a0:     0x0     0x0     0x0     0x0
0xbfe189b0:     0x0     0x0     0x0     0x0
0xbfe189c0:     0x0     0x0     0x0     0x0
0xbfe189d0:     0x0     0x0     0x0     0x0
0xbfe189e0:     0x0     0x0     0x0     0x0
0xbfe189f0:     0x0     0x0     0x0     0x0
0xbfe18a00:     0x0     0x0     0x0     0x0
0xbfe18a10:     0x0     0x0     0x0     0x0
0xbfe18a20:     0x0     0x0     0x0     0x0
0xbfe18a30:     0x0     0x0     0x0     0x0
0xbfe18a40:     0x0     0x0     0x0     0x0
0xbfe18a50:     0x0     0x0     0x0     0x0
0xbfe18a60:     0x0     0x0     0x0     0x0
0xbfe18a70:     0x0     0x0     0x0     0x0
0xbfe18a80:     0x0     0x0     0x0     0x0
0xbfe18a90:     0x0     0x0     0x0     0x0
0xbfe18aa0:     0x0     0x0     0x0     0x0
0xbfe18ab0:     0x0     0x0     0x0     0x0
0xbfe18ac0:     0x0     0x0     0x0     0x0
0xbfe18ad0:     0x0     0x0     0x0     0x0
0xbfe18ae0:     0x0     0x0     0x0     0x0
0xbfe18af0:     0x0     0x0     0x0     0x0
0xbfe18b00:     0x0     0x0     0x0     0x0
(gdb)
Back to top
View user's profile Send private message
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Fri Apr 06, 2012 10:14 am    Post subject: Reply with quote

Очередной раз.
Code:

Program received signal SIGSEGV, Segmentation fault.
0x0828c5c3 in camlQueue__peek_1058 ()
(gdb) thread apply all bt

Thread 2 (Thread 0xb697fb70 (LWP 12330)):
#0  0xb772b424 in __kernel_vsyscall ()
#1  0xb73214d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0x082f8c3f in hasher_thread (arg=0x0) at src/utils/lib/stubs_c.c:862
#3  0xb731c955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4  0xb729c5ee in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb71866d0 (LWP 12323)):
#0  0x0828c5c3 in camlQueue__peek_1058 ()
#1  0x0814d938 in camlCommonFile__queue_last_1918 ()
#2  0x0a36aa40 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

------

(gdb) x/1000a $esp
0xbfe78b08:     0x814d938 <camlCommonFile__queue_last_1918>  0xa36aa40       0x814ad66 <camlCommonFile__fun_2605>       0xb7184c20
0xbfe78b18:     0xb7165950      0xa36b464       0xa36b464       0x82a86e7 <camlWeak__iter_bucket_1117>
0xbfe78b28:     0xa8956a8       0x82a86fc <camlWeak__iter_bucket_1117>      0x3     0xa8956a8
0xbfe78b38:     0xb7184c0c      0x82800bd <camlArray__iter_1101>    0xa1d4134       0xb7184bf8
0xbfe78b48:     0x533   0x805   0x82a9327 <camlWeak__iter_1114>      0xa1a4994
0xbfe78b58:     0x823f577 <camlBasicSocket__exec_timers_1555>       0xbfe78b74      0x823f54f <camlBasicSocket__exec_timers_1555>      0xa6f9158
0xbfe78b68:     0x823f29f <camlBasicSocket__exec_hooks_1546> 0x1     0x823f6f1 <camlBasicSocket__loop_1558>    0xbfe78b98
0xbfe78b78:     0x823f5e0 <camlBasicSocket__loop_1558>       0xb71652e8      0x828204c <camlList__iter_1074>    0x833c2ec <camlCommonMain__1>
0xbfe78b88:     0x1     0x80515ab <camlCommonMain__entry>    0x804ed31 <caml_program>   0x8311792 <caml_start_program>
0xbfe78b98:     0x0     0x83117b2 <caml_start_program>       0x0     0x1
0xbfe78ba8:     0x0     0xbfe78c08      0x833a438 <caml_code_segments>        0x833a434 <caml_code_segments>
0xbfe78bb8:     0xbfe79e9c      0x83024a5 <caml_main>       0x8561500 <caml_termination_jmpbuf>     0x0
0xbfe78bc8:     0x833c2c0 <camlStd_exit__data_end>      0x50    0x1f4   0x0
0xbfe78bd8:     0xbfe78be8      0x831194d <__do_global_ctors_aux>    0x0     0x83361f0 <_GLOBAL_OFFSET_TABLE_>
0xbfe78be8:     0xbfe78bf8      0x804cc50 <_init>    0xb773a380      0x83361f0 <_GLOBAL_OFFSET_TABLE_>
0xbfe78bf8:     0xbfe78c28      0xb7312ff4      0x0     0x0
0xbfe78c08:     0xbfe78c28      0x83024ec <main>     0xbfe78cd4      0xb773a380
0xbfe78c18:     0x83118db <__libc_csu_init>  0xb7312ff4      0x83118d0 <__libc_csu_init>     0x0
0xbfe78c28:     0xbfe78ca8      0xb71e6ca6 <__libc_start_main>      0x7     0xbfe78cd4
0xbfe78c38:     0xbfe78cf4      0xb734e568      0xbfe78c90      0xffffffff
0xbfe78c48:     0xb7747ff4      0x804b9e4       0x1     0xbfe78c90
0xbfe78c58:     0xb7739966      0xb7748ab0      0xb71906b0      0xb7312ff4
0xbfe78c68:     0x0     0x0     0xbfe78ca8      0x2f6f8e6c
0xbfe78c78:     0xdcaf387d      0x0     0x0     0x0
0xbfe78c88:     0x7     0x804e120 <_start>      0x0     0xb773f580
0xbfe78c98:     0xb71e6bcb <__libc_start_main>       0xb7747ff4      0x7     0x804e120 <_start>
0xbfe78ca8:     0x0     0x804e141 <_start>   0x83024d8 <main>        0x7
0xbfe78cb8:     0xbfe78cd4      0x83118d0 <__libc_csu_init>     0x83118c0 <__libc_csu_fini>     0xb773a380
0xbfe78cc8:     0xbfe78ccc      0xb77488f8      0x7     0xbfe79e9c
0xbfe78cd8:     0xbfe79eab      0xbfe79ebd      0xbfe79ec5      0xbfe79ecf
0xbfe78ce8:     0xbfe79eeb      0xbfe79ef0      0x0     0xbfe79f02
0xbfe78cf8:     0xbfe79f10      0xbfe79f18      0xbfe79f2b      0xbfe79f38
0xbfe78d08:     0xbfe79f45      0xbfe79f5c      0xbfe79f67      0xbfe79f74
0xbfe78d18:     0xbfe79f8c      0xbfe79faf      0xbfe79fc6      0xbfe79fd7
0xbfe78d28:     0xbfe79fe7      0x0     0x20    0xb772b414 <__kernel_vsyscall>
0xbfe78d38:     0x21    0xb772b000      0x10    0xbfe9fbff
0xbfe78d48:     0x6     0x1000  0x11    0x64
0xbfe78d58:     0x3     0x8048034       0x4     0x20
0xbfe78d68:     0x5     0x8     0x7     0xb772c000
0xbfe78d78:     0x8     0x0     0x9     0x804e120 <_start>
0xbfe78d88:     0xb     0x6d    0xc     0x6d
0xbfe78d98:     0xd     0x72    0xe     0x72
0xbfe78da8:     0x17    0x0     0x19    0xbfe78ddb
0xbfe78db8:     0x1f    0xbfe79fed      0xf     0xbfe78deb
0xbfe78dc8:     0x0     0x0     0x0     0x0
0xbfe78dd8:     0xf7000000      0xf74196d4      0x2b89f03b      0x3cdd97cb
0xbfe78de8:     0x69fdf7f7      0x363836        0x0     0x0
0xbfe78df8:     0x0     0x0     0x0     0x0
0xbfe78e08:     0x0     0x0     0x0     0x0
0xbfe78e18:     0x0     0x0     0x0     0x0
0xbfe78e28:     0x0     0x0     0x0     0x0
0xbfe78e38:     0x0     0x0     0x0     0x0
0xbfe78e48:     0x0     0x0     0x0     0x0
0xbfe78e58:     0x0     0x0     0x0     0x0
0xbfe78e68:     0x0     0x0     0x0     0x0
0xbfe78e78:     0x0     0x0     0x0     0x0
0xbfe78e88:     0x0     0x0     0x0     0x0
0xbfe78e98:     0x0     0x0     0x0     0x0
0xbfe78ea8:     0x0     0x0     0x0     0x0
0xbfe78eb8:     0x0     0x0     0x0     0x0
0xbfe78ec8:     0x0     0x0     0x0     0x0
0xbfe78ed8:     0x0     0x0     0x0     0x0
0xbfe78ee8:     0x0     0x0     0x0     0x0
.....
0xbfe799e8:     0x0     0x0     0x0     0x0
0xbfe799f8:     0x0     0x0     0x0     0x0
0xbfe79a08:     0x0     0x0     0x0     0x0
0xbfe79a18:     0x0     0x0     0x0     0x0
0xbfe79a28:     0x0     0x0     0x0     0x0
0xbfe79a38:     0x0     0x0     0x0     0x0
0xbfe79a48:     0x0     0x0     0x0     0x0
0xbfe79a58:     0x0     0x0     0x0     0x0
0xbfe79a68:     0x0     0x0     0x0     0x0
0xbfe79a78:     0x0     0x0     0x0     0x0
0xbfe79a88:     0x0     0x0     0x0     0x0
0xbfe79a98:     0x0     0x0     0x0     0x0
(gdb)
Back to top
View user's profile Send private message
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Fri Apr 06, 2012 10:51 am    Post subject: Reply with quote

И ещё раз, почти сразу.
Code:

Program received signal SIGSEGV, Segmentation fault.
0x0828c40d in camlQueue__fold_1087 ()
(gdb) thread apply all bt

Thread 2 (Thread 0xb693cb70 (LWP 28226)):
#0  0xb76e8424 in __kernel_vsyscall ()
#1  0xb72de4d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0x082f8c3f in hasher_thread (arg=0x0) at src/utils/lib/stubs_c.c:862
#3  0xb72d9955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#4  0xb72595ee in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb71436d0 (LWP 28217)):
#0  0x0828c40d in camlQueue__fold_1087 ()
#1  0xb713c26c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

------

(gdb) x/1000a $esp
0xbfa9cec0:     0xb713c26c      0x8f72398       0x814d947 <camlCommonFile__queue_last_1918>  0xa0e5e3c
0xbfa9ced0:     0x814ad66 <camlCommonFile__fun_2605> 0xb3a5318       0xb713c2a4      0xa0e6790
0xbfa9cee0:     0xa0e6790       0x82a86e7 <camlWeak__iter_bucket_1117>       0xa9b496c       0x82a86fc <camlWeak__iter_bucket_1117>
0xbfa9cef0:     0x3     0xa9b496c       0xb3a5304       0x82800bd <camlArray__iter_1101>
0xbfa9cf00:     0x9eff380       0xb3a52f0       0x47d   0x805
0xbfa9cf10:     0x82a9327 <camlWeak__iter_1114>      0x9edadd0       0x823f577 <camlBasicSocket__exec_timers_1555>     0xbfa9cf34
0xbfa9cf20:     0x823f54f <camlBasicSocket__exec_timers_1555>        0x9ffdc04       0x823f29f <camlBasicSocket__exec_hooks_1546>       0x1
0xbfa9cf30:     0x823f6f1 <camlBasicSocket__loop_1558>      0xbfa9cf58      0x823f5e0 <camlBasicSocket__loop_1558>     0xb7137824
0xbfa9cf40:     0x828204c <camlList__iter_1074>      0x833c2ec <camlCommonMain__1>   0x1     0x80515ab <camlCommonMain__entry>
0xbfa9cf50:     0x804ed31 <caml_program>   0x8311792 <caml_start_program>       0x0     0x83117b2 <caml_start_program>
0xbfa9cf60:     0x0     0x1     0x0     0xbfa9cfc8
0xbfa9cf70:     0x833a438 <caml_code_segments>        0x833a434 <caml_code_segments>  0xbfa9de94      0x83024a5 <caml_main>
0xbfa9cf80:     0x8561500 <caml_termination_jmpbuf>     0x0     0x833c2c0 <camlStd_exit__data_end>      0x50
0xbfa9cf90:     0x1f4   0x0     0xbfa9cfa8      0x831194d <__do_global_ctors_aux>
0xbfa9cfa0:     0x0     0x83361f0 <_GLOBAL_OFFSET_TABLE_>       0xbfa9cfb8      0x804cc50 <_init>
0xbfa9cfb0:     0xb76f7380      0x83361f0 <_GLOBAL_OFFSET_TABLE_>       0xbfa9cfe8      0xb72cfff4
0xbfa9cfc0:     0x0     0x0     0xbfa9cfe8      0x83024ec <main>
0xbfa9cfd0:     0xbfa9d094      0xb76f7380      0x83118db <__libc_csu_init>  0xb72cfff4
0xbfa9cfe0:     0x83118d0 <__libc_csu_init>     0x0     0xbfa9d068      0xb71a3ca6 <__libc_start_main>
0xbfa9cff0:     0x7     0xbfa9d094      0xbfa9d0b4      0xb730b568
0xbfa9d000:     0xbfa9d050      0xffffffff      0xb7704ff4      0x804b9e4
0xbfa9d010:     0x1     0xbfa9d050      0xb76f6966      0xb7705ab0
0xbfa9d020:     0xb714d6b0      0xb72cfff4      0x0     0x0
0xbfa9d030:     0xbfa9d068      0xe82fcac       0x6965cabd      0x0
0xbfa9d040:     0x0     0x0     0x7     0x804e120 <_start>
0xbfa9d050:     0x0     0xb76fc580      0xb71a3bcb <__libc_start_main>       0xb7704ff4
0xbfa9d060:     0x7     0x804e120 <_start>      0x0     0x804e141 <_start>
0xbfa9d070:     0x83024d8 <main>        0x7     0xbfa9d094      0x83118d0 <__libc_csu_init>
0xbfa9d080:     0x83118c0 <__libc_csu_fini>     0xb76f7380      0xbfa9d08c      0xb77058f8
0xbfa9d090:     0x7     0xbfa9de94      0xbfa9dea3      0xbfa9deb5
0xbfa9d0a0:     0xbfa9debd      0xbfa9dec7      0xbfa9dee3      0xbfa9dee8
0xbfa9d0b0:     0x0     0xbfa9defa      0xbfa9df08      0xbfa9df10
0xbfa9d0c0:     0xbfa9df23      0xbfa9df35      0xbfa9df42      0xbfa9df59
0xbfa9d0d0:     0xbfa9df64      0xbfa9df71      0xbfa9df89      0xbfa9dfac
0xbfa9d0e0:     0xbfa9dfc3      0xbfa9dfd4      0xbfa9dfe4      0x0
0xbfa9d0f0:     0x20    0xb76e8414 <__kernel_vsyscall>  0x21    0xb76e8000
0xbfa9d100:     0x10    0xbfe9fbff      0x6     0x1000
0xbfa9d110:     0x11    0x64    0x3     0x8048034
0xbfa9d120:     0x4     0x20    0x5     0x8
0xbfa9d130:     0x7     0xb76e9000      0x8     0x0
0xbfa9d140:     0x9     0x804e120 <_start>      0xb     0x6d
0xbfa9d150:     0xc     0x6d    0xd     0x72
0xbfa9d160:     0xe     0x72    0x17    0x0
0xbfa9d170:     0x19    0xbfa9d19b      0x1f    0xbfa9dfed
0xbfa9d180:     0xf     0xbfa9d1ab      0x0     0x0
0xbfa9d190:     0x0     0x0     0x2c000000      0x8e97b306
0xbfa9d1a0:     0x1ce9ae8e      0x625e0b0c      0x69aab7a7      0x363836
0xbfa9d1b0:     0x0     0x0     0x0     0x0
0xbfa9d1c0:     0x0     0x0     0x0     0x0
0xbfa9d1d0:     0x0     0x0     0x0     0x0
0xbfa9d1e0:     0x0     0x0     0x0     0x0
0xbfa9d1f0:     0x0     0x0     0x0     0x0
0xbfa9d200:     0x0     0x0     0x0     0x0
0xbfa9d210:     0x0     0x0     0x0     0x0
0xbfa9d220:     0x0     0x0     0x0     0x0
0xbfa9d230:     0x0     0x0     0x0     0x0
0xbfa9d240:     0x0     0x0     0x0     0x0
0xbfa9d250:     0x0     0x0     0x0     0x0
0xbfa9d260:     0x0     0x0     0x0     0x0
0xbfa9d270:     0x0     0x0     0x0     0x0
0xbfa9d280:     0x0     0x0     0x0     0x0
0xbfa9d290:     0x0     0x0     0x0     0x0
0xbfa9d2a0:     0x0     0x0     0x0     0x0
.....
0xbfa9dda0:     0x0     0x0     0x0     0x0
0xbfa9ddb0:     0x0     0x0     0x0     0x0
0xbfa9ddc0:     0x0     0x0     0x0     0x0
0xbfa9ddd0:     0x0     0x0     0x0     0x0
0xbfa9dde0:     0x0     0x0     0x0     0x0
0xbfa9ddf0:     0x0     0x0     0x0     0x0
0xbfa9de00:     0x0     0x0     0x0     0x0
0xbfa9de10:     0x0     0x0     0x0     0x0
0xbfa9de20:     0x0     0x0     0x0     0x0
0xbfa9de30:     0x0     0x0     0x0     0x0
0xbfa9de40:     0x0     0x0     0x0     0x0
0xbfa9de50:     0x0     0x0     0x0     0x0
(gdb)
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Fri Apr 06, 2012 11:14 am    Post subject: Reply with quote

Ок, симптомы понятны, причина - нет :(
Ещё вариант посмотреть дамп памяти в месте где крэшится, может будет понятно кто порчу наводит, но не факт.
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Fri Apr 06, 2012 11:29 am    Post subject: Reply with quote

ygrek wrote:
Ок, симптомы понятны, причина - нет Sad
Ещё вариант посмотреть дамп памяти в месте где крэшится, может будет понятно кто порчу наводит, но не факт.


Не пинайте сильно, но как посмотреть-то? Гуманитарий я, говорю же... Smile
Back to top
View user's profile Send private message
ygrek
professional


Joined: 20 Mar 2010
Posts: 521

PostPosted: Fri Apr 06, 2012 12:09 pm    Post subject: Reply with quote

Там достаточно сложно , мне самому лучше посмотреть. Варианты - выложить корку + бинарник (большой объём) либо дать мне ssh доступ на машину (security) либо можно попробовать в онлайн режиме подебажиться удалённо (долго и неудобно).
_________________
Download | Report bugs | git mirror
Back to top
View user's profile Send private message Visit poster's website
Serge_K
neophyte


Joined: 08 Oct 2010
Posts: 43
Location: Moscow, Russia

PostPosted: Sun Apr 08, 2012 6:28 am    Post subject: Reply with quote

Проблема, похоже, решилась самым неожиданным образом.... Пересобрал MLDonkey с Ocaml 3.10.1 и уже почти двое суток работает бесперебойно! До этого пытался с версиями 3.12.1 , 3.12.0 и 3.11.2 - сегфолты сыпались регулярно... Зарекаться окончательно пока не буду - если что отпишусь... Но раннее осел под нагрузкой у меня более полсуток без сегфолта не работал...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Russian 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


Sourceforge.net Logo