Mail Archives: cygwin/2006/09/16/03:19:30
Hi,
I'm having a problem where a program of mine is crashing with a sigsegv,
but I'm clueless as to why it happens. The same source runs fine on a
variety of machines, including my cygwin setup at home, but a friend is
seeing the following segfault with backtrace:
(gdb) run H2O.inp
Starting program: /home/psd127/bin/cp2k.sopt H2O.inp
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ws2_32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ws2help.dll
5 [main] cp2k.sopt 1128 _cygtls::handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
423 [main] cp2k.sopt 1128 open_stackdumpfile: Dumping stack trace to
cp2k.sopt.stackdump
Program received signal SIGSEGV, Segmentation fault.
0x61016545 in stack_info::walk () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x61016545 in stack_info::walk () from /usr/bin/cygwin1.dll
#1 0x7c859dcc in OutputDebugStringA ()
from /cygdrive/c/WINDOWS/system32/kernel32.dll
#2 0x40010006 in ?? ()
#3 0x00000000 in ?? ()
(gdb) list
1
!-----------------------------------------------------------------------------!
I have to apologize for not being more precise, but I'm not even sure I
understand the backtrace. This seems to be early during the program
startup (i.e. before the main is reached) ? Could this be cygwin specific
and/or does this ring a bell ?
Many thanks in advance,
Joost
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -