On 24 Apr 2009, at 02:55, Charles Lepple wrote:

> On Apr 23, 2009, at 4:53 PM, Martin Costabel wrote:
>
>> 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,
>
> 'grep -c' should be able to cope with empty input (returning 0), as  
> long as you are passing a regex (in this case,  
> 'org.finkproject.dbus-session'). Are you sure it isn't something else?
>
> Matthew,
>
> Just to be sure, what is the output of 'dpkg -l dbus'? Also, what  
> does 'launchctl list' return?
>
> - Charles

i get

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half- 
installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:  
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============- 
============================================
ii  dbus           1.2.12-10      Message bus system for applications


and

org.finkproject.dbus-session


respectively.

matt.


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to