bitwiseworks / libc

LIBC Next (kLIBC fork)
9 stars 4 forks source link

waitpid() issue? #117

Closed SilvanScherrer closed 2 years ago

SilvanScherrer commented 2 years ago

while working on glib2 testcases I get a lot errors like:

(./gvariant.exe:49046): GLib-WARNING **: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_child_watch_add()/g_spawn_sync() either directly or indirectly.

GLib:ERROR:E:/Trees/glib2/git/glib/tests/gvariant.c:2841:do_failed_test: child process (/gvariant/varargs/subprocess/empty-array [49049]) did not fail as expected

Killed by SIGABRT pid=0xbf96 ppid=0xbf95 tid=0x0001 slot=0x00b4 pri=0x0200 mc=0x0001 ps=0x0010 E:\TREES\GLIB2\BUILD\GLIB\TESTS\GVARIANT.EXE

steps to reproduce:

this should give a trp file and the above message

dmik commented 2 years ago

Can confirm that.

dmik commented 2 years ago

According to my tests, this has nothing to do with LIBC, it's a Glib guilt. Will create a ticket.

dmik commented 2 years ago

Closing this as nothing to fix.