delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/16/03:19:30

X-Spam-Check-By: sourceware.org
Date: Sat, 16 Sep 2006 09:19:07 +0200 (MEST)
From: VandeVondele Joost <vondele AT pci DOT unizh DOT ch>
To: cygwin AT cygwin DOT com
Subject: program startup problem
Message-ID: <Pine.A41.4.63.0609160908210.344206@idaix01.unizh.ch>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019