Segmentation fault in 3.0.3
Wang WenRui <[email protected]>
| Newsgroups | gmane.network.lftp.devel |
|---|---|
| Message-ID | <20040504085500.GB14107@winter> |
Hi, There is segmentation fault when I connect to a ftp site. Again, this is inconformity of the server software with RFCs. But lftp shouldn't crash. The debug message and stack trace is : Detaching after fork from child process 14188. lftp 202.38.72.133:~> debug lftp 202.38.72.133:~> ls ---- Connecting to 202.38.72.133 (202.38.72.133) port 508 <--- 220 Gene6 FTP Server v3.0.0 (Build 34) ready... ---> FEAT <--- 211-Extensions supported: <--- AUTH TLS <--- PBSZ <--- PROT <--- CLNT <--- COMPRESSION NONE*;ZLIB; <--- MDTM <--- MLST type*;size*;created;modify*; <--- PASV <--- REST STREAM <--- SIZE <--- TVFS <--- UTF8 <--- XCRC "filename" SP EP <--- XMD5 "filename" SP EP <--- 211 End. ---> OPTS UTF8 ON <--- 530 Please login with USER and PASS first. ---> USER anonymous <--- 331 Password required for anonymous. ---> PASS lftp@ <--- 230-============================================================= <--- Gaslab FTP----music??movie??tvrip??0day??Others <--- <--- ????202.38.76.136?????????????????????04/05/04 16:51:40. <--- ???????????????05d00:33:06. <--- <--- ============================================================= <--- ???????? 1/4 ?? <--- <--- ?????????0?? <--- ????????7?? <--- ?IP?????500 KBps <--- ????????582.067 GBytes <--- ????Θ???59.236 MBytes <--- ?????????14227 <--- ?Θ??????20 <--- ??????1.376 MBytes/s <--- ??????1004.003 KBytes/s <--- ??????1.602 GBytes <--- ============================================================= <--- ?й?ftp????????ε[email protected] [email protected] <--- ============================================================= <--- ??? <--- <--- 1.????????????????????????????????????10??????? <--- 30???????5???????????10????? <--- 2.????????1??????????????????! ?????Ban C??IP?? <--- ============================================================= <--- Movie??????????У???????????? <--- ftp://202.38.73.135 <--- ftp://202.38.73.101:411 <--- ============================================================= <--- 230 User anonymous logged in. ---> PWD <--- ================================== <--- Movie??????????У???????????? <--- ftp://202.38.73.135 <--- ftp://202.38.73.101:411 <--- ============================================================= <--- 230 User anonymous logged in. <--- 257 "/" is current directory. Program received signal SIGSEGV, Segmentation fault. 0x080c9196 in Ftp::ExpectQueue::Pop (this=0x8193a10) at ftpclass.cc:3086 3086 first=first->next; (gdb) bt #0 0x080c9196 in Ftp::ExpectQueue::Pop (this=0x8193a10) at ftpclass.cc:3086 #1 0x080ca3bb in Ftp::CheckResp (this=0x8165590, act=257) at ftpclass.cc:3509 #2 0x080c7b02 in Ftp::ReceiveResp (this=0x8165590) at ftpclass.cc:2565 #3 0x080c3bd8 in Ftp::Do (this=0x8165590) at ftpclass.cc:1410 #4 0x0809831b in SMTask::Schedule () at SMTask.cc:173 #5 0x08075d9c in WaitDone (exec=0x815a4b8) at lftp.cc:73 #6 0x0807647b in main (argc=4, argv=0xbffff2d4) at lftp.cc:404 (gdb) frame 1 #1 0x080ca3bb in Ftp::CheckResp (this=0x8165590, act=257) at ftpclass.cc:3509 3509 Expect *exp=expect->Pop(); (gdb) p *expect $1 = {first = 0x0, last = 0x8193a10, count = 0} Best regards Wang