[Github-comments] [geany-plugins] plugin Numbered Bookmarks activated causes geany to crash at start-up (#301)
Peter C. S. Scholtens
notifications at xxxxx
Mon Nov 9 18:49:43 UTC 2015
When the plugin Numbered Bookmarks is switched on, Geany crashes instantly on start-up. Running GDB shows the following warning:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd153f2f4 in SetMarker (sci=0x9fa4a0, bookmarkNumber=1, markerNumber=2, line=247) at geanynumberedbookmarks.c:885
885 fd=GetFileData(document_get_current()->file_name);
I assume that at start-up the call <b>document_get_current()</b> will return a NULL pointer? And asking a <b>file_name</b> member will cause a segfault?
Tested on geany-plugins commit 4c1137373f78bd13df9ee46c10876a3142675573 of Nov. 8th, 2015.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/301
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151109/3f614257/attachment.html>
More information about the Github-comments
mailing list