← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 480065] Re: revno: 337 crash. terminate called after throwing an instance of 'std::length_error'

 

Is this reproducible? It seems to crash when someone searches your
share. Any idea what they searched for and on what share item it
crashed? It would be nice if we could add some print outs to determine
those.

std::length_error is thrown when string attempted to be created that is
greater than its maximum possible size. It looks like it occurs when
generating the search result path, but I don't think it's possible that
you are sharing a path that is greater than 4611686018427387897
characters.

Also, your executable is i386 (I'm x86-64) and is not in debug mode so I
am not able to see all symbols. It would be preferable if you compiled
it in debug mode, reproduced it, and attached the output of "backtrace
full" as a text file to this bug.

** Changed in: linuxdcpp
       Status: New => Incomplete

** Tags added: core crash

-- 
revno: 337 crash.  terminate called after throwing an instance of 'std::length_error'
https://bugs.launchpad.net/bugs/480065
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Incomplete

Bug description:
revno: 337

$ linuxdcpp 
Loading: Hash database
Loading: Shared Files
Loading: Download Queue
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create
Аварийный останов (core dumped)

core+linuxdcpp

ftp://ftp.san.ru/temp/crash-linuxdcpp/2009111001/



References