When one put/mputs a file, the same bug occurs.

#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x08065449 in GetJob::Do (this=0x83ab278) at GetJob.cc:47
#2  0x08061945 in mgetJob::Do (this=0x83ab278) at mgetJob.cc:159
#3  0x0807d90c in SMTask::Schedule () at SMTask.cc:241
#4  0x08052671 in Job::WaitDone (this=0x810fe68) at Job.cc:557
#5  0x0804e1ad in main (argc=1, argv=0xbf8f0284) at lftp.cc:489


On Sat, 7 Oct 2006, Justin Piszcz wrote:

> Mirroring directories seems OK but get/mget seems to cause a segmentation 
> fault every time!
> 
> (gdb) bt
> #0  0x61000001 in ?? ()
> #1  0x08065449 in GetJob::Do (this=0x83c8d58) at GetJob.cc:47
> #2  0x08061945 in mgetJob::Do (this=0x83c8d58) at mgetJob.cc:159
> #3  0x0807d90c in SMTask::Schedule () at SMTask.cc:241
> #4  0x08052671 in Job::WaitDone (this=0x810fe68) at Job.cc:557
> #5  0x0804e1ad in main (argc=2, argv=0xbf9b9344) at lftp.cc:489
> 
> The second time it crashed.
> 
> On Sat, 7 Oct 2006, Justin Piszcz wrote:
> 
> > Bug:
> > 
> > Only occured once so far:
> > 
> > 1) cd /directory
> > 2) mget -c file.txt
> > 3) at the end of the trasnfer, it barfs
> > 
> > Here is what it looks like from the lftp/client side:
> > 
> > <--- 200 Type set to I.
> > ---> MDTM /pub/file.txt
> > <--- 213 20021007100044
> > ---> SIZE /pub/file.txt
> > <--- 213 384452  
> > ---> PASV
> > <--- 227 Entering Passive Mode (1.2.3.4,123,456)     
> > ---- Connecting data socket to (1.2.3.4) port 1234
> > ---- Data connection established
> > ---> RETR /pub/file.txt
> > <--- 150 Opening BINARY mode data connection for /pub/file.txt (384452 
> > bytes).
> > <--- 226 Transfer complete.
> > ---- Got EOF on data connection
> > ---- Closing data socket
> > Segmentation fault (core dumped)
> > [EMAIL PROTECTED]:/home/user
> > 
> > Here is the backtrace, I always compile --with-debug now :)
> > 
> > (gdb) bt
> > #0  0x00000000 in ?? ()
> > #1  0x08065449 in GetJob::Do (this=0x8360800) at GetJob.cc:47
> > #2  0x08061945 in mgetJob::Do (this=0x8360800) at mgetJob.cc:159
> > #3  0x0807d90c in SMTask::Schedule () at SMTask.cc:241
> > #4  0x08052671 in Job::WaitDone (this=0x810fe68) at Job.cc:557
> > #5  0x0804e1ad in main (argc=1, argv=0xbf8b0b74) at lftp.cc:489
> > (gdb) 
> > 
> > 
> > 
> > 
> 

Reply via email to