Signal handling problem in 1.5.7 ? - Was: Re: Program randomly hangs.....

Arash Partow arashp@hotmail.com
Wed Feb 4 03:01:00 GMT 2004


Hi Volker,

Sometime ago there were problems with signal handling and threads
in cygwin. The main issue was that signal handling was not occurring
properly when threads were running and when a signal was fired the
signal handler would not relinquish control properly back to whatever
was control the threads in this case cygwins thread pool. As far
as I know the snapshot from the 31st of Jan 04 has resolved those
issue. As for "processes" thats another issue altogether.




Arash Partow

__________________________________________________
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net








>>Christopher Faylor wrote:
>>
>>     On Tue, Feb 03, 2004 at 09:03:08AM -0500, Volker Quetschke wrote:
>>
>>I got a longer strace.  These are only the first lines, I attached the
>>complete output as dmake_hung.strace.gz:
>>
>>
>>Let me say it again: I do not look at unsolicited straces.  I am also
>>not interested in teaching people how to debug problems.  I mention this
>>in case you are expecting me to step in.
>>
>>No, I'm not especially expecting *YOU* to step in. I'm just reporting
>>facts. Do you have any problems with this?
>>
>>
>>If anyone tries to build Openoffice within a cygwin environement, by
>>following these build instructions
>><http://tools.openoffice.org/dev_docs/build_windows_tcsh.html>
>>he/she will most propably hit this problem.
>>
>>
>>I have no idea about the changes in the last two cygwin dll
>>releases, but I realized that the dmake program started to
>>freeze since I upgraded to 1.5.7. I get this problem on two
>>different build systems and therefore decided to let the cygwin
>>mailinglist know about my problems. I gave all the infos as they
>>are required by <http://cygwin.com/problems.html>.
>>
>>
>>Take my humble apologies if I missed an information, I will
>>immediately provide every missing bit.
>>
>>
>>I hope that there is someone here, besides me, who is interested in
>>doing this.  I don't think it is entirely unrealistic of me to expect
>>that I don't have to be involved in every single issue that shows up for
>>cygwin.  I hope that one of the other technical people here will be
>>able to help you.
>>
>>Maybe I was suffering from the misled impression that someone who
>>changed this
>>
>>
>>- Revamp signal processing to allow beginnings of ability to send
>>signals to threads.  (Christopher Faylor)
>>
>>
>>in the last cygwin release might know why a program started to
>>freeze randomly. It never did that on cygwin before and it is
>>used on a widely spread set of platforms to build Openoffice.
>>
>>
>>     Just setting expectations.
>>
>>Just giving facts.
>>
>>Volker
>>
>>P.S.: I was hoping that some of the strace lines and the reviving
>>with CTRL-Z and fg would ring a bell, but this obviously is not
>>the case.
>>
>>
>>--
>>PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
>>key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
>>












.



..

_________________________________________________________________
Get less junk mail with ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list