#47 Geany crashes on session restore scrolling

closed-fixed
None
5
2007-03-14
2007-02-07
Zamury Alexandr
No

Geany crashes on start while trying to open last edited files.
If i start geany with -s it start ok.

Some system info:
zav[~]$ geany -v
geany 0.10 (build Jan 26 2007 with GTK 2.10.6, GLib 2.12.4)
zav[~]$ uname -a
Linux localhost 2.6.19.2 #1 PREEMPT Fri Feb 2 09:23:04 NOVT 2007 i686 athlon-4 i386 GNU/Linux

GDB session:
zav[~]$ gdb geany
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/geany
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1219098960 (LWP 5869)]
** INFO: debug mode built in (can't be disabled)
** INFO: GTK+ 2.10.6, GLib 2.12.4
** INFO: /home/zav/src/ppp-watchdog/watch.sh : Sh (UTF-8)
** INFO: /home/zav/watch2.sh : Sh (UTF-8)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219098960 (LWP 5869)]
0xb7c084c2 in gdk_window_scroll () from /usr/lib/libgdk-x11-2.0.so.0
(gdb) bt
#0 0xb7c084c2 in gdk_window_scroll () from /usr/lib/libgdk-x11-2.0.so.0
#1 0x080af19f in ScintillaGTK::ScrollText (this=0x0, linesToMove=-1211917452)
at ScintillaGTK.cxx:1119
#2 0x080be02a in Editor::ScrollTo (this=0x83cc218, line=-9, moveThumb=true)
at Editor.cxx:1127
#3 0x080cf268 in Editor::WndProc (this=0x83cc218, iMessage=2168, wParam=0,
lParam=9) at Editor.cxx:5927
#4 0x080d45ec in ScintillaBase::WndProc (this=0x83cc218, iMessage=0,
wParam=0, lParam=9) at ScintillaBase.cxx:724
#5 0x080879ba in sci_scroll_lines (sci=0x8183d28, lines=9)
at sciwrappers.c:671
#6 0x08087abf in sci_scroll_to_line (sci=0x8183d28, line=34,
percent_of_view=24.5) at sciwrappers.c:690
#7 0x080697d1 in configuration_apply_settings () at keyfile.c:594
#8 0x080583e1 in main (argc=1, argv=0xbff7c3f4) at main.c:642

Discussion

  • Nick Treleaven
    Nick Treleaven
    2007-02-08

    • assigned_to: nobody --> ntrel
     
  • Nick Treleaven
    Nick Treleaven
    2007-02-08

    Logged In: YES
    user_id=1268692
    Originator: NO

    Thanks for reporting.
    I think this is fixed in the current SVN - could you test it if possible?

    On my system the scrolling in view when restoring the session occasionally caused a Gdk warning with Geany 0.10, but not a segfault - maybe your GLib/Gtk was configured to abort on warnings?

    We'll put the fix for this in the upcoming 0.10.1 release.

     
  • Nick Treleaven
    Nick Treleaven
    2007-02-27

    • summary: Geany crashes on start --> Geany crashes on session restore scrolling
    • status: open --> pending-fixed
     
  • Nick Treleaven
    Nick Treleaven
    2007-02-27

    Logged In: YES
    user_id=1268692
    Originator: NO

    This should be fixed in the 0.10.1 and 0.10.2 releases.
    Setting to Pending - please add a comment if there are still problems.

     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).