#18 "save desktop geometry" => core dump

closed-fixed
7
2001-11-05
2001-10-28
Anonymous
No

If I select Windows -> save desktop geometry, eboard will exit with the following message:

Segmentation fault (core dumped)

A copy of the core file, my ~/.eboard, LOG.eboard and DEBUG.eboard can be found at:
http://keeg.ath.cx/~oskadsem/eboard.tar.gz

Whether or not I'm connected to a chess server is irrelevant, and also whether or not I have resized/moved any windows.

eboard from the package in debian unstable, version of gtk is 1.2.10 and of imlib 1.9.11.

Discussion

  • Andreas Schwarz

    Andreas Schwarz - 2001-11-04

    Logged In: YES
    user_id=366982

    I have the same problem with all eboard versions including
    this feature.

    bsdbox:/usr/home/schwarz $ uname -v
    FreeBSD 4.1-RELEASE #6: Sun Oct 21 20:12:45 CEST 2001
    root@bsdbox.schwarzes.net:/usr/src/sys/compile/bsdbox.schwarzes.net

    -imlib-1.9.11
    -gtk-1.2.10

    bsdbox:/usr/home/schwarz $ gdb /usr/X11R6/bin/eboard
    eboard.core
    (gdb) backtrace
    #0 0x282e3bc4 in gdk_window_get_geometry () from
    /usr/X11R6/lib/libgdk12.so.2
    #1 0x80846ed in WindowGeometry::retrieve ()
    #2 0x808a9c9 in windows_savedesk ()
    #3 0x28214ee9 in gtk_item_factory_callback_marshal ()
    from /usr/X11R6/lib/libgtk12.so.2
    #4 0x28225241 in gtk_marshal_NONE__NONE () from
    /usr/X11R6/lib/libgtk12.so.2
    #5 0x28255a9e in gtk_handlers_run () from
    /usr/X11R6/lib/libgtk12.so.2
    #6 0x28254f0d in gtk_signal_real_emit () from
    /usr/X11R6/lib/libgtk12.so.2
    #7 0x28252f63 in gtk_signal_emit () from
    /usr/X11R6/lib/libgtk12.so.2
    #8 0x2828b198 in gtk_widget_activate () from
    /usr/X11R6/lib/libgtk12.so.2
    #9 0x2822d904 in gtk_menu_shell_activate_item ()
    from /usr/X11R6/lib/libgtk12.so.2
    #10 0x2822cb7a in gtk_menu_shell_button_release ()
    from /usr/X11R6/lib/libgtk12.so.2
    #11 0x28224ecb in gtk_marshal_BOOL__POINTER ()
    from /usr/X11R6/lib/libgtk12.so.2
    #12 0x28254f46 in gtk_signal_real_emit () from
    /usr/X11R6/lib/libgtk12.so.2
    #13 0x28252f63 in gtk_signal_emit () from
    /usr/X11R6/lib/libgtk12.so.2
    #14 0x2828b048 in gtk_widget_event () from
    /usr/X11R6/lib/libgtk12.so.2
    #15 0x28224e1d in gtk_propagate_event () from
    /usr/X11R6/lib/libgtk12.so.2
    #16 0x28223f8e in gtk_main_do_event () from
    /usr/X11R6/lib/libgtk12.so.2
    #17 0x282d4800 in gdk_event_dispatch () from
    /usr/X11R6/lib/libgdk12.so.2
    #18 0x28302c57 in g_main_dispatch () from
    /usr/local/lib/libglib12.so.3
    ---Type <return> to continue, or q <return> to quit---
    #19 0x28303280 in g_main_iterate () from
    /usr/local/lib/libglib12.so.3
    #20 0x28303418 in g_main_run () from
    /usr/local/lib/libglib12.so.3
    #21 0x2822384b in gtk_main () from
    /usr/X11R6/lib/libgtk12.so.2
    #22 0x80853d9 in main ()
    #23 0x805ff45 in _start ()
    (gdb)

     
  • Felipe Bergo

    Felipe Bergo - 2001-11-05
    • assigned_to: nobody --> bergo
    • summary: "save desktop geometry" => core dump --> "save desktop geometry" => core dump
    • labels: --> user interface
    • priority: 5 --> 7
    • status: open --> open-accepted
     
  • Felipe Bergo

    Felipe Bergo - 2001-11-05

    Logged In: YES
    user_id=23863

    it is crashing inside a GTK+ function, which is very odd.
    Another user had a similar error on a Linux box, but it was
    a compiler bug, upgrading the compiler fixed it. Your output
    looks different, doesn't look like the same error to me.

    Just a question: you're running the (Debian) Linux binary on
    a FreeBSD box ?
    Why don't you compile eboard natively on FreeBSD ? I've got
    FreeBSD 4.2 here, last time I tried (0.3.0...) eboard
    compiled and worked without problems on FreeBSD.

     
  • Andreas Schwarz

    Andreas Schwarz - 2001-11-05

    Logged In: YES
    user_id=366982

    No, I am not running a linux binary, this is a native
    FreeBSD version. The bug occurs in all eboard
    versions I have used (self compiled or port install).
    I assumed this was because of my environment,
    so I never submitting this bug. Otherwise eboard
    runs fine, I have moved now completely to eboard.

     
  • Felipe Bergo

    Felipe Bergo - 2001-11-05
    • summary: "save desktop geometry" => core dump --> "save desktop geometry" => core dump
    • status: open-accepted --> closed-fixed
     
  • Felipe Bergo

    Felipe Bergo - 2001-11-05

    Logged In: YES
    user_id=23863

    Fixed on CVS. If you wish to fix it without getting the code
    from CVS, the fix is a one-liner:

    in mainwindow.cc, locate line 134:

    consolecopy=0;

    add just below it (do not remove the above line):

    scriptlist=0;

    And recompile (gmake).

     
  • Andreas Schwarz

    Andreas Schwarz - 2001-11-06

    Logged In: YES
    user_id=366982

    Yes, I am getting the new source from CVS, now it works.

    thx, gg 8).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks