transmission-gtk/cli 2.82 segfault, can't find source of problem
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
transmission-gtk/cli 2.82 segfault, can't find source of problem
So I've been having trouble with transmission (both gtk and cli) in Linux Mint 17.1, Ubuntu 14.04.1, and now LXLE (which so far I'm liking best of the *buntu based distros). Every time I try to add a torrent file to transmission, it adds and starts but before even .001kB can download it crashes. Terminal output of transmission-gtk was simply "Segmentation fault." I tried transmission-cli, and got this:
Code:
lra@deb-lapt:~$ transmission-cli Downloads/fta-m2-admin_gnulinux-v1.pdf.torrent
transmission-cli 2.82 (14160)
[21:38:59.399] Transmission 2.82 (14160) started
[21:38:59.400] RPC Server: Adding address to whitelist: 127.0.0.1
[21:38:59.400] UDP: Failed to set receive buffer: requested 4194304, got 425984
[21:38:59.400] UDP: Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf
[21:38:59.400] UDP: Failed to set send buffer: requested 1048576, got 425984
[21:38:59.400] UDP: Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf
[21:38:59.400] DHT: Generating new id
[21:38:59.439] Saved "/home/lra/.config/transmission/torrents/fta-m2-admin_gnulinux-v1.pdf.94daf68d28374590.torrent"
[21:38:59.723] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[21:38:59.723] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
[21:39:01.740] Port Forwarding (UPnP): Found Internet Gateway Device "http://192.168.2.1:23481/upnp/control/WANIPConn1"
[21:39:01.740] Port Forwarding (UPnP): Local Address is "192.168.2.10"
[21:39:01.798] Port Forwarding (UPnP): Port forwarding through "http://192.168.2.1:23481/upnp/control/WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.2.10:51413)
[21:39:01.798] Port Forwarding (UPnP): Port forwarding successful!
[21:39:01.798] Port Forwarding: State changed from "Not forwarded" to "Forwarded"
Progress: 0.0, dl from 0 of 0 peers (0 kB/s), ul tSegmentation fault]
I tried googling and found mentions of this happening on *buntu systems, and arch, but with older versions (2.3*, 2.42, 2.75). Each time a person had a problem before with segfaults the suggestion was to upgrade to the latest and that solved it, except one which suggested uninstalling all XFCE4 items, removing their files in ~/.config, and reinstalling them then everything was flawless, but that didn't work for me. I would try getting the latest version, but the only download option is source, and when I try to run "./configure" It fails with this:
Code:
[...]
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... no
checking for OpenSSL... configure: error: Cannot locate ssl
So I'm now at a road block and could use some outside advice/suggestions. Thanks!
(Why do I always seem to have problems with every distro when doing the simplest things?)
Ah, ok I didn't realize just having openssl installed wasn't enough. I installed libssl-dev, and the rest of the dependencies required, then installed transmission-gtk. Result:
If that doesn't works you should use a debugger like gdb. It may show where in code the segfault occurs and if you can amend it or let upstream developers fix it.
i'd stick with the currently packaged version, and search ubuntu forums.
also your first post's log suggests "UDP: Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf" - no harm in trying, can always undo it.
next i'd try to disable extra features in transmission's preferences (like udp, upnp...) one by one. maybe the culprit is to be found there.
edit:
fwiw, transmission works good on my system. archlinux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.