Your two backtraces show different things, the -old one indeed shows a crash during document open, inside scintilla but to do with closing the blank page in the notebook before opening your file. The crash is in libgail which (IIUC) is used in ATK the accessibility technology for which there were some new additions to scintilla recently.
The -new backtrace shows a crash while shutting down Geany, not opening a file, but again in libgail while closing a notebook tab.
These may not be related to your lexer, you are just "lucky" to manage to cause the problem to occur. Hopefully the ATK expert will be in touch if thats the cause since (presumably) this doesn't happen with his system.
Cheers Lex
PS I'm using the same system as you, but running a GTK3 build of Geany.
On 18 December 2016 at 18:36, Fardet Tanguy fardet.tanguy@laposte.net wrote:
Hi Matthew,
thanks for your reply!
I did some modifications on the lexer since yesterday, so I ran gdb on both commits just to show that it's not related.
As a note, when I open geany with existing pages in the geany.conf file, the pages are correctly loaded at startup, it seems to be only the process following the popup window for open (after I chose the file and clicked "open") which triggers the segfault, as well as exiting geany.
I'm using Cinnamon 3.07 on LinuxMint 18 64-bit, with kernel 4.4.0-53 and GTK 2.24.30, GLib 2.48.1 Hope this helps,
Best. TF
Le 18/12/2016 à 04:24, Matthew Brush a écrit :
On 2016-12-17 01:14 PM, Fardet Tanguy wrote:
[...]
Could someone tell me where the problem comes from? I first thought I forgot to tell geany something about the lexer, but since the crash occurs for any filetype, I'm no longer sure this is the problem. An since my knowledge in C++ development is limited, I don't know how I could build geany in debug mode to track the problem...
Hi,
Can you give a GDB backtrace as described here under "Getting a backtrace":
http://www.geany.org/Support/Bugs
And to make sure `https://github.com/Silmathoron/geany%60 is up to date with the debugged build.
Regards, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users