caisan / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
0 stars 0 forks source link

Crash at lazy_bdecode.cpp:411 #341

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add torrent to client

What is the expected output? What do you see instead?
adding torrent, but it crash

What version of the product are you using? On what operating system?
libtorrent 16.1
FreeBSD 9.0 STABLE

Please provide any additional information below.

Program received signal SIGBUS, Bus error.
[Switching to Thread 80480dc00 (LWP 2153137/bt)]
libtorrent::lazy_entry::clear (this=0x2014c2e85e777268) at lazy_bdecode.cpp:411
411                     switch (m_type)
Current language:  auto; currently c++
(gdb)

Original issue reported on code.google.com by petr...@gmail.com on 25 Jun 2012 at 11:36

GoogleCodeExporter commented 8 years ago
could you provide a torrent that triggers this?

Original comment by arvid.no...@gmail.com on 26 Jun 2012 at 1:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
yes, here it is 
http://torcache.net/torrent/21FD1B8BE7EAF758255147114ABAF0B3B18EA12D.torrent
but its a like heisenbug (

and backtrace:

Program received signal SIGBUS, Bus error.
[Switching to Thread 804408000 (LWP 100873/bt)]
libtorrent::lazy_entry::clear (this=0x2007064db9724d88) at lazy_bdecode.cpp:411
411         switch (m_type)
(gdb) bt          
#0  libtorrent::lazy_entry::clear (this=0x2007064db9724d88) at 
lazy_bdecode.cpp:411
#1  0x0000000801b250cc in libtorrent::lazy_entry::clear (this=0x8056c0178) at 
lazy_entry.hpp:230
#2  0x0000000801b25094 in libtorrent::lazy_entry::clear (this=0x7fffff5f9db0) 
at lazy_entry.hpp:230
#3  0x0000000801cdf08d in torrent_info (this=0x805407600, filename=Variable 
"filename" is not available.) at lazy_entry.hpp:230

the same program on last Debian x64 work good, and no problem with this and 
other torrents.

I install libtorrent from sources, not from ports , and on debian similarly

Original comment by petr...@gmail.com on 26 Jun 2012 at 8:41