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 Date: Sat, 28 Jun 2003 02:18:02 +0200 (MEST) From: for_spam AT gmx DOT de To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: RE: crash on the first statement in main() X-Priority: 3 (Normal) X-Authenticated-Sender: #0014640924 AT gmx DOT net X-Authenticated-IP: [217.81.227.195] Message-ID: <8853.1056759482@www67.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi ! I don`t have a clue, why this happens, but it seems I have a similar issue and this could be possibly related to your problem - so I post that here: I have problem with rockbox-uisimulator (see rockbox.haxx.se) on windows nt 4.0/sp6. It crashes before I can see the main window, and it also seems to happen when entering main() (or even before) - so for me it seems not just a problem of the application itself. It runs fine on w98/2000/Xp, but it crashes on NT4.0 see http://sourceforge.net/tracker/index.php?func=detail&group_id=44306&atid=439118&aid=761446 for further information unfortunatly, regarding use of a debugger i`m a complete greenhorn....... What platform are YOU using? regards Roland ps: sorry if i`m wrong here and there is no relation to this problem or to cygwin..... crash on the first statement in main() From: Sam Steingold To: cygwin at cygwin dot com Date: 19 Jun 2003 18:27:49 -0400 Subject: crash on the first statement in main() Organization: disorganization Reply-to: sds at gnu dot org -------------------------------------------------------------------------------- I get a segfault on the first executable line in main() (confirmed in the debugger), both when produced by cygwin: gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -falign-functions=4 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DSAFETY=3 -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DNO_SIGSEGV -I. -x none modules.o regexp.o regexi.o regex.o lisp.a -lintl libcharset.a libavcall.a libcallback.a -lreadline -lncurses -liconv -lm -o lisp.exe ... full/lisp.exe -B . -M base/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem "full/lispinit.mem") Signal 11 make: *** [full] Error 1 and mingw: gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -falign-functions=4 -D_WIN32 -g -DDEBUG_OS_ERROR -DDEBUG_SPVW -DSAFETY=3 -DUNICODE -DEXPORT_SYSCALLS -DDIR_KEY -DDYNAMIC_FFI -DNO_GETTEXT -DNO_SIGSEGV -I. -x none modules.o regexp.o regexi.o regex.o lisp.a libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 -luuid -o lisp.exe full/lisp.exe -B . -M base/lispinit.mem -norc -q -i regexp/regexp -x (saveinitmem "full/lispinit.mem") the lines don't do anything special, in fact, "p " executes just fine in gdb right after the crash. comments?! -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- 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/