[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strange behavior after program exits sucessfully
From: |
wim delvaux |
Subject: |
strange behavior after program exits sucessfully |
Date: |
Mon, 30 Jul 2001 16:34:52 +0200 |
Hi all,
I have the following situation.
I run my (threaded) application without the proper arguments.
After the initialization (which basically starts some threads, derives
some OS values like host name and initializes some internal structures)
I test the arguments
and decide to call exit().
The application performs as expected.
However if after that run I want to rerun the application (with the
proper arguments) the gdb reports
warning: Cannot insert breakpoint -5:
Cannot access memory at address 0x40047600
Which is strange since
1. I have no breakpoints
2. the application seems to be running fine.
I have had this error before but then i had some memore problems. But in
this case I just do nothing.
Anyway i find it strange that the debugger cannot restart the
application
Can anybody explain what is going on and what to do about it ?
Thanx
- strange behavior after program exits sucessfully,
wim delvaux <=