From: Bruce C. <br...@cr...> - 2013-10-14 17:31:21
|
On 10/14/2013 6:16 PM, niXman wrote: > Bruce Cran 2013-10-14 20:24: >> I've recently updated an application to build using the latest MinGW >> (4.7.3) that comes with Cygwin, and have run into a problem. >> pthreads-win32 has been replaced with winpthreads and gdb is reporting >> a >> NULL dereference segfault in pthread_cleanup_dest(). > Can you provide more information about how to reproduce this error? > If possible provide call-stack. I run my application and after a few seconds it crashes, with gdb output: [Thread 3656.0x2a8 exited with code 0] [New Thread 3656.0xc18] warning: Invalid parameter passed to C runtime function. [New Thread 3656.0x1e10] [New Thread 3656.0xff0] [New Thread 3656.0x15fc] [New Thread 3656.0x1ea8] [New Thread 3656.0x162c] [New Thread 3656.0x568] [New Thread 3656.0x1054] [New Thread 3656.0xff8] [New Thread 3656.0x160c] [New Thread 3656.0xd5c] [Thread 3656.0xd5c exited with code 0] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 3656.0x15fc] 0x649459f6 in pthread_cleanup_dest () from /cygdrive/i/libwinpthread-1.dll (gdb) bt #0 0x649459f6 in pthread_cleanup_dest () from /cygdrive/i/libwinpthread-1.dll -- Bruce Cran |