X-Spam-Check-By: sourceware.org Date: Sat, 16 Sep 2006 09:19:07 +0200 (MEST) From: VandeVondele Joost To: cygwin AT cygwin DOT com Subject: program startup problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/