[esp-r] Re: Segmentation fault - how to debug

Jon Hand jon at esru.strath.ac.uk
Mon Sep 16 10:35:48 BST 2013


An additional suggestion - if an ESP-r module is crashing and you want to find out why
then consider re-compiling ESP-r with the --debug option and then run the application
via a debug environment such as gdb or DDD.

Here are links to tutorials on the debug process:

https://dl.dropboxusercontent.com/u/17785121/video_tutorials/debug_setup_and_tour_wc.mp4
https://dl.dropboxusercontent.com/u/17785121/video_tutorials/ddd_debug_session_wc.mp4

Regards, Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] on behalf of Rasoul Asaee [asaee at dal.ca]
Sent: 04 September 2013 16:35
To: esp-r at lists.strath.ac.uk
Subject: [esp-r]  Segmentation fault

Hello,
I updated esp-r to development branch @9214 on Xubuntu 11.10. When I run a model with explicit plant following error is generated. In some cases simulation is completed and the segmentation fault terminates the xml output generation. Any ideas?

*** stack smashing detected ***: bps terminated
Segmentation fault

Many thanks for your time.

Regards,
Rasoul



More information about the esp-r mailing list