<div dir="ltr">Here's another detail I just discovered. This only happens when I launch Geany from inside an activated Python virtual environment. If I first deactivate the virtualenv, so Geany uses the global Python installation, then it launches without error.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 22, 2017 at 12:51 PM, Chris Spencer <span dir="ltr"><<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I've run into another segmentation fault again.<br><br></div>Here's my backtrace and gdb output:<br><div><br>    @localhost:$ gdb geany<br>    GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1<br>    Copyright (C) 2016 Free Software Foundation, Inc.<br>    License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.<wbr>html</a>><br>    This is free software: you are free to change and redistribute it.<br>    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>    and "show warranty" for details.<br>    This GDB was configured as "x86_64-linux-gnu".<br>    Type "show configuration" for configuration details.<br>    For bug reporting instructions, please see:<br>    <<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/<wbr>gdb/bugs/</a>>.<br>    Find the GDB manual and other documentation resources online at:<br>    <<a href="http://www.gnu.org/software/gdb/documentation/" target="_blank">http://www.gnu.org/software/<wbr>gdb/documentation/</a>>.<br>    For help, type "help".<br>    Type "apropos word" to search for commands related to "word"...<br>    Reading symbols from geany...(no debugging symbols found)...done.<br>    (gdb) run -i project.geany<br>    Starting program: /usr/bin/geany -i project.geany<br>    [Thread debugging using libthread_db enabled]<br>    Using host libthread_db library "/lib/x86_64-linux-gnu/<wbr>libthread_db.so.1".<br>    [New Thread 0x7fffed913700 (LWP 4060)]<br>    [New Thread 0x7fffed112700 (LWP 4061)]<br>    [New Thread 0x7fffec911700 (LWP 4062)]<br>    [New Thread 0x7fffdf720700 (LWP 4063)]<br>    [New Thread 0x7fffdef1f700 (LWP 4064)]<br><br>    Thread 1 "geany" received signal SIGSEGV, Segmentation fault.<br>    0x00007fffdcb37801 in PyModule_AddObject () from /usr/lib/x86_64-linux-gnu/<wbr>libpython2.7.so.1.0<br>    (gdb) bt<br>    #0  0x00007fffdcb37801 in PyModule_AddObject () from /usr/lib/x86_64-linux-gnu/<wbr>libpython2.7.so.1.0<br>    #1  0x00007fffdcf92c20 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>geany/geanypy.so<br>    #2  0x00007ffff79a5e2d in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libgeany.so.0<br>    #3  0x00007ffff79a7621 in ?? () from /usr/lib/x86_64-linux-gnu/<wbr>libgeany.so.0<br>    #4  0x00007ffff79a03d5 in main_lib () from /usr/lib/x86_64-linux-gnu/<wbr>libgeany.so.0<br>    #5  0x00007ffff7368830 in __libc_start_main (main=0x4005a0, argc=3, argv=0x7fffffffd9f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd9e8) at ../csu/libc-start.c:291<br>    #6  0x00000000004005d9 in ?? ()<br><br></div><div>How do I fix this?<br><br></div><div>My project's primarily a Python project, and if I'm reading the backtrace properly, it's involving Python. I don't remember enabling any Python-specific Geany plugins, so I'm not sure why it's running Python, but even so, why is Python causing Geany to crash upon startup? I have many other Geany Python projects that open without issue.<br><br></div><div>My Geany version is:<br><br>    geany 1.30.1 (built on 2017-03-21 with GTK 2.24.30, GLib 2.48.2)<br><br></div></div>
</blockquote></div><br></div>