[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    [LTP] [ ltp-Bugs-1575416 ] fork12 isn't completed
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2007-03-21 14:39:23
Message-ID: E1HU1yF-0001S1-C4 () sc8-sf-web22 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1575416, was opened at 2006-10-11 11:55
Message generated for change (Settings changed) made by robbiew
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1575416&group_id=3382

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Testcases
Group: System Calls
>Status: Deleted
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Vagin Andrey (shpagin)
Assigned to: Nobody/Anonymous (nobody)
Summary: fork12 isn't completed

Initial Comment:
24806 ?        S      0:00  |    \_ /bin/sh ./runltp ...
24912 ?        S      0:00  |         \_ pan ...
27538 ?        S      0:01  |              \_ fork12
12451 ?        S      0:00  |                 \_ fork12
..and this hangs forever.

Problem:
Race condition in child>
                pid1 = fork()) {
                    if (pid1 == 0) { /* child */
                        pause();               //process
 start sleep after kill and signal, whitch must wake up
it, is already processed.
                        exit(0);
                    }
                kill(0, SIG_QUIT);
                while (wait(&waitstatus) > 0);  //this
loop did not come to the end.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1575416&group_id=3382

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic