[OpendTect_Developers] Can not run opendtect 4.6 (and 4.4) inside gdb on linux

Bert Bril bert.bril at dgbes.com
Sat Nov 23 23:56:31 CET 2013


Hi all,


Antonio wrote:

> Unfortunately it crashes inside libdGBCommon.so (see below).

I can remember I had exactly the same, initially, when we migrated to 
FlexNet.

It only happened when I tried to run it while connecting to a 
SERVER-based license (which is what you have I'm afraid). Our workaround 
was to issue a big demo license for ourselves, which is obviously 
something you cannot do.


I did report this problem to Flexera, and they acknowledged that they 
could reproduce the problem. Here is their answer:


"The segmentation fault came from our VM detection; engineering has 
confirmed it can be ignored.
One way to confirm this would be to run the program under gdb on a 
virtual machine (say, a guest of VMWare ESX) and observed no SIGSEGV.

To bypass this SIGSEGV in gdb.

Option1:
Use "c" command in gdb to ignore the SIGSEGV and continue.
Option2:
Use "handle SIGSEGV nostop noprint pass" in gdb to handle this signal.

Example steps observed by Support testing (see attached screenshot):
1.)Start the server run the command “> gdb tstlic” or “>gdb lmflex”
2.)It will pop for next command for debugger, put “r”
3.)It would lead to the Segmentation failure, there just give “c” as an 
input to debugger
4.)A success observation."


Funny way of dealing with a problem ... Anyway ... what they say is that 
this SEGV .... can be ignored! I never tried this and if it doesn't work 
I can try to re-open this issue with Flexera ...



/Bert



More information about the Developers mailing list