gpsim 0.22.0 crash when open "RAM...

Help
2010-01-31
2013-04-02
  • franciscojar

    franciscojar - 2010-01-31

    First of all: Hi to all from Mexico!!!

    I have linux Ubuntu  9.10, I install gtkextra from Synaptic, then install gputills and then gpsim, the SDCC I installed by hand compiling it.

    I ran gpsim using:
    >gpsim -pp16f874a -s exe.cod
    and gpsim respond:

    gpsim - the GNUPIC simulator
    version: Release 0.22.0

    type help for help
    **gpsim> SimulationMode:52
    WARNING: command line processor named "p16f874a" is being ignored
    since the .cod file specifies the processor
    FIXME:  HLL files are not supported at the moment
    Until here all are ok

    Then I click on "window - memory" and crash…

    **gpsim> *** glibc detected *** gpsim: realloc(): invalid pointer: 0x012f4bae ***
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6
    /lib/tls/i686/cmov/libc.so.6(realloc+0x2b8)
    /lib/libglib-2.0.so.0(g_realloc+0x3f)
    /usr/lib/libgtkextra-x11-2.0.so.1
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2)
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bd)
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x192)
    /usr/lib/libgtkextra-x11-2.0.so.1
    /usr/lib/libgtk-x11-2.0.so.0(gtk_editable_insert_text+0xad)
    /usr/lib/libgtkextra-x11-2.0.so.1(gtk_item_entry_set_text+0x143)
    /usr/lib/libgtkextra-x11-2.0.so.1
    /usr/lib/libgtkextra-x11-2.0.so.1
    /usr/lib/libgtkextra-x11-2.0.so.1
    /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2)
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bd)
    /usr/lib/libgtk-x11-2.0.so.0(gtk_signal_emit_by_name+0xc4)
    /usr/lib/libgtkextra-x11-2.0.so.1(gtk_sheet_thaw+0xe7)
    /usr/lib/libgpsimgui.so.0(_ZN15Register_Window6UpdateEv+0x16c)
    /usr/lib/libgpsimgui.so.0(_ZN18RAM_RegisterWindow6UpdateEv+0x22)
    /usr/lib/libgpsimgui.so.0(_ZN15Register_Window12NewProcessorEP13GUI_Processor+0x4ac)
    /usr/lib/libgpsimgui.so.0(_ZN18RAM_RegisterWindow12NewProcessorEP13GUI_Processor+0x4b)
    /usr/lib/libgpsimgui.so.0(_ZN15Register_Window5BuildEv+0xae4)
    /usr/lib/libgpsimgui.so.0(_ZN10GUI_Object10ChangeViewEi+0x131)
    /usr/lib/libgpsimgui.so.0
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2)
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7bd)
    /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)
    /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x95)
    /usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0x120)
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1b2)
    /usr/lib/libgobject-2.0.so.0
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x648)
    /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26)
    /usr/lib/libgtk-x11-2.0.so.0
    /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xd0)
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x219)
    /usr/lib/libgdk-x11-2.0.so.0
    /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f8)
    /lib/libglib-2.0.so.0
    /lib/libglib-2.0.so.0(g_main_loop_run+0x1bf)
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)
    /usr/lib/libgpsimgui.so.0(_Z8gui_mainv+0x1c)
    gpsim
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)
    gpsim
    ======= Memory map: ========
    00110000-00117000 r-xp 00000000 08:16 483492     /usr/lib/libXrandr.so.2.2.0
    00117000-00118000 r-p 00006000 08:16 483492     /usr/lib/libXrandr.so.2.2.0
    00118000-00119000 rw-p 00007000 08:16 483492     /usr/lib/libXrandr.so.2.2.0
    00119000-0011d000 r-xp 00000000 08:16 482272     /usr/lib/libXfixes.so.3.1.0
    0011d000-0011e000 r-p 00003000 08:16 482272     /usr/lib/libXfixes.so.3.1.0
    0011e000-0011f000 rw-p 00004000 08:16 482272     /usr/lib/libXfixes.so.3.1.0
    0011f000-00145000 r-xp 00000000 08:16 483358     /usr/lib/libpng12.so.0.37.0
    00145000-00146000 r-p 00025000 08:16 483358     /usr/lib/libpng12.so.0.37.0
    00146000-00147000 rw-p 00026000 08:16 483358     /usr/lib/libpng12.so.0.37.0
    00147000-0015f000 r-xp 00000000 08:16 492911     /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
    0015f000-00160000 r-p 00017000 08:16 492911     /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
    00160000-00161000 rw-p 00018000 08:16 492911     /usr/lib/libgdk_pixbuf-2.0.so.0.1800.3
    00161000-00175000 r-xp 00000000 08:16 288654     /lib/libz.so.1.2.3.3
    00175000-00176000 r-p 00013000 08:16 288654     /lib/libz.so.1.2.3.3
    00176000-00177000 rw-p 00014000 08:16 288654     /lib/libz.so.1.2.3.3
    00177000-0017a000 r-xp 00000000 08:16 492885     /usr/lib/libgmodule-2.0.so.0.2200.3
    0017a000-0017b000 r-p 00002000 08:16 492885     /usr/lib/libgmodule-2.0.so.0.2200.3
    0017b000-0017c000 rw-p 00003000 08:16 492885     /usr/lib/libgmodule-2.0.so.0.2200.3
    0017c000-00184000 r-xp 00000000 08:16 288707     /lib/libpopt.so.0.0.0
    00184000-00185000 r-p 00007000 08:16 288707     /lib/libpopt.so.0.0.0
    00185000-00186000 rw-p 00008000 08:16 288707     /lib/libpopt.so.0.0.0
    00186000-00327000 r-xp 00000000 08:16 481845     /usr/lib/libgpsim.so.0.0.0
    00327000-00344000 r-p 001a1000 08:16 481845     /usr/lib/libgpsim.so.0.0.0
    00344000-00345000 rw-p 001be000 08:16 481845     /usr/lib/libgpsim.so.0.0.0
    00345000-00354000 rw-p 00000000 00:00 0
    00354000-0043a000 r-xp 00000000 08:16 481384     /usr/lib/libstdc++.so.6.0.13
    0043a000-0043e000 r-p 000e6000 08:16 481384     /usr/lib/libstdc++.so.6.0.13
    0043e000-0043f000 rw-p 000ea000 08:16 481384     /usr/lib/libstdc++.so.6.0.13
    0043f000-00446000 rw-p 00000000 00:00 0
    00448000-00456000 r-xp 00000000 08:16 481028     /usr/lib/libXext.so.6.4.0
    00456000-00457000 r-p 0000d000 08:16 481028     /usr/lib/libXext.so.6.4.0
    00457000-00458000 rw-p 0000e000 08:16 481028     /usr/lib/libXext.so.6.4.0
    00458000-0049e000 r-xp 00000000 08:16 483817     /usr/lib/libpango-1.0.so.0.2600.0
    0049e000-0049f000 r-p 00045000 08:16 483817     /usr/lib/libpango-1.0.so.0.2600.0
    0049f000-004a0000 rw-p 00046000 08:16 483817     /usr/lib/libpango-1.0.so.0.2600.0
    004a0000-004bc000 r-xp 00000000 08:16 562811     /lib/libgcc_s.so.1
    004bc000-004bd000 r-p 0001b000 08:16 562811     /lib/libgcc_s.so.1
    004bd000-004be000 rw-p 0001c000 08:16 562811     /lib/libgcc_s.so.1
    004be000-004c0000 r-xp 00000000 08:16 483364     /usr/lib/libXau.so.6.0.0
    004c0000-004c1000 r-p 00001000 08:16 483364     /usr/lib/libXau.so.6.0.0
    004c1000-004c2000 rw-p 00002000 08:16 483364     /usr/lib/libXau.so.6.0.0
    004c4000-004fd000 r-xp 00000000 08:16 193275     /usr/lib/libgpsimcli.so.0.0.0
    004fd000-004ff000 r-p 00038000 08:16 193275     /usr/lib/libgpsimcli.so.0.0.0
    004ff000-00500000 rw-p 0003a000 08:16 193275     /usr/lib/libgpsimcli.so.0.0.0
    00500000-00511000 rw-p 00000000 00:00 0
    00511000-005c3000 r-xp 00000000 08:16 73116      /usr/lib/libgtkextra-x11-2.0.so.1.0.0
    005c3000-005c4000 r-p 000b2000 08:16 73116      /usr/lib/libgtkextra-x11-2.0.so.1.0.0
    005c4000-005c8000 rw-p 000b3000 08:16 73116      /usr/lib/libgtkextra-x11-2.0.so.1.0.0
    005c8000-006f2000 r-xp 00000000 08:16 482521     /usr/lib/libX11.so.6.2.0
    006f2000-006f3000 --p 0012a000 08:16 482521     /usr/lib/libX11.so.6.2.0
    006f3000-006f4000 r-p 0012a000 08:16 482521     /usr/lib/libX11.so.6.2.0
    006f4000-006f6000 rw-p 0012b000 08:16 482521     /usr/lib/libX11.so.6.2.0
    006f6000-006f7000 rw-p 00000000 00:00 0
    006f7000-00789000 r-xp 00000000 08:16 492910     /usr/lib/libgdk-x11-2.0.so.0.1800.3
    00789000-0078b000 r-p 00092000 08:16 492910     /usr/lib/libgdk-x11-2.0.so.0.1800.3
    0078b000-0078c000 rw-p 00094000 08:16 492910     /usr/lib/libgdk-x11-2.0.so.0.1800.3
    0078c000-007a1000 r-xp 00000000 08:16 265430     /lib/tls/i686/cmov/libpthread-2.10.1.so
    007a1000-007a2000 r-p 00014000 08:16 265430     /lib/tls/i686/cmov/libpthread-2.10.1.so
    007a2000-007a3000 rw-p 00015000 08:16 265430     /lib/tls/i686/cmov/libpthread-2.10.1.so
    007a3000-007a5000 rw-p 00000000 00:00 0
    007a7000-007b2000 r-xp 00000000 08:16 483859     /usr/lib/libpangocairo-1.0.so.0.2600.0
    007b2000-007b3000 r-p 0000a000 08:16 483859     /usr/lib/libpangocairo-1.0.so.0.2600.0
    007b3000-007b4000 rw-p 0000b000 08:16 483859     /usr/lib/libpangocairo-1.0.so.0.2600.0
    007b4000-007df000 r-xp 00000000 08:16 482877     /usr/lib/libfontconfig.so.1.3.0
    007df000-007e0000 r-p 0002a000 08:16 482877     /usr/lib/libfontconfig.so.1.3.0
    007e0000-007e1000 rw-p 0002b000 08:16 482877     /usr/lib/libfontconfig.so.1.3.0
    007e1000-007e3000 r-xp 00000000 08:16 481552     /usr/lib/libXcomposite.so.1.0.0
    007e3000-007e4000 r-p 00001000 08:16 481552     /usr/lib/libXcomposite.so.1.0.0
    007e4000-007e5000 rw-p 00002000 08:16 481552     /usr/lib/libXcomposite.so.1.0.0
    007e5000-007e7000 r-xp 00000000 08:16 482619     /usr/lib/libXdamage.so.1.1.0Aborted

    I hope this can help you to improve gpsim

    Thanks in advance

    franciscojar

     
  • destroyedlolo

    destroyedlolo - 2010-02-03

    I'm facing the same issue :(

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks