ActiveX - SIGSEGV lazarus / 31-LCL ---------------------------------------------------------------------- Cliff48 · 2015-07-02 08:12 I created the Internet Explorer sample as per : wiki.freepascal.org/lazActiveX and it worked fine until i tried to close the form and got the dreaded SIGSEGV.  I havent included the code here as it is identical to the website sample.  The only addition info I have is that i get this problem even if I close the form immediately without attempting any browsing.  Any ideas? ---------------------------------------------------------------------- howardpc · 2015-07-02 09:18 64-bit or 32-bit compilation? ---------------------------------------------------------------------- Cliff48 · 2015-07-02 09:27 Quote from: howardpc on July 02, 2015, 11:18:51 am64-bit or 32-bit compilation? 32 bit compile and target ---------------------------------------------------------------------- rvk · 2015-07-02 10:04 Are you really getting a SIGSEGV or just a "GDB has encountered an internal error" after closing the example-app?? With Laz1.4, after browsing to a website and closing the example-app I get the GDB error. I had to DisableLoadSymbolsForLibraries to True again to solve it. Or use the newer alternative GDB 7.7.1 like discussed here. I increasingly find that that old GDB 7.2 is giving problems (now again with this simple example). Maybe it's time to include the newer as default. ---------------------------------------------------------------------- Cliff48 · 2015-07-02 11:07 Quote from: rvk on July 02, 2015, 12:04:06 pmAre you really getting a SIGSEGV or just a "GDB has encountered an internal error" after closing the example-app?? With Laz1.4, after browsing to a website and closing the example-app I get the GDB error. I had to DisableLoadSymbolsForLibraries to True again to solve it. Or use the newer alternative GDB 7.7.1 like discussed here. I increasingly find that that old GDB 7.2 is giving problems (now again with this simple example). Maybe it's time to include the newer as default. Yep it is really a SIGSEGV and the assembler module is fpc_intf_decr_ref which seems a reasonable module to be used when closing/exiting. I also installed 64-bit version and now have tried both versions with DisableLoadSymbolsforLibaries SeT and still have the problem.  I will look for GDB 7.7.1 and see if that helps. I have been getting some strange 'happenings' since I upgraded to latest Lazarus - such as the additional forms not being created, and I have to create each one before use  ... (or obviously an Exception if I dont).  But there is no consistancy with the problems I am getting, so its hard to document. Thanks for your thoughts and ideas. ---------------------------------------------------------------------- rvk · 2015-07-02 11:18 Well, if you really get a SIGSEGV then setting DisableLoadSymbolsforLibaries to True won't help much (like you've seen). I use that when I have trouble with GDB 7.2. With Laz.trunk I use GDB 7.7.1 and with my installed Laz1.4 I have GDB 7.2 (just for testing). Could you post your example-app? (Use the tool "Project > Publish Project" and set a directory. Zip that directory and attach it to a post). Aside from the GDB crashing at end I have no SIGSEGV on Lazarus 1.4.0 r48774 FPC 2.6.4 i386-win32-win32/win64 Windows 7 64bit with that example app. (My example is attached.) ---------------------------------------------------------------------- Cliff48 · 2015-07-02 17:56 thank you RVK, Your example works and doesn't crash!!!!!!!!!! Mine is almost identical to yours so no point in posting - but i will go through line by line to see if there is the slightest difference.  What is different is the Project options.  You have all individual  debug options , like Range check' unchecked - I have them all checked.  You also have Darwin checked - which I dont.  Unchecking that - your program still doesnt crash. I checked each of the debugging options .. still doesnt crash.  In fact I cant get my program to crash any more !!!!!!!  there must be something different in the options somewhere ....   i need to go through very carefully.  I will package my project shortly to see if my project options crash for you. Thank you for all to date.