#304 Crash when change a variable value

closed-fixed
Debugger (9)
5
2012-08-04
2012-07-30
Luca
No

When I add a variable to the watcher and I change the value to this variable during the simulation of the program, piklab crashes.
This is what I get when piklab is run with the command "gdb piklab"

(gdb) run
Starting program: /usr/local/bin/piklab
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
piklab: version 0.16.1 (rev. distribution)
[New Thread 0x7fffe4e43700 (LWP 31791)]
[New Thread 0x7fffdf29b700 (LWP 31792)]
[New Thread 0x7fffdd2cb700 (LWP 31900)]
piklab(31788)/konsole Konsole::Session::run: Attempted to re-run an already running session.

Program received signal SIGSEGV, Segmentation fault.
QWidget::hide (this=0x0) at /usr/include/qt4/QtGui/qwidget.h:498
498 inline void hide() { setVisible(false); }
(gdb)

I also attach the .c file named "prova.c"
I use C18 compiler and GPSim for simulation

Thanks in advance and thanks for the great job!
Luca

Discussion

  • Luca

    Luca - 2012-07-30
     
  • Nicolas Hadacek

    Nicolas Hadacek - 2012-08-04

    Should be fixed in development sources.

    Thanks!
    Nicolas

     
  • Nicolas Hadacek

    Nicolas Hadacek - 2012-08-04
    • labels: 1220229 --> Debugger
    • status: open --> closed-fixed
     

Log in to post a comment.