SourceForge has been redesigned. Learn more.
Close

#3 Dumps core when quitting

closed-fixed
None
7
2006-05-06
2005-12-22
No

I'm running geaty-0.4 built on OS X with no special
flags, using fink's standard gtk+2 and related
packages. vte is enabled.

Selecting the "quit" menu item (or its key equivalent)
brings up the "are you sure?"dialog; clicking "yes"
causes some memory allocation warnings:

*** malloc[18461]: Deallocation of a pointer not
malloced: 0x69006c; This could be a double free(), or
free() called with the middle of an allocated block;
Try setting environment variable MallocHelp to see
tools to help debug
*** malloc[18461]: Deallocation of a pointer not
malloced: 0x65003a; This could be a double free(), or
free() called with the middle of an allocated block;
Try setting environment variable MallocHelp to see
tools to help debug
*** malloc[18461]: Deallocation of a pointer not
malloced: 0x2f002f; This could be a double free(), or
free() called with the middle of an allocated block;
Try setting environment variable MallocHelp to see
tools to help debug

Those come from destroyapp:
g_free(app->build_args_inc);
and
g_free(app->build_args_libs);
and
g_free(app->build_args_prog);
respectively.

And then it dumps core:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3eca790a

Thread 0 Crashed:
0 geany 0x0002eabc destroyapp +
0x250 (callbacks.c:143)
1 geany 0x0002edbc on_exit_clicked
+ 0xdc (callbacks.c:209)
2 libgobject-2.0.0.dylib 0x004e9824 g_closure_invoke
+ 0x130
3 libgobject-2.0.0.dylib 0x004fce74
signal_emit_unlocked_R + 0x8e8
4 libgobject-2.0.0.dylib 0x004fc0e8
g_signal_emit_valist + 0x760
5 libgobject-2.0.0.dylib 0x004fc388 g_signal_emit + 0x28
[...]
(I can provide full backtrace and register dump if it
would help)

That comes from destroyapp:

if (GTK_IS_WIDGET(app->replace_dialog))
gtk_widget_destroy(app->replace_dialog);

I get the same results whether I quit immediately after
starting or if I work for a while, and whether or not
the vte library loaded or not.

Discussion

  • Enrico Tröger

    Enrico Tröger - 2005-12-29
    • status: open --> pending
     
  • Enrico Tröger

    Enrico Tröger - 2005-12-29
    • assigned_to: nobody --> eht16
     
  • Enrico Tröger

    Enrico Tröger - 2005-12-29
    • status: pending --> open
     
  • Enrico Tröger

    Enrico Tröger - 2005-12-29
    • priority: 5 --> 7
     
  • Enrico Tröger

    Enrico Tröger - 2006-01-06

    Logged In: YES
    user_id=1117045

    Hi,

    can you try the recent CVS version, I think the problem is,
    that I didn't initialized some members of the struct app and
    so they get a NULL value on my system, and probalby some
    random values on your system. In the CVS, I set these
    pointers to NULL and so the problem could be resolved.
    Thanks for reporting and testing.

    Enrico

     
  • Enrico Tröger

    Enrico Tröger - 2006-05-06
    • status: open --> closed-fixed
     
  • Enrico Tröger

    Enrico Tröger - 2006-05-06

    Logged In: YES
    user_id=1117045

    It should be fixed. Please re-open if not.

     

Log in to post a comment.