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 amule + force quit  (Read 3130 times)

pentolaccia

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Mac amule + force quit
« on: March 24, 2005, 02:11:18 AM »

hi everybody..
yesterday I installed amule for mac (or mac mule)...the procedure was simply to copy the file in the appplication directory...so i did...i started it...and everithing was fine....
Then after some hours, I'm closing my mac and amule doesn't want to quit...(it's like freeezed...) so I waited a little bit, (10 minutes...) and after.... I did the "force quit"....and that's all...
Today I tryied to open it again...but this time it doesn't work....i click on it...and it is not running...
I tried to erase the amule file application and put at it's place a fresh downloaded one....but still doesn't work.....
I shut down the mac and I restared the osx....still doesn't go...
I tried to copy the amule file of the relase 2.0.0.8 rc....(without compiling because i dunno how to do it)...he  told me that he cannot copy the file because there is an element being used: libcurl.2.dylib ...

I tried to serach this file on the hard disk but I got no clue.....

Someone can help me?

thx
« Last Edit: March 24, 2005, 02:11:34 AM by pentolaccia »
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
RE: Mac amule + force quit
« Reply #1 on: March 24, 2005, 10:09:50 AM »

Quote
Originally posted by pentolaccia
Then after some hours, I'm closing my mac and amule doesn't want to quit...(it's like freeezed...) so I waited a little bit, (10 minutes...) and after.... I did the "force quit"....and that's all...
i just noticed the same thing -- the version i posted on 2005/03/22 does not quit, not even if you started it a just few minutes ago. you have to kill it by hand. that can't be good.
it also seems to get more resource hungry over time -- after three days it ate half of my cpu, usually it's around 15%.


concerning your problem of not being able to restart amule, have a look at this thread, i've posted some debugging and cleaning instructions there.
Logged
Current aMule CVS builds for OS X can be found here.

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
RE: Mac amule + force quit
« Reply #2 on: March 24, 2005, 01:35:45 PM »

Quote
Originally posted by lionel77
i just noticed the same thing -- the version i posted on 2005/03/22 does not quit, not even if you started it a just few minutes ago. you have to kill it by hand. that can't be good.
it also seems to get more resource hungry over time -- after three days it ate half of my cpu, usually it's around 15%.

not for me. no increase in cpu consumtion (after ~1D10h) and quitting within approx. 20sec.

the '15 version once failed to terminate after it crashed. hogged the cpu with high system share for minutes until i foce-quitted it.

how can your '22 version have been running for 3D? today it's '24 :evil:

... m2kio !
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
RE: Mac amule + force quit
« Reply #3 on: March 25, 2005, 07:10:05 AM »

Quote
Originally posted by m2kio
not for me. no increase in cpu consumtion (after ~1D10h) and quitting within approx. 20sec.

the '15 version once failed to terminate after it crashed. hogged the cpu with high system share for minutes until i foce-quitted it.

how can your '22 version have been running for 3D? today it's '24 :evil:
you are right, on that machine i didn't run the 03/22 but instead one that i compiled two days earlier, but i did experience the freeze with the 03/22 as well on a different machine.

it does not seem to happen on every quit as i was able to quit an instance of amule that had been running for 20h. but then i started it again and quit and again it froze. cpu consumption got maxed out, nothing happened for 5 min and then i used 'kill', which caused amule to print "Shutdown requested, terminating." into the console but again nothing happened. only "kill -9" did the job.

i tried it a couple more times and sometimes it didn't freeze but more often it did... very weird...

i'm not sure if this is helpful, but here is a backtrace that i took after hitting in the terminal window where amule ran through gdb:

Code: [Select]
(gdb) bt
#0  0x0022a114 in wxListBase::DetachNode(wxNodeBase*) (this=0xcfa3650, node=0xcfcfdf0) at ../src/common/list.cpp:394
#1  0x0022a1b4 in wxListBase::DeleteNode(wxNodeBase*) (this=0xcfa3650, node=0xcfcfdf0) at ../src/common/list.cpp:410
#2  0x00539850 in wxObjectList::DeleteNode(wxObjectListNode*) (this=0xcfa3650, node=0xcfcfdf0) at ../include/wx/list.h:1036
#3  0x0053963c in wxObjectList::Erase(wxObjectListNode*) (this=0xcfa3650, it=0xcfcfdf0) at ../include/wx/list.h:1036
#4  0x001b9164 in wxEvtHandler::ProcessPendingEvents() (this=0x8b23640) at ../src/common/event.cpp:1145
#5  0x0019191c in wxAppConsole::ProcessPendingEvents() (this=0x8b23640) at ../src/common/appbase.cpp:280
#6  0x0032405c in wxMacProcessNotifierAndPendingEvents () at ../src/mac/carbon/macnotfy.cpp:135
#7  0x002bd32c in wxApp::MacHandleOneEvent(void*) (this=0x8b23640, evr=0xcfb6e40) at ../src/mac/carbon/app.cpp:1042
#8  0x002bd24c in wxApp::MacDoOneEvent() (this=0x8b23640) at ../src/mac/carbon/app.cpp:1017
#9  0x002bcc9c in wxApp::MainLoop() (this=0x8b23640) at ../src/mac/carbon/app.cpp:868
#10 0x002c3788 in wxAppBase::OnRun() (this=0x8b23640) at ../src/common/appcmn.cpp:340
#11 0x002c4a30 in wxEntry(int&, wchar_t**) (argc=@0xbffffbf8, argv=0x8b21c90) at ../src/common/init.cpp:417
#12 0x002c4b48 in wxEntry(int&, char**) (argc=@0xbffffbf8, argv=0xbffffc88) at ../src/common/init.cpp:429
#13 0x001552a0 in main (argc=1, argv=0xbffffc88) at amule-gui.cpp:146

(gdb) bt full
#0  0x0022a114 in wxListBase::DetachNode(wxNodeBase*) (this=0xcfa3650, node=0xcfcfdf0) at ../src/common/list.cpp:394
        prevNext = (wxNodeBase **) 0xcfa3660
        nextPrev = (wxNodeBase **) 0x0
#1  0x0022a1b4 in wxListBase::DeleteNode(wxNodeBase*) (this=0xcfa3650, node=0xcfcfdf0) at ../src/common/list.cpp:410
No locals.
#2  0x00539850 in wxObjectList::DeleteNode(wxObjectListNode*) (this=0xcfa3650, node=0xcfcfdf0) at ../include/wx/list.h:1036
No locals.
#3  0x0053963c in wxObjectList::Erase(wxObjectListNode*) (this=0xcfa3650, it=0xcfcfdf0) at ../include/wx/list.h:1036
No locals.
#4  0x001b9164 in wxEvtHandler::ProcessPendingEvents() (this=0x8b23640) at ../src/common/event.cpp:1145
        event = (wxEvent *) 0xcfe1670
        lastPendingNode = (wxObjectListNode *) 0xcfcfdf0
        node = (wxObjectListNode *) 0xcfcfdf0
#5  0x0019191c in wxAppConsole::ProcessPendingEvents() (this=0x8b23640) at ../src/common/appbase.cpp:280
        handler = (wxEvtHandler *) 0x8b23640
        node = (wxObjectListNode *) 0xcf9c560
#6  0x0032405c in wxMacProcessNotifierAndPendingEvents () at ../src/mac/carbon/macnotfy.cpp:135
No locals.
#7  0x002bd32c in wxApp::MacHandleOneEvent(void*) (this=0x8b23640, evr=0xcfb6e40) at ../src/mac/carbon/app.cpp:1042
        theTarget = 0x8b2d4d0
        status = 0
#8  0x002bd24c in wxApp::MacDoOneEvent() (this=0x8b23640) at ../src/mac/carbon/app.cpp:1017
        theEvent = 0xcfb6e40
        status = 0
#9  0x002bcc9c in wxApp::MainLoop() (this=0x8b23640) at ../src/mac/carbon/app.cpp:868
No locals.
#10 0x002c3788 in wxAppBase::OnRun() (this=0x8b23640) at ../src/common/appcmn.cpp:340
No locals.
#11 0x002c4a30 in wxEntry(int&, wchar_t**) (argc=@0xbffffbf8, argv=0x8b21c90) at ../src/common/init.cpp:417
        callOnExit = {}
        cleanupOnExit = {}
#12 0x002c4b48 in wxEntry(int&, char**) (argc=@0xbffffbf8, argv=0xbffffc88) at ../src/common/init.cpp:429
No locals.
#13 0x001552a0 in main (argc=1, argv=0xbffffc88) at amule-gui.cpp:146
No locals.
Logged
Current aMule CVS builds for OS X can be found here.

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Mac amule + force quit
« Reply #4 on: March 25, 2005, 09:26:50 PM »

It's not even Mac-specific.
Logged