gnupic: *** glibc detected *** free(): invalid pointer: ........


Previous by date: 4 May 2006 14:45:26 +0100 Re: [gnupic] Dodgy addresses in LST xref of COD files, Nicolas
Next by date: 4 May 2006 14:45:26 +0100 Re: want an sdcc howto?, Michael Sparmann
Previous in thread:
Next in thread:

Subject: *** glibc detected *** free(): invalid pointer: ........
From: eldruida ####@####.####
Date: 4 May 2006 14:45:26 +0100
Message-Id: <2acb500e0605040645o41327c35u@mail.gmail.com>

Hi,

I compiled gpsim 0.21.11 in my system, lfs, with glibc 2.3.6

When i run it, and i open  widgets of gtk+extra 2.11 and resize its
windows, happens the next:

<<-
eldruida@XarxaLocal:~$ gpsim

gpsim - the GNUPIC simulator
version: Release 0.21.12-pre


type help for help
**gpsim> SimulationMode:99
*** glibc detected *** free(): invalid pointer: 0x08183868 ***
Aborted
->>

I belive, gtk+extra-2 has problems with MALLOC.

Looking for in the web, someone use MALLOC_CHECK_=1 in this bug, but
gpsim make hang.

Debugging with gdb, last stack show:
<<
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb72a5431 in *__GI_raise (sig=Cannot fetch general-purpose
registers for thread -1222285648: generic error
)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb72a6bab in *__GI_abort () at ../sysdeps/generic/abort.c:88
#3  0xb72db72a in __libc_message (do_abort=Cannot access memory at
address 0xbfe6c1a4
)
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:145
#4  0xb72e1672 in malloc_printerr (action=Cannot access memory at
address 0xbfe6c2a0
) at malloc.c:5525
#5  0xb72e2024 in *__GI___libc_free (mem=Cannot access memory at
address 0xbfe6c2d8
) at malloc.c:3404
#6  0xb744cf51 in IA__g_free (mem=Cannot access memory at address 0xbfe6c2f0
) at gmem.c:187
#7  0xb7ba7a06 in gtk_sheet_make_backing_pixmap (sheet=Cannot access
memory at address 0xbfe6c2f4
)
    at gtksheet.c:4142
#8  0xb7bb0b34 in gtk_sheet_size_allocate (widget=Cannot access memory
at address 0xbfe6c358
) at gtksheet.c:5880
#9  0xb74c5acb in IA__g_cclosure_marshal_VOID__BOXED (closure=Cannot
access memory at address 0xbfe6c414
)
    at gmarshal.c:566
#10 0xb74b7cf9 in g_type_class_meta_marshal (closure=Cannot access
memory at address 0xbfe6c444
)
    at gclosure.c:567
#11 0xb74b83b9 in IA__g_closure_invoke (closure=Cannot access memory
at address 0xbfe6c474
) at gclosure.c:490
#12 0xb74c860a in signal_emit_unlocked_R (node=Cannot access memory at
address 0xbfe6c4e8
) at gsignal.c:2368
#13 0xb74c9b90 in IA__g_signal_emit_valist (instance=Cannot access
memory at address 0xbfe6c618
)
    at gsignal.c:2197
#14 0xb74c9ef9 in IA__g_signal_emit (instance=Cannot fetch
general-purpose registers for thread -1222285648: generic error
) at gsignal.c:2241
#15 0xb7a6bb7f in IA__gtk_widget_size_allocate (widget=Cannot access
memory at address 0xbfe6c8d4
)
    at gtkwidget.c:2878
#16 0xb79b97fd in gtk_scrolled_window_size_allocate (widget=Cannot
access memory at address 0xbfe6c968
)
    at gtkscrolledwindow.c:1151
#17 0xb74c5acb in IA__g_cclosure_marshal_VOID__BOXED (closure=Cannot
access memory at address 0xbfe6c9d4
)
    at gmarshal.c:566
#18 0xb74b7cf9 in g_type_class_meta_marshal (closure=Cannot access
memory at address 0xbfe6ca04
)
    at gclosure.c:567
#19 0xb74b83b9 in IA__g_closure_invoke (closure=Cannot access memory
at address 0xbfe6ca34
) at gclosure.c:490
#20 0xb74c860a in signal_emit_unlocked_R (node=Cannot access memory at
address 0xbfe6caa8
) at gsignal.c:2368
#21 0xb74c9b90 in IA__g_signal_emit_valist (instance=Cannot access
memory at address 0xbfe6cbd8
)
    at gsignal.c:2197
#22 0xb74c9ef9 in IA__g_signal_emit (instance=Cannot fetch
general-purpose registers for thread -1222285648: generic error
) at gsignal.c:2241
#23 0xb7a6bb7f in IA__gtk_widget_size_allocate (widget=Cannot access
memory at address 0xbfe6ce94
)
    at gtkwidget.c:2878
#24 0xb7a62abf in gtk_vbox_size_allocate (widget=Cannot access memory
at address 0xbfe6cf28
) at gtkvbox.c:261
#25 0xb74c5acb in IA__g_cclosure_marshal_VOID__BOXED (closure=Cannot
access memory at address 0xbfe6cf84
)
    at gmarshal.c:566
#26 0xb74b7cf9 in g_type_class_meta_marshal (closure=Cannot access
memory at address 0xbfe6cfb4
)
    at gclosure.c:567
#27 0xb74b83b9 in IA__g_closure_invoke (closure=Cannot access memory
at address 0xbfe6cfe4
) at gclosure.c:490
#28 0xb74c860a in signal_emit_unlocked_R (node=Cannot access memory at
address 0xbfe6d058
) at gsignal.c:2368
#29 0xb74c9b90 in IA__g_signal_emit_valist (instance=Cannot access
memory at address 0xbfe6d188
)
    at gsignal.c:2197
#30 0xb74c9ef9 in IA__g_signal_emit (instance=Cannot fetch
general-purpose registers for thread -1222285648: generic error
) at gsignal.c:2241
#31 0xb7a6bb7f in IA__gtk_widget_size_allocate (widget=Cannot access
memory at address 0xbfe6d444
)
    at gtkwidget.c:2878
#32 0xb7a78265 in gtk_window_size_allocate (widget=Cannot access
memory at address 0xbfe6d4d0
)
    at gtkwindow.c:4317
#33 0xb74c5acb in IA__g_cclosure_marshal_VOID__BOXED (closure=Cannot
access memory at address 0xbfe6d504
)
    at gmarshal.c:566
#34 0xb74b7cf9 in g_type_class_meta_marshal (closure=Cannot access
memory at address 0xbfe6d534
)
    at gclosure.c:567
#35 0xb74b83b9 in IA__g_closure_invoke (closure=Cannot access memory
at address 0xbfe6d564
) at gclosure.c:490
#36 0xb74c860a in signal_emit_unlocked_R (node=Cannot access memory at
address 0xbfe6d5d8
) at gsignal.c:2368
#37 0xb74c9b90 in IA__g_signal_emit_valist (instance=Cannot access
memory at address 0xbfe6d708
)
    at gsignal.c:2197
#38 0xb74c9ef9 in IA__g_signal_emit (instance=Cannot fetch
general-purpose registers for thread -1222285648: generic error
) at gsignal.c:2241
#39 0xb7a6bb7f in IA__gtk_widget_size_allocate (widget=Cannot access
memory at address 0xbfe6d9c4
)
    at gtkwidget.c:2878
#40 0xb7a7a120 in gtk_window_check_resize (container=Cannot access
memory at address 0xbfe6da58
)
    at gtkwindow.c:5534
#41 0xb74c512b in IA__g_cclosure_marshal_VOID__VOID (closure=Cannot
access memory at address 0xbfe6db48
)
    at gmarshal.c:77
#42 0xb74b7cf9 in g_type_class_meta_marshal (closure=Cannot access
memory at address 0xbfe6db64
)
    at gclosure.c:567
#43 0xb74b83b9 in IA__g_closure_invoke (closure=Cannot access memory
at address 0xbfe6db94
) at gclosure.c:490
#44 0xb74c8a15 in signal_emit_unlocked_R (node=Cannot access memory at
address 0xbfe6dc08
) at gsignal.c:2476
#45 0xb74c9b90 in IA__g_signal_emit_valist (instance=Cannot access
memory at address 0xbfe6dd38
)
    at gsignal.c:2197
#46 0xb74c9ef9 in IA__g_signal_emit (instance=Cannot fetch
general-purpose registers for thread -1222285648: generic error
) at gsignal.c:2241
#47 0xb78e3a91 in IA__gtk_container_check_resize (container=Cannot
access memory at address 0xbfe6dff0
)
    at gtkcontainer.c:1190
#48 0xb78e3b18 in gtk_container_idle_sizer (data=Cannot access memory
at address 0xbfe6e048
)
    at gtkcontainer.c:1114
#49 0xb74477e1 in g_idle_dispatch (source=Cannot access memory at
address 0xbfe6e068
) at gmain.c:3796
#50 0xb74451cc in IA__g_main_context_dispatch (context=Cannot access
memory at address 0xbfe6e088
)
    at gmain.c:1916
#51 0xb744865b in g_main_context_iterate (context=Cannot access memory
at address 0xbfe6e0e8
) at gmain.c:2547
#52 0xb74489b7 in IA__g_main_loop_run (loop=Cannot access memory at
address 0xbfe6e140
) at gmain.c:2751
#53 0xb7973e11 in IA__gtk_main () at gtkmain.c:1001
#54 0xb7ce8a4c in gui_main () at gui_main.cc:479
#55 0x08049804 in main (argc=Cannot access memory at address 0xbfe6e1d8
) at main.cc:375
>>

It's possible make a patch for gtk+extra ? O is problem of my libc 2.3.6?


Thanks.

Previous by date: 4 May 2006 14:45:26 +0100 Re: [gnupic] Dodgy addresses in LST xref of COD files, Nicolas
Next by date: 4 May 2006 14:45:26 +0100 Re: want an sdcc howto?, Michael Sparmann
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.