This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Current repository crashes when compiled without debugging, doesn't when compiled with debugging


On Thu, Oct 18, 2001 at 03:12:15PM -0400, Christopher Faylor wrote:
>On Thu, Oct 18, 2001 at 12:11:35PM -0400, Jonathan Kamens wrote:
>>When I compile the current repository without --enable-debugging,
>>everything crashes on start-up, e.g.:
>>
>>  m:\>ps
>>        PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>>        0 [ttyin] ps 199 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
>>        199       1     199        199    0  500 12:07:37 /usr/bin/ps
>>
>>  m:\>ls
>>        0 [ttyin] ls 120 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
>>    37122 [ttyin] ls 120 open_stackdumpfile: Dumping stack trace to ls.exe.stackdump
>>  #MAIL~62          core               merging-trunk      setup.ini
>>  #MAIL~RN          curl               metal              sh.exe.stackdump
>>  Application Data  curl-web           ns_imap            solutions
>>
>>  m:\>
>>
>>When I compile with --enable-debugging, the crash goes away, which
>>makes this somewhat difficult to debug :-(.
>
>This doesn't make it hard to debug.  It will still work with gdb.

...and with strace.

You just won't have extra debugging checks in the DLL.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]