Hello all,
I've been hunting a bug for the last 24 hours and I need some help !
I suspect it's some kind of pointer problem, but...
It's a CVI program that runs both on Windows and Linux. I use full debug
options in both cases and lots of printf.
When I step in the debugger it more or less fails in the same area (but not
exactly the same). The CVI IDE becomes unresponsive (pressing [Stop] doesn't
do anything), my own UIR is unresponsive. The only thing that brings it back
is pressing Ctrl-C in the console window. But then I've noticed that the IDE
becomes a bit inconsistent (for instance if I change project within the same
workspace, it won't link showing errors belonging to the other project !).
Now if I run the same program under Linux, it seems to run properly, but
when I exit the program, I get a core dump at the very end. Running it in
Valgrind to track down errant pointers didn't help (it finds some [minor?]
problems in libraries, but nothing in my prog).
Does the errant behavior of the freezing IDE ring a bell for someone ? I
could use any info, thanks.
--
Guillaume Dargaud
http://www.gdargaud.net/
"Kids, you tried your best, and you failed miserably. The lesson is, never
try." - Homer Simpson.