aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule and libsafe  (Read 2672 times)

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
aMule and libsafe
« on: October 01, 2007, 05:40:33 PM »

aMule crashes if libsafe is installed:
search and download/upload work, but at example update servers list make aMule to crash.
I don't remember the other thinks that make it to crash.

My system:
Slackware 12 (libsafe-2.0.16)

I have tried:
aMule 2.1.3 (+wxpatch) with wxwidgets/gtk 2.8.4 (both compiled by me),
same versions from http://www.slacky.eu/
aMule CVS-20071001 compiled by me

Then I have uninstalled libsafe and it (amule cvs) works!

Code: [Select]
utente@wrabbit:~$ amule
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/utente/.aMule/Temp.
Loading PartFile 3 of 3
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/utente/.aMule/Temp/001.part.met to shares
Adding file /home/utente/.aMule/Temp/004.part.met to shares
Adding file /home/utente/.aMule/Temp/005.part.met to shares
HTTP download thread started
Host: ocbmaurice.dyndns.org:80
URL: http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-max.met
Response: 302 (Error: 0)
Host: ocbmaurice.no-ip.org:80
URL: http://ocbmaurice.no-ip.org/slist/yecrbwvnto/max/server.met
Response: 200 (Error: 0)
Download size: 1741
HTTP download thread ended

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK2 v2.8.4 (Snapshot: Mon Oct  1 07:01:54 CEST 2007)
Running on: Linux 2.6.21.5-smp i686

[2] ?? in amule [0x806a2e5]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb79bca86]
[4] ?? in [0xffffe420]
[5] wxThread::Exit(void*) in /usr/lib/libwx_baseu-2.8.so.0[0xb79b6941]
[6] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.8.so.0[0xb79b6eda]
[7] wxPthreadStart in /usr/lib/libwx_baseu-2.8.so.0[0xb79b6f1d]
[8] ?? in /lib/libpthread.so.0 [0xb7f071b3]
[9] clone in /lib/libc.so.6[0xb773003e]


--------------------------------------------------------------------------------
Aborted
utente@wrabbit:~$ logout
root@wrabbit:/usr/local/src/Archivio/slacky/amule/cvs# slackpkg remove libsafe

Looking for libsafe in package list. Please wait... DONE

libsafe-2.0.16-i386-1.tgz

Total package(s): 1

Do you wish to remove selected packages (Y/n)? y

Package: libsafe-2.0.16-i386-1.tgz
        Removing...
[...]
utente@wrabbit:~$ amule
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /home/utente/.aMule/Temp.
Loading PartFile 3 of 3
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/utente/.aMule/Temp/001.part.met to shares
Adding file /home/utente/.aMule/Temp/004.part.met to shares
Adding file /home/utente/.aMule/Temp/005.part.met to shares
HTTP download thread started
Host: ocbmaurice.dyndns.org:80
URL: http://ocbmaurice.dyndns.org/pl/slist.pl/server.met?download/server-max.met
Response: 302 (Error: 0)
Host: ocbmaurice.no-ip.org:80
URL: http://ocbmaurice.no-ip.org/slist/yecrbwvnto/max/server.met
Response: 200 (Error: 0)
Download size: 1741
HTTP download thread ended
Shutting down aMule...
aMule dialog destroyed
Now, exiting main app...
aMule OnExit: Terminating core.
Saving PartFile 3 of 3
All PartFiles Saved.
aMule shutdown completed.
« Last Edit: October 01, 2007, 05:48:17 PM by gtoso »
Logged

lfroen

  • Guest
Re: aMule and libsafe
« Reply #1 on: October 02, 2007, 03:41:56 PM »

So? What's a point here? Shouldn't you report it to "libsafe" (whatever it is) developers?
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: aMule and libsafe
« Reply #2 on: October 03, 2007, 02:17:18 PM »

So? What's a point here? Shouldn't you report it to "libsafe" (whatever it is) developers?

I'm sorry  :-\

I used libsafe in some Linux installation and it worded fine.

It's first time I install it in a "desktop" Linux installation (with X),
and aMule (or some library that it uses) is the first software that I find to be incompatible and instable with libsafe.
So I reported it to you, maybe better to report it to you AND libsafe developers, but I have no time to generate a good report and my English is bad.

If  libsafe intercepts the calls to some functions and replace they,
or substitute versions of the functions are broken,
or  some software use they and their results in some strange mode...
Theoretically the results of those functions is the same of the original functions in absence of problem (overflow, ...).

So I don't know if it's a libsafe problem or aMule/wxwidget/... problem

http://fresh.t-systems-sfr.com/linux/src/libsafe-2.0-16.tgz:a/libsafe-2.0-16/README
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule and libsafe
« Reply #3 on: October 04, 2007, 03:56:10 AM »

Hi gtoso,

I see your point, this is probably a problem with wxWidgets. This is hard to isolate, because I doubt that the libsafe developers will have some interest in debugging this, unless there is someone there that uses aMule. On the other hand, aMule developers have been busy with real life problems lately, and I don't know if there is someone willing to test this libsafe bug.

Maybe the best thing to do is to make a bug report here, so that it does not get forgotten:
http://www.amule.org/abugs/login_page.php

Cheers!
Logged