PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category
  • Assigned To
    Mike Gist
  • Operating System
  • Severity Low
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Caarrie - 12.06.2008
Last edited by Caarrie - 14.06.2008

FS#1702 - more updater crashes

Special repro was used in getting this crash

!!! INVALID source input required -17712 !!! : Patching file data/config/simpvs.cfg: Failed!
Attempting to download full version of data/config/simpvs.cfg:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb79296c0 (LWP 13846)]
0xb7f3c410 in kernel_vsyscall ()
(gdb) bt
#0 0xb7f3c410 in
kernel_vsyscall ()
#1 0xb7bc38f3 in write_nocancel ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0806617a in nsSocket::Send (this=0x84a8760,
aBuf=0xbffa9320 "GET /specialrepo/backup/linux32/data/config/simpvs.cfg HTTP/1.0\r\nHost: www.psmirror.org\r\n\r\n", aBufSize=0xbffa8310)
at src/tools/libxpnet/nsSocket.cpp:317
#3 0x08065342 in nsHTTPConn::Request (this=0x83fdaa0, aResumePos=0)
at src/tools/libxpnet/nsHTTPConn.cpp:366
#4 0x080656d2 in nsHTTPConn::Get (this=0x83fdaa0,
aCallback=0x8059730 <ProgressCallback>,
aDestFile=0x849b970 "/home/mcdavis/server/planeshiftdata/config/simpvs.cfg", aResumePos=0) at src/tools/libxpnet/nsHTTPConn.cpp:234
#5 0x08065794 in nsHTTPConn::ResumeOrGet (this=0x83fdaa0,
aCallback=0x8059730 <ProgressCallback>,
aDestFile=0x849b970 "/home/mcdavis/server/planeshift
data/config/simpvs.cfg") at src/tools/libxpnet/nsHTTPConn.cpp:195
#6 0x08059e0f in Downloader::DownloadFile (this=0x8070af8,
file=0x84e89c0 "http://www.psmirror.org/specialrepo/backup/linux32/data/confi---Type <return> to continue, or q <return> to quit—
g/simpvs.cfg", dest=0xbffaadcc "data/config/simpvs.cfg", URL=true,
silent=true) at src/pslaunch/download.cpp:133
#7 0x08055a57 in UpdaterEngine::GeneralUpdate (this=0x8070a30)
at src/pslaunch/updaterengine.cpp:786
#8 0x080588ac in UpdaterEngine::CheckForUpdates (this=0x8070a30)
at src/pslaunch/updaterengine.cpp:249
#9 0x0804a961 in main (argc=542393671, argv=0xbffab3d4)
at src/pslaunch/updater.cpp:95
(gdb) bt full
#0 0xb7f3c410 in
kernel_vsyscall ()
No symbol table info available.
#1 0xb7bc38f3 in write_nocancel ()
from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0x0806617a in nsSocket::Send (this=0x84a8760,
aBuf=0xbffa9320 "GET /specialrepo/backup/linux32/data/config/simpvs.cfg HTTP/1.0\r\nHost: www.psmirror.org\r\n\r\n", aBufSize=0xbffa8310)
at src/tools/libxpnet/nsSocket.cpp:317
rv = <value optimized out>
seltime = {tv_sec = 0, tv_usec = 100000}
timeout = <value optimized out>
selset = {fds_bits = {1048576, 0 <repeats 31 times>}}
#3 0x08065342 in nsHTTPConn::Request (this=0x83fdaa0, aResumePos=0)
at src/tools/libxpnet/nsHTTPConn.cpp:366
req = "GET /specialrepo/backup/linux32/data/config/simpvs.cfg HTTP/1.0\r\nHost: www.psmirror.org\r\n\r\n", '\0' <repeats 4008 times>
hdr = "Host: www.psmirror.org\r\n", '\0' <repeats 4071 times>
rv = <value optimized out>
—Type <return> to continue, or q <return> to quit—
bufSize = 87
#4 0x080656d2 in nsHTTPConn::Get (this=0x83fdaa0,
aCallback=0x8059730 <ProgressCallback>,
aDestFile=0x849b970 "/home/mcdavis/server/planeshiftdata/config/simpvs.cfg", aResumePos=0) at src/tools/libxpnet/nsHTTPConn.cpp:234
rv = <value optimized out>
pathToUse = 0x84cefc8 "/specialrepo/backup/linux32/data/config/simpvs.cfg"
#5 0x08065794 in nsHTTPConn::ResumeOrGet (this=0x83fdaa0,
aCallback=0x8059730 <ProgressCallback>,
aDestFile=0x849b970 "/home/mcdavis/server/planeshift
data/config/simpvs.cfg") at src/tools/libxpnet/nsHTTPConn.cpp:195
stbuf = {st_dev = 2055,
pad1 = 0, st_ino = 747506,

st_mode = 33188, st_nlink = 1, st_uid = 1000, st_gid = 1000, st_rdev = 0,  
__pad2 = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {     
  tv_sec = 1213288020, tv_nsec = 0}, st_mtim = {tv_sec = 1213288020,       
  tv_nsec = 0}, st_ctim = {tv_sec = 1213288020, tv_nsec = 0},              
__unused4 = 0, __unused5 = 0}                                              
      rv = <value optimized out>                                           

—Type <return> to continue, or q <return> to quit—
#6 0x08059e0f in Downloader::DownloadFile (this=0x8070af8,

  file=0x84e89c0 "http://www.psmirror.org/specialrepo/backup/linux32/data/config/simpvs.cfg", dest=0xbffaadcc "data/config/simpvs.cfg", URL=true,           
  silent=true) at src/pslaunch/download.cpp:133                            
      url = {<csStringFast<36>> = {<csStringBase> = {                      
    _vptr.csStringBase = 0x8066708,                                        
    Data = 0x84cef40 "http://www.psmirror.org/specialrepo/backup/linux32/data/config/simpvs.cfg", Size = 69, MaxSize = 128, GrowBy = 64},                   
  minibuff = "\000\177?\001\027\000\000\000?????t?\211N\b??\026\000\000\0002v$???", miniused = 0}, <No data fields>}                                    
      conn = (nsHTTPConn *) 0x83fdaa0                                      
      destpath = {<csStringFast<36>> = {<csStringBase> = {                 
    _vptr.csStringBase = 0x8066708,                                        
    Data = 0x849b970 "/home/mcdavis/server/planeshift//data/config/simpvs.cfg", Size = 55, MaxSize = 64, GrowBy = 64},                                  
  minibuff = "\000ata/config/simpvs.cfg\000\000\000\177???\211N\b\000\177??", miniused = 23}, <No data fields>}                                         
      result = <value optimized out>                                       
      httpCode = 17420599                                                  

—Type <return> to continue, or q <return> to quit—

      error = {<csStringFast<36>> = {<csStringBase> = {                    
    _vptr.csStringBase = 0x1, Data = 0xbffaa4f8 "\b?????F",                
    Size = 3083650195, MaxSize = 3220874536, GrowBy = 3018468328},         
  minibuff = "\b?????F\000\000\000\027\000\000\000\030???\021???\b\210J\b??(???", miniused = 3082267501}, <No data fields>}                             
      mirror = (Mirror *) 0x84cee28                                        

#7 0x08055a57 in UpdaterEngine::GeneralUpdate (this=0x8070a30)

  at src/pslaunch/updaterengine.cpp:786                                    
      baseurl = {<csStringFast<36>> = {<csStringBase> = {                  
    _vptr.csStringBase = 0x8066708,                                        
    Data = 0x8475358 "http://www.psmirror.org/specialrepo/backup/",            
    Size = 39, MaxSize = 64, GrowBy = 64},                                 
  minibuff = "http://www.psmirror.org/specialrepo/\0002\234?",                 
  miniused = 33}, <No data fields>}                                        
      url = {<csStringFast<36>> = {<csStringBase> = {                      
    _vptr.csStringBase = 0x8066708,                                        
    Data = 0x84e89c0 "http://www.psmirror.org/specialrepo/backup/linux32/data/config/simpvs.cfg", Size = 69, MaxSize = 128, GrowBy = 64},                   
  minibuff = "b5ca8bd147f842ed3d8484f41b94022c\000\000\000",               

—Type <return> to continue, or q <return> to quit—

  miniused = 0}, <No data fields>}                                         
      next = {obj = 0xb3e9c6bc}                                            
      newFilePath = {<csStringFast<36>> = {<csStringBase> = {              
    _vptr.csStringBase = 0x8066708, Data = 0x0, Size = 22, MaxSize = 0,    
    GrowBy = 64},                                                          
  minibuff = "data/config/simpvs.cfg\000\000g\000cfg\000\000??",           
  miniused = 23}, <No data fields>}                                        
      diff = {<csStringFast<36>> = {<csStringBase> = {                     
    _vptr.csStringBase = 0x8066708, Data = 0x0, Size = 29, MaxSize = 0,    
    GrowBy = 64},                                                          
  minibuff = "data/config/simpvs.cfg.vcdiff\000\000f\000ff",               
  miniused = 30}, <No data fields>}                                        
      oldFilePath = {<csStringFast<36>> = {<csStringBase> = {              
    _vptr.csStringBase = 0x8066708, Data = 0x0, Size = 26, MaxSize = 0,    
    GrowBy = 64},                                                          
  minibuff = "data/config/simpvs.cfg.old\000\000\000\000\000ld\000\000",   
  miniused = 28}, <No data fields>}                                        
      changednode = {obj = 0xb3f97f14}                                     
      nodeItr = {obj = 0xb3e9c684}                                         

—Type <return> to continue, or q <return> to quit—

      zip = {<csStringFast<36>> = {<csStringBase> = {                      
    _vptr.csStringBase = 0x8066708, Data = 0x0, Size = 18, MaxSize = 0,    
    GrowBy = 64},                                                          
  minibuff = "linux32-0.4.00.zip\000\000????????\003?h?\216?",             
  miniused = 20}, <No data fields>}                                        
      deletedrootnode = {obj = 0xb77924bc}                                 
      newList = {<CS::Memory::CustomAllocated> = {<No data fields>},       
count = 52,                                                                
capacity = {<csArrayCapacityDefault> = {<csArrayCapacityLinear<csArrayThresholdVariable>> = {<csArrayThresholdVariable> = {                             
        threshold = 16}, <No data fields>}, <No data fields>}, c = 64},    
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>},                
  p = 0xb3f96c78}}                                                         
      newListPlatform = {<CS::Memory::CustomAllocated> = {<No data fields>}, count = 52,                                                                
capacity = {<csArrayCapacityDefault> = {<csArrayCapacityLinear<csArrayThresholdVariable>> = {<csArrayThresholdVariable> = {                             
        threshold = 16}, <No data fields>}, <No data fields>}, c = 64},    
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>},                

—Type <return> to continue, or q <return> to quit—

  p = 0xb3f55e20}}                                                         
      newrootnode = {obj = 0xb3f87fec}                                     
      value = {<csStringFast<36>> = {<csStringBase> = {                    
    _vptr.csStringBase = 0xb78f1558,                                       
    Data = 0xb7beb078 "X`\217?\230\003\217?h\036y??u\217?\030^\217?\030^\217??`???`???F??", Size = 4459781, MaxSize = 5, GrowBy = 40},                  
  minibuff = "`\025\217?(???\000\177??\026\000\000\000\230???\002??\000??? \000\000\000`\025\217?", miniused = 0}, <No data fields>}                    
      deletedList = {<CS::Memory::CustomAllocated> = {<No data fields>},   
count = 137,                                                               
capacity = {<csArrayCapacityDefault> = {<csArrayCapacityLinear<csArrayThresholdVariable>> = {<csArrayThresholdVariable> = {                             
        threshold = 16}, <No data fields>}, <No data fields>}, c = 144},   
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>},                
  p = 0xb773fa40}}                                                         
      index = <value optimized out>                                        
      newCv = (ClientVersion *) 0x80725e0
      md5 = {data = "??N\227i?V\034???u/?\210\b"}
      md5sum = {<csStringFast<36>> = {<csStringBase> = {

—Type <return> to continue, or q <return> to quit—

    _vptr.csStringBase = 0xb7ef9568, Data = 0x0, Size = 32, MaxSize = 0,
    GrowBy = 64},
  minibuff = "3fa44e9769af561caecfc8752fa38808\000\000\000",
  miniused = 34}, <No data fields>}
      changedrootnode = {obj = 0xb3f56e34}
      rootnode = {obj = 0xb78f2a5c}
      confignode = {obj = 0xb78f2c3c}

#8 0x080588ac in UpdaterEngine::CheckForUpdates (this=0x8070a30)

  at src/pslaunch/updaterengine.cpp:249
      root = {obj = 0xb78eecac}
      confignode = {obj = 0xb78ef794}

#9 0x0804a961 in main (argc=542393671, argv=0xbffab3d4)

  at src/pslaunch/updater.cpp:95
      updater = (psUpdater *) 0x806c080
      engine = (UpdaterEngine *) 0x8070a30
Closed by  Caarrie
14.06.2008 16:58
Reason for closing:  
Additional comments about closing:  

confirmed fixed

Mike Gist commented on 14.06.2008 14:42

Okay, I can reproduce and I'm working on a fix.

Mike Gist commented on 14.06.2008 15:43

Okay, this should be fixed.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing