rtorrent seg fault #24132
Comments
Does using |
Like this? |
Does this help? Starting program: /usr/local/bin/rtorrent BFD: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork(i386:x86-64): unknown load command 0x20 Program received signal SIGSEGV, Segmentation fault. |
First you should |
I just installed it today. brew update said everything was up to date. Just did another update and took me from 0.9.4 to 0.9.5: |
Same issue after update |
macports install worked. Let me know if there are any other details I can gather. |
Which macports version did you install, 0.9.2 or 0.9.3-devel? |
We went to 0.9.3 in #19199 but the homepage doesn't list it as a stable version; perhaps we should revert. |
macports installed 0.9.2 but I also tried installing that one with homebrew and had the same seg faults. |
This still occurs. I may have found a way that seems to work pretty often. If you source bashrc and then run rtorrent it seems to work. $ source ~/.bashrc Maybe it can help narrow down the problem? |
I have the same issue. I don't know how to use gdb, but I'm willing to follow instructions if anyone wants to tell me what to do. Here's my homebrew setup: $ brew --config Here's what I get when rtorrent crashes: $ rtorrent ubuntu-13.10-desktop-amd64.iso.torrent |
Still seeing this on completely up-to-date system. I ran under lldb, as gdb wasn't available.
This bug is probably a dupe of #25219 |
I finally got rtorrent to work by building gcc 4.9 and using that to build rtorrent. |
Some movement upstream: rakshasa/libtorrent#47 |
The C++11 branch is still not stable, and the diff is quite large. Sounds like it'll move closer to stability after the next stable release (which hasn't happened yet). |
I updated rtorrent and libtorrent in #29460 and am able to launch rtorrent without a segfault, though I'm not testing its functionality. |
Anyone still having this issue with clang, please If there are still problems, willing to add |
I seem to still get segfaults with libtorrent 0.13.4, rtorrent 0.9.4. On May 21, 2014, at 12:33 PM, Adam Vandenberg notifications@github.com wrote:
|
Now it's worse-- downloading torrents causes a segfault in addition to random segfaults on launch. |
Was working great on Mountain Lion previously, updated today and segfault on start. |
I reverted to previous version, at least only segfaults sometimes on start. On May 22, 2014, at 7:44 PM, Brian Conway notifications@github.com wrote:
|
Rebuilt with today's update (sans libsigc++) and still segfaults on start with Mountain Lion. |
I built rtorrent with homebrew and gcc 4.9 and it's been rock solid on Mavericks. Would it be possible to change the formula so that it uses another compiler by default? I know that's a huge dependency to introduce, but it does work. |
Adding
Though if this works when built with GCC I'll push a change to add that. |
Thanks. New build starts on Mountain Lion okay, but immediately segfaults when trying to load a magnet link. Making the same change as the commit above to libtorrent yielded a (thus far) stable rtorrent on Mountain Lion. |
@adamv So does it mean that compiling libtorrent with gcc fixes all of the issues? Can you tell us how to do that? (not really a developer). I have installed gcc but I am not sure how to tell libtorrent to use gcc. :( |
@ainstushar if you |
@adamv Perfect! It works exactly as it should. Thanks for pushing out updated formula for libtorrent. |
Provisionally calling this fixed for now. |
All's working here, thanks. |
Looks like this issue is back. Upon installing rtorrent 0.9.4 and libtorrent 0.13.4 (mavericks), it gives this warning:
and upon running rtorrent, I get:
Any tips on fixing this? |
I ran into the same thing this week with upgrading to Mavericks. It'll fix itself if you do:
In this case, I think the issue is that the Mavericks bottle for libtorrent is bogus, but it's the default install. |
Yep. Works great now. :) |
I can no longer install rtorrent. I am on Yosemite now. I get the error "couldn't understand kern.osversion `14.0.0'". |
I was having the same issue on Mavericks and went with what @bconway most recent post, and now rtorrent works. Thank you! |
Just thought I'd add to this, the following combination of both suggestions here worked for me on Yosemite:
|
I recently had this problem and the solution was a combination of things listed here. First I had to do:
Then:
Simply doing the later without the former did not fix my problem. I don't know why, but it didn't. Anyways, just commenting in hopes that it might help someone else. |
$ brew install rtorrent
==> Installing rtorrent dependency: libsigc++
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.10.tar.bz2
################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libsigc++/2.2.10
==> make
==> make check
==> make install
� /usr/local/Cellar/libsigc++/2.2.10: 564 files, 10M, built in 29 seconds
==> Installing rtorrent dependency: libtorrent
==> Downloading http://libtorrent.rakshasa.no/downloads/libtorrent-0.13.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtorrent-0.13.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libtorrent/0.13.3 --with-kqueue --enable-ipv6
==> make
==> make install
� /usr/local/Cellar/libtorrent/0.13.3: 69 files, 1.4M, built in 36 seconds
==> Installing rtorrent
==> Downloading http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/rtorrent-0.9.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/rtorrent/0.9.3
==> make
==> make install
� /usr/local/Cellar/rtorrent/0.9.3: 7 files, 2.2M, built in 35 seconds
$ rtorrent
Caught Segmentation fault, dumping stack:
0 rtorrent 0x0000000104af64c1 _Z8do_panici + 233
1 rtorrent 0x0000000104b35891 _ZN13SignalHandler6caughtEi + 59
2 libsystem_c.dylib 0x00007fff8740f90a _sigtramp + 26
3 ??? 0x00007fff6472dde0 0x0 + 140734878637536
4 rtorrent 0x0000000104b36670 _ZN12ThreadWorkerC1Ev + 14
5 rtorrent 0x0000000104af2f88 main + 865
6 libdyld.dylib 0x00007fff8d2557e1 start + 0
7 ??? 0x0000000000000001 0x0 + 1
Abort trap: 6
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 7fc8cc0
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1377666378
LLVM-GCC: N/A
Clang: 5.0 build 500
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
The text was updated successfully, but these errors were encountered: