Treferwynd / transmission-remote-gtk

Automatically exported from code.google.com/p/transmission-remote-gtk
GNU General Public License v2.0
0 stars 0 forks source link

Segmentation fault #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have some torrents seeding
2. Add a new one that will start check itself
3. Try to add another one

What is the expected output? What do you see instead?
A window with a new torrent preferences should appear.

What version of the product are you using? On what operating system?
transmission-remote-gtk-1.0
Gentoo Linux amd64

Please provide any additional information below.
http://pastie.org/pastes/4412261/text

Original issue reported on code.google.com by uberallf...@gmail.com on 8 Aug 2012 at 2:51

GoogleCodeExporter commented 9 years ago
Hello.

I'll need a backtrace taken with debugging symbols. Can you run it in gdb and 
send me the output of a 'bt full'?

Thanks,

Original comment by a...@eth0.org.uk on 8 Aug 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Here it is, if I understood correct. http://pastie.org/pastes/4412396/text

Original comment by uberallf...@gmail.com on 8 Aug 2012 at 3:21

GoogleCodeExporter commented 9 years ago
You've collected the backtrace correctly, but unfortunately it's missing the 
debugging symbols for transmission-remote-gtk, so the important function names, 
line numbers etc are missing.

Getting the debugging symbols depends on how you install 
transmission-remote-gtk. I don't know anything about arch, but this looks like 
what you need:

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Also, just noticed you said you are using 1.0. Please use 1.0.2 (latest). Looks 
like there's a pkgbuild here you can use with the instructions in that above 
link

https://aur.archlinux.org/packages.php?ID=47818

Original comment by a...@eth0.org.uk on 8 Aug 2012 at 3:34

GoogleCodeExporter commented 9 years ago
Does this look like what you need? http://pastie.org/pastes/4412661/text

Original comment by uberallf...@gmail.com on 8 Aug 2012 at 4:17

GoogleCodeExporter commented 9 years ago
Yes! I think I see the problem, not handling empty dictionaries (unusual 
occurrence) in the .torrent file.

Hopefully a fix in 20c5f5f3c2c9e2f2f415003dc3af92ac4dffae81 / 
http://code.google.com/p/transmission-remote-gtk/source/detail?r=20c5f5f3c2c9e2f
2f415003dc3af92ac4dffae81

clone from git, ./autogen.sh, ./configure --prefix=/usr --enable-gtk3, make, 
make install etc etc and let me know if this fixes it.

Original comment by a...@eth0.org.uk on 8 Aug 2012 at 4:27

GoogleCodeExporter commented 9 years ago
How can I get this fix in a diff patch view, to apply on sources? It’s the 
simpliest way in Gentoo.

Original comment by uberallf...@gmail.com on 8 Aug 2012 at 4:38

GoogleCodeExporter commented 9 years ago
git diff --no-prefix 20c5f5f3c2c9e2f2f415003dc3af92ac4dffae81^ -- src/bencode.c

Original comment by a...@eth0.org.uk on 8 Aug 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Yep, it applies on my 1.0 version and fixes the issue.

Original comment by uberallf...@gmail.com on 8 Aug 2012 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by a...@eth0.org.uk on 8 Aug 2012 at 5:04