Re: Restart / Shutdown Hang Up[Up to topic list]  [Home]

Who What
turly
11 Feb 2011, 12:54
Re: Restart / Shutdown Hang Up
Hmm, first I've heard of this, and your "anecdotal" evidence strikes me as pretty damning for FP - sorry!

You don't say what version of FP you're using - use 2.3.0.4 beta (see here.)

When you say 'hang up', are we talking spinning-beachball-of-death, or is it possible to launch (say) Terminal.app?
The FP-Injector daemon just sits and waits for apps to launch, and then decides whether to add FP to the just-launched-app. I don't think it does anything else.

All I can think of is that perhaps on your system something gets launched on shutdown and FP sees it being launched, tries to add FinderPop to it, but the system is already halfway shutdown so it gets stuck...? Sounds vaguely plausible anyway.

I will see if there's some way I can tell that we're shutting down and then just not do anything... but not until the weekend, alas - I'm up the walls with 'real' work ...
mrdhs
11 Feb 2011, 21:43
Re: Restart / Shutdown Hang Up
Hi!
You know, I always forgot something important.
yes, i am using 2.3.0.beta
and when I mean hang, I mean that the screen changes to the color I normally see just be the restart / shutdown etc, but then... nothing. No mouse. If I do the option-command-esc, the force quit window does NOT come up.
Cannot get to terminal (tried)
All that works is to hold the power button down for 5-6 seconds, wait one minute, and then I always reboot into safe mode just to ensure that the computer knows where it is at. (Probably do not have to do that but I do.) Here I verify the hard drive and repair permissions.
I have used disk warrior to rebuild my directory, and check for system problems. It has found none.
I have deleted my spotlight index and let it rebuild over night.
I have also reset PRAM and NVRAM a number of times.
I have also used applejack 1.6 to deep clean my system caches and also used it to do its "normal" stuff.
I have looked at my system using tinkertool 2 system and all that i found once was that my machine was confused as to which startup language to use, which I fixed.

None of the above has addressed this issue.

When I startup using virgin system on an external FW 800 drive that is solely virgin, no FP, etc etc etc, no hangs, as expected.

I did see in one console log that a "libsys a" had hung but do not always see that.

As for my system launching something on shutdown, I have had the problem when there are no apps running other than finder, and in my menu bar, I have turned off most of the items that are up there at various times, and only with finderpop turned off do I not get a hang screen within 5 cycles of SD/RS/LO soooooooo it could be one of them but ...........

So, just to be on the safe side, I downloaded a fresh version late last night instead of getting my copy from my stash. Using "easy find", I located each and every piece of finderpop I could find, and trashed them. I know your uninstaller is suppose to do that, but thinking that something just might be broken, decided to locale all the pieces manually. (But before trashing the old version, I looked inside the packages to see if I could spot a file / folder who had a modification date close to yesterday. Nadda.

Again using easy finder, searched for the FP injector and could not find a trace.

Restarted, verified hard drive, fixed permissions, and reinstalled a fresh copy of FinderPop. So far, shutdowns, restarts and log outs seem fine (did one of each...)

What I am clueless as to how to generate is a verbatim log of what happens during the shutdown process. If I knew how to do that, i would know that finding the offending culprit would be a whole lot easier....

Thanks

I can wait for a while. i will use the time to gather more data.

I also do NOT have any command to auto shutdown or NOT auto shutdown my computer. I am at home, connected to a adsl modem, and sometimes, I also connect via shared device to my wife's G3, but I always disconnect from her machine physically long before I do a SD/RS/LO.

I did think at one time that was the problem but I did test over a period of hours with FP tuned off if having been connected to her machine was a problem and no hang occurred....

been at this over a month, methodically trying everything IU can think up in a manner that would invite reproducibility, but I keep coming back to FP....

Maybe these is something that i am running that it does not like, some daemon, some invisible process, some root process but am struggling to ID what that may be.
turly
12 Feb 2011, 00:02
Re: Restart / Shutdown Hang Up
I'll see what I can do this weekend. Normally console.app will have a printout along the lines of

23:55:00 FInderPop 2.3.0.4 blah --- patching 'Finder'

... and you see nothing unusual in Console.app after you reboot? Though it the machine has clung itself, the chances are that the console log file would not have been saved to disk.

I might get the daemon to log to a file and flush the file to disk instead of/in addition to logging to the console.
mrdhs
12 Feb 2011, 15:24
Re: Restart / Shutdown Hang Up
Thanks. Console is not logging anything. I thought that was because the machine was freezing before the log could be written...
(see attachment)
Maybe having the daemon write to disc might help but I do have an update:

After I downloaded a version from the net, and reinstalled it, after having purged any FP piece of code I could find, all is now... normal...

I have not done 5 each of sd/rs/lo but I have done at least 2 of each, without a hang...

Now, I am NOT holding my breath
Attachments
FinderPop Console.rtf.zip
(1.5 KiB) Downloaded 285 times
mrdhs
 
Posts: 9
Joined: 11 Feb 2011, 08:24

Re: Restart / Shutdown Hang Up

Postby mrdhs » 12 Feb 2011, 18:50

I spoke too soon. I had a hang up on the last log out.

Attached is the portion of the console log for a few minutes before my attempt to log out, and after, during a safe mode startup.

Maybe there is a nugget in that log I am missing.
Attachments
Last Hang log msgs 12 Feb 2011.rtf.zip
(1.98 KiB) Downloaded 264 times
mrdhs
 
Posts: 9
Joined: 11 Feb 2011, 08:24

Re: Restart / Shutdown Hang Up

Postby turly » 12 Feb 2011, 23:37

I just realised that I completely ignore the QUIT AppleEvent in the Daemon. I had disabled it for some debuggery about two-and-a-half years ago.
How embarrassing! :oops:

I've fixed this in http://www.finderpop.com/fix-daemon-quit.zip

Let me know if this sorts out your problem.

Previous versions would simply ignore the 'aevt'/'quit' AppleEvent, meaning finderpop-daemon hung around until the bitter end.
This version of FP will exit immediately on receipt of the 'quit' AppleEvent.

Thanks for the patience and my apologies for all the hassle!
mrdhs
13 Feb 2011, 02:25
Re: Restart / Shutdown Hang Up
Hi!
before I install this fix, the current version is 2.6 mbytes, this one is 5.9. Really?

Second, am I the only one to report this hang?

Lastly, while I appreciate your honesty, you must have a sense for the great amount frustration I have experienced tracking this problem down.
turly
13 Feb 2011, 10:07
Re: Restart / Shutdown Hang Up
before I install this fix, the current version is 2.6 mbytes, this one is 5.9. Really?

Qué?
FinderPop-2.3.0.4.prefPane size 6.1 MB (5818935 bytes)
FinderPop-2.3.0.5.prefPane size 6.1 MB (5818973 bytes)

Second, am I the only one to report this hang?

As far as I know, yes.

you must have a sense for the great amount frustration I have experienced tracking this problem down.

Yes, it certainly sounds very painful and a less determined soul would just have uninstalled FinderPop and have done with it.
I'm used to that kind of cr@p as a developer, but for a user to take up cudgels in this manner against a wayward program is unusual, for which I can only say "Thanks very much" and offer to feed you beers should we ever meet!
mrdhs
13 Feb 2011, 16:59
Re: Restart / Shutdown Hang Up
Hi!

I screwed up. I compared zipped file size to unzipped. My error. That is what happens when one is trying to make heads/tails at 3 AM in the morning.

Second, to be honest, if I was 100% sure that FP was causing these "hand ups" I would have dumped the program. But I was not sure, and still am skeptical. You found a problem but I am not 100% sure that what you fixed will resolve my issue. Further testing on my part needs to be accomplished by me.

As for the beers, please that is not necessary. May I suggest that when you post the update, you specifically note that an apple event coding error has been corrected and those that were experiencing freezes upon SD/RS/LO give the new version a try.

I would prefer NO recognition other than what is on this board.

OK?
turly
13 Feb 2011, 17:29
Re: Restart / Shutdown Hang Up
OK - I''ve just released FinderPop 2.3.0.6 which has a fix for a 64-bit Photoshop crash as well as the 'quit' AppleEvent Handler.

In an attempt to reproduce your problem I logged out/restarted/shut down 10 times using the old 2.3.0.4 version and never saw any problem. I then did the same with the just-released 2.3.0.6, again with no problems. There must be something slightly unusual about your system... but what that might be, I couldn't say...

Please let me know how you get on with 2.3.0.6 ... and of course, thanks again!
mrdhs
15 Feb 2011, 19:49
Re: Restart / Shutdown Hang Up
Still testing but so far, only had one "hangup" and I can guarantee that it was not caused by FP.... (Skype was the cause, and I hardly use it so it cannot be the reason for the original hangups)
turly
15 Feb 2011, 20:50
Re: Restart / Shutdown Hang Up
That's good news, I'm pretty sure that having the 'quit' AppleEvent handler will fix the issue.
I still wonder what's different about your system that causes this, but as it should never happen again*, I won't dig too deeply into it...

*Famous Last Words