[Bug 136867] Changed - child-test is still hanging



http://bugzilla.gnome.org/show_bug.cgi?id=136867

otaylor redhat com changed:

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
           Keywords|GNOMEVER2.5                 |GNOMEVER2.5, portability
   Target Milestone|---                         |2.4.1



------- Additional Comments From otaylor redhat com  2004-03-14 12:57 -------
I have some reservations about Sebastian's new approach,
so I'd like to try to get debugging on what is going on
here; this isn't a problem with threading, since in
2.3.6, child-test isn't threaded.

Can you add some debugging into:

 g_child_watch_signal_handler()

At the beginning, add:
 
 write (2, "SIG\n", 4);

And in 

 g_child_watch_prepare
 g_child_watch_check
 g_child_watch_dispatch
 
add 

 g_printerr ("prepare: Checking for %d, counts = %d\n",
             ((GChildWatchSource *)source)->pid,
             ((GChildWatchSource *)source)->count,
              child_watch_count, 

(Same for check and dispatch, but with check:, dispatch: instead)

And see what that logs? I suspect we have some simple logic
error in the code, but I can't figure it out offhand.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]