Matthew Parry wrote: > i have been having some trouble with xterm hanging recently. i'm on a > MBP 10.4.11 with latest fink. > > it only happens after a start up. i.e. not if i logout and then login > again. > > the first xterm hangs after showing: > > Last login: Thu Apr 23 13:55:32 on console > Welcome to Darwin! > > a second xterm fires up ok and ps shows: > > PID TT STAT TIME COMMAND > 238 p1 S 0:00.09 -tcsh > 250 p1 S+ 0:00.00 /bin/sh -e /sw/bin/start-session-bus.sh > 251 p1 S+ 0:00.00 /bin/sh -e /sw/bin/start-session-bus.sh > 253 p1 S+ 0:00.00 grep -c org.finkproject.dbus-session > 254 p1 S+ 0:00.01 /sbin/launchd > 278 p2 Ss 0:00.04 -csh > > if i then go back to the first xterm and do ctrl-c processes 250, 251 > and 253 are stopped. > > i would really appreciate any help in understanding what is going on! > > before the last update to dbus, i had similar behaviour but usually > the hang resolved itself in a minute or so.
I think this is a bug in the start-session-bus.sh script: On 10.4, `launchctl list` usually gives no output at all, and the "grep -c" command then hangs. Maybe the command `launchctl list 2>/dev/null | grep -c org.finkproject.dbus-session` should be replaced by something like `(echo nothing; launchctl list) 2>/dev/null | grep -c org.finkproject.dbus-session` -- Martin ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users