View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001264aMuleExternal Connpublic2008-02-16 11:072008-07-10 10:51
ReporterBrezhonneg 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in Version 
Summary0001264: amule does not start when libupnp2 package is installed
DescriptionWhen liupnp2 is not installed, I get these messages at amule startup in the amule log:
2008-02-16 08:09:23: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libixml.so.2. Check PATH and LD_LIBRARY_PATH.
2008-02-16 08:09:23: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.2. Check PATH and LD_LIBRARY_PATH.
2008-02-16 08:09:23: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
2008-02-16 08:09:23: UPnP.cpp(228): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.
2008-02-16 08:09:23: amule.cpp(1021): CUPnPException: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.

When I go ahead and install libupnp2, amule will just not start. I am sorry I do not have any log to provide but I will try to see what error message I get sometime soon. Though maybe this is a package issue and you do not care about it?
Additional InformationKubuntu gutsy 64b
amule_20080123-1nadock1_amd64.deb found on the forum
wxgtk 2.8.4.0
TagsNo tags attached.
Fixed in Revision
Operating SystemLinux 2.6.22
Attached Files

- Relationships

-  Notes
(0002616)
Xaignar (manager)
2008-02-21 16:48

Sorry for the late response. Please do post the error you get, then we can check if it's a package issue or not.

Cheers.
(0002681)
Brezhonneg (reporter)
2008-02-25 14:57

Sorry for the late response myself...

OK so here was my initial situation: I had amule installed, upnp checked in the connection settings, but no libupnp2 package installed.

After installing libupnp2 (tagged as 1.4.3-2 in the kubuntu 7.10 repository), here is what I get:

$ amule
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/als/.aMule/Temp.
Loading PartFile 8 of 8
All PartFiles Loaded.
ListenSocket: Ok.
/usr/include/c++/4.1.3/memory:285: _Tp* std::auto_ptr<_Tp>::operator->() const [with _Tp = CUPnPSCPD]: Assertion '_M_ptr != 0' failed.
Abandon (core dumped)

So I started playing...

I closed amule, uninstalled libupnp2, opened amule, unchecked upnp in the settings, closed amule and reinstalled libupnp2. aMule started correctly.

Then I ticked the upnp checkbox in the settings - no crash.

Then I closed aMule and restarted it - it started OK and I got many upnp messages in the aMule log inside the application (Network tab). I'm not sure if they mean upnp is correctly set up or what, but at least it does not crash anymore.

So, to fine tune my initial report, an accurate descritpion of the problem is:

aMule crashes when the libupnp2 package is installed after the upnp setting was ticked in aMule...

I hope this all makes sense. Feel free to ask me for more details if anything is unclear or not enough documented.
(0002687)
Xaignar (manager)
2008-02-25 18:22

Can you possibly provide a backtrace for the crash?
See for instance http://www.amule.org/wiki/index.php/Backtraces [^]
To being with, just skip the re-compiling step.
(0002689)
phoenix (developer)
2008-02-26 02:05

Also, please enable UPnP debug messages in the debug preferences and attach the file ~/aMule/logfile.
(0002707)
Brezhonneg (reporter)
2008-03-04 10:59

Here are the backtraces. The reproducibility is actually not that easy. It seems it happens when the libupnp2 package is installed while amule is already running.

With libupnp2 not installed, start amule, tick the upnp setting, restart amule, install libupnp2, restart amule. Seems like the surest way to reproduce.

About the backtraces, I am not sure I got everything right, so let me know if it's not OK. I am still running the same SVN based package, though I can consider compiling from source if that's really necessary.

(gdb) run
Starting program: /usr/bin/amule
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47457527657248 (LWP 4563)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1082132816 (LWP 4574)]
Loading temp files from /home/als/.aMule/Temp.
Loading PartFile 5 of 5
All PartFiles Loaded.
ListenSocket: Ok.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1090525520 (LWP 4575)]
[New Thread 1098918224 (LWP 4576)]
[New Thread 1107310928 (LWP 4577)]
[New Thread 1115703632 (LWP 4578)]
[New Thread 1124096336 (LWP 4579)]
[Thread 1090525520 (LWP 4575) exited]
[New Thread 1090525520 (LWP 4580)]
/usr/include/c++/4.1.3/memory:285: _Tp* std::auto_ptr<_Tp>::operator->() const [with _Tp = CUPnPSCPD]: Assertion '_M_ptr != 0' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 47457527657248 (LWP 4563)]
0x00002b298b37b765 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002b298b37b765 in raise () from /lib/libc.so.6
0000001 0x00002b298b37d1c0 in abort () from /lib/libc.so.6
0000002 0x0000000000460ea5 in ?? ()
0000003 0x000000000060871b in ?? ()
0000004 0x00000000005f1d0e in ?? ()
0000005 0x00000000005f64cc in ?? ()
0000006 0x0000000000458975 in ?? ()
0000007 0x000000000045ba52 in ?? ()
0000008 0x0000000000612115 in ?? ()
0000009 0x000000000045dc14 in wxAppConsole::CallOnInit ()
0000010 0x00002b298a6c17e2 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#11 0x0000000000612ce6 in ?? ()
0000012 0x00002b298b367b44 in __libc_start_main () from /lib/libc.so.6
0000013 0x000000000044f1a9 in ?? ()
0000014 0x00007fff21d0c378 in ?? ()
0000015 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00002b298b37b765 in raise () from /lib/libc.so.6
No symbol table info available.
0000001 0x00002b298b37d1c0 in abort () from /lib/libc.so.6
No symbol table info available.
0000002 0x0000000000460ea5 in ?? ()
No symbol table info available.
0000003 0x000000000060871b in ?? ()
No symbol table info available.
0000004 0x00000000005f1d0e in ?? ()
No symbol table info available.
0000005 0x00000000005f64cc in ?? ()
No symbol table info available.
0000006 0x0000000000458975 in ?? ()
No symbol table info available.
0000007 0x000000000045ba52 in ?? ()
No symbol table info available.
0000008 0x0000000000612115 in ?? ()
No symbol table info available.
0000009 0x000000000045dc14 in wxAppConsole::CallOnInit ()
No symbol table info available.
0000010 0x00002b298a6c17e2 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x0000000000612ce6 in ?? ()
No symbol table info available.
0000012 0x00002b298b367b44 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
0000013 0x000000000044f1a9 in ?? ()
No symbol table info available.
0000014 0x00007fff21d0c378 in ?? ()
No symbol table info available.
0000015 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 8 (Thread 1090525520 (LWP 4580)):
#0 0x00002b29891cd997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00002aaaaaf04b20 in ?? () from /usr/lib/libthreadutil.so.2
0000002 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000003 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000004 0x0000000000000000 in ?? ()

Thread 7 (Thread 1124096336 (LWP 4579)):
#0 0x00002b29891cd997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00002aaaaaf05bb0 in ?? () from /usr/lib/libthreadutil.so.2
0000002 0x00002aaaaaf04c5d in ?? () from /usr/lib/libthreadutil.so.2
0000003 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000004 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000005 0x0000000000000000 in ?? ()

Thread 6 (Thread 1115703632 (LWP 4578)):
#0 0x00002b298b4170a2 in select () from /lib/libc.so.6
0000001 0x00002aaaaace6354 in ?? () from /usr/lib/libupnp.so.2
0000002 0x00002aaaaaf04c5d in ?? () from /usr/lib/libthreadutil.so.2
0000003 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000004 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000005 0x0000000000000000 in ?? ()

Thread 5 (Thread 1107310928 (LWP 4577)):
#0 0x00002b29891cd997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00002aaaaaf04b20 in ?? () from /usr/lib/libthreadutil.so.2
0000002 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000003 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000004 0x0000000000000000 in ?? ()

Thread 4 (Thread 1098918224 (LWP 4576)):
#0 0x00002b29891cd997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0x00002aaaaaf04b20 in ?? () from /usr/lib/libthreadutil.so.2
0000002 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000003 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000004 0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 4574)):
#0 0x00002b29891d07b1 in ?? () from /lib/libpthread.so.0
0000001 0x00002b298a7262fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
0000002 0x0000000000595d49 in ?? ()
---Type <return> to continue, or q <return> to quit---
0000003 0x00002b298a720f3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
0000004 0x00002b29891c9317 in start_thread () from /lib/libpthread.so.0
0000005 0x00002b298b41dd5d in clone () from /lib/libc.so.6
0000006 0x0000000000000000 in ?? ()

Thread 1 (Thread 47457527657248 (LWP 4563)):
#0 0x00002b298b37b765 in raise () from /lib/libc.so.6
0000001 0x00002b298b37d1c0 in abort () from /lib/libc.so.6
0000002 0x0000000000460ea5 in ?? ()
0000003 0x000000000060871b in ?? ()
0000004 0x00000000005f1d0e in ?? ()
0000005 0x00000000005f64cc in ?? ()
0000006 0x0000000000458975 in ?? ()
0000007 0x000000000045ba52 in ?? ()
0000008 0x0000000000612115 in ?? ()
0000009 0x000000000045dc14 in wxAppConsole::CallOnInit ()
0000010 0x00002b298a6c17e2 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#11 0x0000000000612ce6 in ?? ()
0000012 0x00002b298b367b44 in __libc_start_main () from /lib/libc.so.6
0000013 0x000000000044f1a9 in ?? ()
0000014 0x00007fff21d0c378 in ?? ()
0000015 0x0000000000000000 in ?? ()
(gdb)
(0002708)
Brezhonneg (reporter)
2008-03-04 11:08

Erm, even that way the reproducibility does not seem to be 100%, I can't seem to get it to crash again. I was trying to get a logfile with UPnP logging on but that bloody thing keeps starting instead of crashing *mumbles*

I'll try more if the backtrace is not enough, let me know
(0002713)
Brezhonneg (reporter)
2008-03-06 11:32

I'm now running yesterday SVN (05/03/2008) with debugging enabled. I tried and tried many combinations and I can't get it to crash. I'll try again sometime later...

- Issue History
Date Modified Username Field Change
2008-02-16 11:07 Brezhonneg New Issue
2008-02-16 11:07 Brezhonneg Operating System => Linux 2.6.22
2008-02-21 16:48 Xaignar Note Added: 0002616
2008-02-25 14:57 Brezhonneg Note Added: 0002681
2008-02-25 14:58 Brezhonneg Note Added: 0002682
2008-02-25 15:00 Brezhonneg Note Added: 0002683
2008-02-25 15:02 Brezhonneg Note Added: 0002684
2008-02-25 15:02 Brezhonneg Note Deleted: 0002682
2008-02-25 15:03 Brezhonneg Note Deleted: 0002683
2008-02-25 15:03 Brezhonneg Note Deleted: 0002684
2008-02-25 18:22 Xaignar Note Added: 0002687
2008-02-26 02:05 phoenix Note Added: 0002689
2008-03-04 10:59 Brezhonneg Note Added: 0002707
2008-03-04 11:08 Brezhonneg Note Added: 0002708
2008-03-06 11:32 Brezhonneg Note Added: 0002713
2008-07-10 10:51 Wuischke Status new => closed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker