Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377639 - net-p2p/transmission-2.33: application crashes on start when using net-libs/miniupnpc-1.6
Summary: net-p2p/transmission-2.33: application crashes on start when using net-libs/m...
Status: RESOLVED DUPLICATE of bug 376795
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 01:45 UTC by thomasg
Modified: 2011-08-06 08:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,5.26 KB, text/plain)
2011-08-05 12:42 UTC, thomasg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomasg 2011-08-04 01:45:29 UTC
Transmission (the gtk client as well as the qt client) crashes on start when net-libs/miniupnpc-1.6 is used. The bug is likely in miniupnpc, but I can only reproduce it in transmission, so it might also be a bug in either transmissions use of the library or its interface. It does not happen with miniupnpc-1.5.

I will look further into it and file a bug with the appropriate 3rd party, but for now the transmission ebuild should depend on "<net-libs/miniupnpc-1.6".



Following is a gdb bt (I figured short enough to post it directly):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed1d7700 (LWP 5530)]
upnpDiscover (delay=2000, multicastif=0x0, minissdpdsock=0x0, sameport=0, ipv6=760496462, error=0x7473657571657273)
    at miniupnpc.c:362
362	miniupnpc.c: No such file or directory.
	in miniupnpc.c
(gdb) bt
#0  upnpDiscover (delay=2000, multicastif=0x0, minissdpdsock=0x0, sameport=0, ipv6=760496462, error=0x7473657571657273)
    at miniupnpc.c:362
#1  0x000000000047d116 in tr_upnpPulse (handle=0x95c440, port=51413, isEnabled=1, doPortCheck=0) at upnp.c:100
#2  0x0000000000479308 in natPulse (s=0x6f9940, do_check=false) at port-forwarding.c:86
#3  0x0000000000479470 in onTimer (fd=<value optimized out>, what=<value optimized out>, vshared=0x6f9940) at port-forwarding.c:135
#4  0x00007ffff66d7094 in event_process_active_single_queue (base=0x6f6f40, flags=<value optimized out>) at event.c:1312
#5  event_process_active (base=0x6f6f40, flags=<value optimized out>) at event.c:1379
#6  event_base_loop (base=0x6f6f40, flags=<value optimized out>) at event.c:1576
#7  0x0000000000460d10 in libeventThreadFunc (veh=0x6f6eb0) at trevent.c:248
#8  0x000000000044d5aa in ThreadFunc (_t=0x6c4670) at platform.c:118
#9  0x00007ffff6285ebc in start_thread (arg=0x7fffed1d7700) at pthread_create.c:301
#10 0x00007ffff4d8be0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Reproducible: Always
Comment 1 whitehawk 2011-08-04 23:02:49 UTC
I didn't run gdb for my part, but I get something like this in dmesg every time I try to start transmission-gtk:

transmission-gt[6789]: segfault at 930 ip 6f82fe3a sp 6df9f8e0 error 6 in libminiupnpc.so.8[6f82c000+a000]

At the moment I'm trying to rebuild the deptree of miniupnpc but I doubt success.
Comment 2 Wormo (RETIRED) gentoo-dev 2011-08-05 06:20:04 UTC
Thanks for the report. Could one of you post 'emerge --info' in case it is needed to reproduce this bug?
Comment 3 thomasg 2011-08-05 12:42:18 UTC
Created attachment 282197 [details]
emerge --info

(In reply to comment #2)
> Thanks for the report. Could one of you post 'emerge --info' in case it is
> needed to reproduce this bug?

It is not needed to reproduce it, as it is only related to the miniupnpc version, but here you go.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-08-06 08:27:51 UTC

*** This bug has been marked as a duplicate of bug 376795 ***