Custom Query (245 matches)
Results (31 - 33 of 245)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#217 | wontfix | LIBC Error: Couldn't register process in shared memory! | ||
Description |
This happens with the current trunk (064x) under the following conditions:
Debugging LIBC064x.DLL shows that the message appears because the DosOpenEventSem?() here returns ERROR_INVALID_HANDLE on a handle which looks OK here (0x800103C or like that). Note that spmInit() in LIBC063.DLL doesn't do DosOpenEventSem?() (which is not fully clear since this call is kind of required to make use of the semaphore from another process) and therefore if the second process is LIBC063.DLL-based, it starts fine. |
|||
#246 | wontfix | Outdated Information about file handles | ||
Description |
If the process connects its stdin/out/err handles to pipes using DosDupHandle?() and then starts a child with spawn*() (perhaps, fork too?), isatty() called in the child one will return 1 for stdin/out/err while they are actually pipes, not character devices any longer. In fact, calling isatty() in the parent process after DosDupHandle?() will continue to return 1 too. My guess is that once LIBC has cached imported file handle information, it is never refreshed. I see these options:
|
|||
#296 | wontfix | Add SIGFPE handler to all threads | ||
Description |
It is known that some OS/2 system DLLs and some third party DLLs unexpectedly reset the FPU control word to a value that causes FPU exceptions to be thrown by the CPU. This may happen to any application, no matter what compiler and runtime it uses. Even if the application doesn't load the "viral" DLL directly, it may be injected into the process by the system (i.e. via PM DLL hooks).
However, according to IEEE 754, the default action for FPU exceptions (e.g. divide by zero) in the compatible C runtime is to return a special value (e.g.
This often leads to a situation when the program does something like
Some applications work around this issue by manually calling
In fact, virtually any application needs this fix, for any of its threads (including threads created by third party library functions). Doing this over and over in each application is a pain. Functionally this definitely belongs to the C runtime. Normal programs (including third party libraries) are expected to start new threads using
So the FPU exception handler must be installed by LIBC both for
PS. GCC on Mac shows the correct behavior, no SIGFPE when I do things like |