[Geany-Devel] Segmentation fault

n@sk0 arrtedone at xxxxx
Mon Oct 14 06:38:26 UTC 2013


Hi all, i have enabled "geanyprj" plugin, i found this when :
1. Open Geany with no-documents opened.
2. Click Tools -> Project -> Preferences
-- 
Expected result : see preferences
Actual result : Segmentation fault
--

See attached gdb backtrace file for more info and let me know if you 
need more info.

System info :
Geany-INFO: Geany 1.24 (git >= 48fe855), en_US.UTF-8
Geany-INFO: GTK 2.24.19, 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

-------------- next part --------------
GNU gdb (GDB) Fedora 7.6.1-41.fc19
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/geany...done.
(gdb) start
Temporary breakpoint 1 at 0x44d6d0: file main.c, line 1025.
Starting program: /usr/local/bin/geany
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdf18) at main.c:1025
1025    {
(gdb) continue
Continuing.
[New Thread 0x7fffe7417700 (LWP 26992)]
[New Thread 0x7fffe6c16700 (LWP 26993)]

** (geany:26988): CRITICAL **: update_menu_items: assertion `doc != NULL && doc->file_name != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe4292b06 in on_preferences (menuitem=<optimized out>, user_data=<optimized out>) at menu.c:254
254     project_dir = g_path_get_dirname(g_current_project->path);
(gdb) continue
Continuing.
[Thread 0x7fffe6c16700 (LWP 26993) exited]
[Thread 0x7fffe7417700 (LWP 26992) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


More information about the Devel mailing list