aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Mac testers.  (Read 132830 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Mac testers.
« on: November 19, 2004, 04:20:37 AM »

Please, everyone compiling wxMac and aMule from scratch on Mac to test it, get in touch with me. I have a wxMac patch to test, and it's important becaouse it might be the last wxMac bug we have to face.

Additionally, there are some aMule patches on This Tarball so please use it or later for testing. (when it's avail - 8am GMT+1).

Thanks for helping!
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
RE: Mac testers.
« Reply #1 on: November 19, 2004, 10:41:32 AM »

Hi Kry,
With http://amule.hirnriss.net/cvs/aMule-cvs-20041119.tar.bz2, amule crashes right after starting on my os x. An older version (like 3 days old) was running for at least 2 days... I deleted .aMule/server.met, but this didn't change anything.
I compiled it with "./configure --disable-systray --disable-gsocket --disable-gtk --with-wx-prefix=/usr/local --with-wx-config=/usr/local/bin/wx-config --enable-embedded_crypto --enable-debug", having wxWidgets 2.5.2. Here's what I get with gdb:
Code: [Select]
Initialising aMule
Userhash loaded: 3F15AACD7F0E4BFFDA4D0077BB2A6F7D
*** UDP socket at 4665
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries warning: Pre-compiled symbol file "QuickTime.syms" is out of date (Sat Apr 24 23:53:24 2004 vs. Sun Nov  7 17:36:56 2004); ignoring

. done
*** reading servers
Loading temp files from /Users/xxx/.aMule/Temp.
Loading 001.part.met...  - filename xxx - Done.
Loading 002.part.met...  - filename xxx - Done.
Loading 003.part.met...  - filename xxx - Done.
Loading 005.part.met...  - filename xxx - Done.
Loading 006.part.met...  - filename xxx - Done.
Loading 007.part.met...  - filename xxx - Done.
Loading 008.part.met...  - filename xxx - Done.
Loading 009.part.met...  - filename xxx - Done.
Adding file /Users/xa/.aMule/Temp/002.part.met to shares
Adding file /Users/xa/.aMule/Temp/008.part.met to shares
Adding file /Users/xa/.aMule/Temp/009.part.met to shares
No permisions to open /.hotfiles.btree, skipping
Hasher: Creating new thread.
Hasher: Starting to create MD4 and AICH hash for file: BenutzerhandbuÌcher und Informationen
Hasher: Finished hashing file: BenutzerhandbuÌcher und Informationen
Hasher: No files on queue, stopping thread.
Hasher: A thread has died.
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
*** TCP socket at 4662
ListenSocket: Ok.
*** UDP socket at 4672
AICH Thread: No new files found.
AICH Thread: Thread terminated.
BenutzerhandbuÌcher und Informationen is 0-size, not added
File not added to sharedlist: BenutzerhandbuÌcher und Informationen
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: No new files found.
AICH Thread: Thread terminated.

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90190b34 in CFRelease ()

amule is frozen now (spinning wheel).

Code: [Select]
(gdb) bt
#0  0x90190b34 in CFRelease ()
#1  0x03d4ed20 in _GSocket_GUI_Destroy_Socket ()
#2  0x03d4ed20 in _GSocket_GUI_Destroy_Socket ()
#3  0x02f4c950 in GSocket_destroy ()
#4  0x02f4cf0c in GSocket_WaitConnection ()
#5  0x02f4a490 in wxSocketServer::AcceptWith(wxSocketBase&, bool) ()
#6  0x0000e6e4 in CListenSocket::OnAccept(int) (this=0x8330010, nErrorCode=0) at ListenSocket.cpp:2343
#7  0x001457ec in CamuleGuiApp::ListenSocketHandler(wxSocketEvent&) (this=0x4318e30, event=@0x8320d60) at amule-gui.cpp:355
#8  0x03a8b920 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#9  0x03a8b0b8 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#10 0x03a8bacc in wxEvtHandler::ProcessEvent(wxEvent&) ()
#11 0x03a8b820 in wxEvtHandler::ProcessPendingEvents() ()
#12 0x03a31ad8 in wxAppConsole::ProcessPendingEvents() ()
#13 0x03d305f8 in wxApp::MacHandleOneEvent(void*) ()
#14 0x03d3056c in wxApp::MacDoOneEvent() ()
#15 0x03d301b0 in wxApp::MainLoop() ()
#16 0x03a60468 in wxEntry(int&, char**) ()
#17 0x0014516c in main (argc=1, argv=0xbffffc40) at amule-gui.cpp:165

and

Code: [Select]
#0  0x90190b34 in CFRelease ()
No symbol table info available.
#1  0x03d4ed20 in _GSocket_GUI_Destroy_Socket ()
No symbol table info available.
#2  0x03d4ed20 in _GSocket_GUI_Destroy_Socket ()
No symbol table info available.
#3  0x02f4c950 in GSocket_destroy ()
No symbol table info available.
#4  0x02f4cf0c in GSocket_WaitConnection ()
No symbol table info available.
#5  0x02f4a490 in wxSocketServer::AcceptWith(wxSocketBase&, bool) ()
No symbol table info available.
#6  0x0000e6e4 in CListenSocket::OnAccept(int) (this=0x8330010, nErrorCode=0) at ListenSocket.cpp:2343
        newclient = (CClientReqSocket *) 0x4a6d360
#7  0x001457ec in CamuleGuiApp::ListenSocketHandler(wxSocketEvent&) (this=0x4318e30, event=@0x8320d60) at amule-gui.cpp:355
        socket = (CListenSocket *) 0x8330010
#8  0x03a8b920 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
No symbol table info available.
#9  0x03a8b0b8 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
No symbol table info available.
#10 0x03a8bacc in wxEvtHandler::ProcessEvent(wxEvent&) ()
No symbol table info available.
#11 0x03a8b820 in wxEvtHandler::ProcessPendingEvents() ()
No symbol table info available.
#12 0x03a31ad8 in wxAppConsole::ProcessPendingEvents() ()
No symbol table info available.
#13 0x03d305f8 in wxApp::MacHandleOneEvent(void*) ()
No symbol table info available.
#14 0x03d3056c in wxApp::MacDoOneEvent() ()
No symbol table info available.
#15 0x03d301b0 in wxApp::MainLoop() ()
No symbol table info available.
#16 0x03a60468 in wxEntry(int&, char**) ()
No symbol table info available.
#17 0x0014516c in main (argc=1, argv=0xbffffc40) at amule-gui.cpp:165
No locals.

The stuff with "No symbol table info available." seems to be related with gdb complaining about a lot of .sym files being out of date. Sadly, I don't have the slightest idea, how to fix that :-(

An what is "/.hotfiles.btree"? Since some time, amule always complains about this file missing, even older version running well...
,
Hope it helped nevertheless.
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • Don't eat the yellow snow (F. Zappa)
RE: Mac testers.
« Reply #2 on: November 19, 2004, 10:51:05 AM »

Ups, I just realized, that in the OS X forum was another post from you, where you want to get rid of the "CFRelease()"-bug I just re-reported - I guess - by inviting people running OS X to come to IRC to get another patch for wxWidgets.
Sorry about the previous post, you can delete it if there's no new info for you in it. If I find the time, I will come to IRC this eveneing...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Mac testers.
« Reply #3 on: November 19, 2004, 12:07:47 PM »

Yes, please. That one is fixed, but we need to patch wx :)
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Mac testers.
« Reply #4 on: November 19, 2004, 12:11:27 PM »

More news: using wx-cvs will work, they accepted my patch :)
Logged