jash-kothari-forks / libtorrent

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

Mac Os X bugs #394

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
libtorrent was compiles by clang on MacOsX(x86_64) as static library
7 tests failed.
Running tests sometimes throw segfault.
Simple_client with empty args throw segfault, with example-args doesn't 
download test.torrent. My HelloWorld also doesn't download any torrent.

What additional info should I attach?

Original issue reported on code.google.com by sahab.a...@gmail.com on 5 Dec 2012 at 12:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
libtorrent v0.16.5
boost v1.52
clang v3.1
mac os 10.7.5

Original comment by sahab.a...@gmail.com on 5 Dec 2012 at 12:50

GoogleCodeExporter commented 8 years ago
for starters:

1. the stack of the segmentation faults you mention
2. the command you use to build libtorrent and the tests
3. which example args are you referring to?
4. where does simple_client.cpp segfault?

It sounds like you may have a link compatibility issue. i.e. where you build a 
client against one version or configuration of libtorrent, and then link to a 
different version or configuration of it. All TORRENT_* macros have to be 
identical when building your client and libtorrent.

Original comment by arvid.no...@gmail.com on 5 Dec 2012 at 5:38

GoogleCodeExporter commented 8 years ago
1. Maybe I've got segfaults due to various build tool...
2. ./configure --enable-shared=no --enable-tests=yes --enable-examples=yes && 
make && make check
3. I'm sorry. Example args from "client_test" usage output.
4. look at p.1

So the problem is one client_test/simple_client/my_hello_world still don't 
download any torrent.
p.s. I've built boost/libtorrent/etc using gcc-4.2.1 - behavior the same - 
doesn/t download anything.
p.p.s. Tests failed
>================================
>7 of 27 tests failed
>Please report to arvid@cs.umu.se
>================================

Original comment by sahab.a...@gmail.com on 6 Dec 2012 at 12:44

Attachments:

GoogleCodeExporter commented 8 years ago
Have you any ideas? 
Or you need more info?

Original comment by sahab.a...@gmail.com on 8 Dec 2012 at 1:47

GoogleCodeExporter commented 8 years ago
so, there's no segfault then? Just failing to download?

If so, running client_test may give you enough insight info what's going on 
with the swarm to figure it out. If not, you can build with verbose logging 
enabled and post the resulting log files from a run where it failed to download.

Original comment by arvid.no...@gmail.com on 9 Dec 2012 at 2:37