[Geany-Devel] Segmentation fault when auto-close plug-in is enable

Lex Trotman elextr at xxxxx
Wed Oct 23 10:00:17 UTC 2013


Looking at the line that failed, first guess would be failure to check doc
is valid before using it.

Cheers
Lex


On 23 October 2013 20:20, n at sk0 <arrtedone at gmail.com> wrote:

> There is strange behaviour when Auto-close plug-in is enabled.
>
> Steps to reproduce :
> 1. open Geany
> 2. Enable auto-close plug-in
> 3. open several files for edit
> 4. Click Ctrl+W (close document)
> --
>
> Expected result :
> Currently opened document is closed.
> --
>
> Actual result :
> Segmentation fault
> --
>
> See attached gdb backtrace for more info.
>
> Debug info :
> Geany-INFO: Geany 1.24 (git >= ef33175), en_US.UTF-8
> Geany-INFO: GTK 2.24.22, GLib 2.36.3
> Geany-INFO: System data dir: /usr/local/share/geany
> Geany-INFO: User config dir: /home/nask0/.config/geany
> Geany-INFO: System plugin path: /usr/local/lib/geany
> Geany-INFO: Added filetype CUDA (57).
> Geany-INFO: Added filetype Rust (58).
> Geany-INFO: Added filetype Scala (59).
> Geany-INFO: Added filetype Graphviz (60).
> Geany-INFO: Added filetype Cython (61).
> Geany-INFO: Added filetype Genie (62).
> Geany-INFO: Added filetype Clojure (63).
> Geany-INFO: Added filetype Go (64).
> Geany-INFO: Disabling terminal support
> Geany-INFO: Loaded:   /usr/local/lib/geany/addons.so (Addons)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**autoclose.so (Auto-close)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**geanylipsum.so (GeanyLipsum)
> Geany-INFO: Loaded:   /usr/local/lib/geany/geanyvc.**so (GeanyVC)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**htmlchars.so (HTML
> Characters)
> Geany-INFO: Loaded:   /usr/local/lib/geany/geanyprj.**so (Project)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**splitwindow.so (Split Window)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**treebrowser.so (TreeBrowser)
> Geany-INFO: Loaded:   /usr/local/lib/geany/**xmlsnippets.so (XML Snippets)
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20131023/e192baa5/attachment.html>


More information about the Devel mailing list