gnupic: __wcsrtombs: Assertion ... failed.


Previous by date: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., Ralf Forsberg
Next by date: 7 Sep 2001 21:56:05 -0000 Re: gpsim: TMR0 has 3 nibbles?, Craig Franklin
Previous in thread: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., Ralf Forsberg
Next in thread: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., John Sutton

Subject: Re: __wcsrtombs: Assertion ... failed.
From: John Sutton ####@####.####
Date: 7 Sep 2001 21:56:05 -0000
Message-Id: <01090722530800.25206@diva.localdomain>

On Fri, 07 Sep 2001, Ralf Forsberg wrote:
> On Fri, Sep 07, 2001 at 06:39:01PM +0100, John Sutton wrote:
> > Oh dear, life on the bleeding edge...
> > 
> > gpsim - the GNUPIC simulator
> > version: 0.20.12
> > gpsim> gpsim: wcsrtombs.c:116: __wcsrtombs: Assertion `data.outbuf != (unsigned char *) dst' failed.
> > Aborted (core dumped)
> > 
> > Any ideas?
> 
> I have gtk+extra-0.99.16 and gtk+-1.2.10, it works for me.
> 
> If you still have the "core" file, could you try "gdb gpsim core" and then
> print the backtrace with "bt"?

I've done that (appended below).  The gimp starts up fine.  Downloader I don't
have.  Any help much appreciated!

--------------------------------------------------------------
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 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 "i386-redhat-linux"...
Core was generated by `gpsim'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libgpsim.so.0...done.
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/local/lib/libeXdbm.so.0...done.
Reading symbols from /usr/local/lib/libgpsimcli.so.0...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /usr/local/lib/libgui.so.0...done.
Reading symbols from /usr/local/lib/libgtkextra-0.99.so.16...done.
Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
Reading symbols from /usr/local/lib/libpopt.so.0...done.
Reading symbols from /lib/libreadline.so.4...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0  0x40465111 in __kill ()
(gdb) #0  0x40465111 in __kill ()
#1  0x40464d66 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40466447 in abort () at ../sysdeps/generic/abort.c:88
#3  0x4045ee8e in __assert_fail () at assert.c:59
#4  0x404a8e6c in __wcsrtombs (dst=0x809e210 "File", src=0xbfffe0c0, len=0, 
    ps=0x40534684) at wcsrtombs.c:116
#5  0x40467a31 in wcstombs (s=0x809e210 "File", pwcs=0x8095da0, n=0)
    at wcstombs.c:39
#6  0x40202312 in _gdk_wcstombs_len ()
#7  0x401fef19 in _gdk_font_wc_to_glyphs ()
#8  0x401fe400 in gdk_text_width_wc ()
#9  0x40146ef2 in gtk_label_finalize_lines ()
#10 0x40147452 in gtk_label_size_request ()
#11 0x400e8f38 in gtk_accel_label_size_request ()
#12 0x40152635 in gtk_marshal_NONE__POINTER ()
#13 0x4018024b in gtk_signal_real_emit ()
#14 0x4017e495 in gtk_signal_emit ()
#15 0x401b2708 in gtk_widget_size_request ()
#16 0x4015808f in gtk_menu_item_size_request ()
#17 0x40152635 in gtk_marshal_NONE__POINTER ()
#18 0x4018024b in gtk_signal_real_emit ()
#19 0x4017e495 in gtk_signal_emit ()
#20 0x401b2708 in gtk_widget_size_request ()
#21 0x40156006 in gtk_menu_bar_size_request ()
#22 0x40152635 in gtk_marshal_NONE__POINTER ()
#23 0x4018024b in gtk_signal_real_emit ()
#24 0x4017e495 in gtk_signal_emit ()
#25 0x401b2708 in gtk_widget_size_request ()
#26 0x401a84ff in gtk_vbox_size_request ()
#27 0x40152635 in gtk_marshal_NONE__POINTER ()
#28 0x4018024b in gtk_signal_real_emit ()
#29 0x4017e495 in gtk_signal_emit ()
#30 0x401b2708 in gtk_widget_size_request ()
#31 0x401bae0b in gtk_window_size_request ()
#32 0x40152635 in gtk_marshal_NONE__POINTER ()
#33 0x4018024b in gtk_signal_real_emit ()
#34 0x4017e495 in gtk_signal_emit ()
#35 0x401b2708 in gtk_widget_size_request ()
#36 0x401ba5c9 in gtk_window_show ()
#37 0x4015280d in gtk_marshal_NONE__NONE ()
#38 0x4018024b in gtk_signal_real_emit ()
#39 0x4017e495 in gtk_signal_emit ()
#40 0x401b04ec in gtk_widget_show ()
#41 0x40113825 in gtk_container_show_all ()
#42 0x401b0b26 in gtk_widget_show_all ()
#43 0x4034bf87 in create_dispatcher () at gui_menu.c:672
#44 0x4034aeab in gui_init (argc=1, argv=0xbffff9c4) at gui_main.c:435
#45 0x8049107 in main (argc=1, argv=0xbffff9c4) at main.cc:210
#46 0x4045ecb3 in __libc_start_main (main=0x8049014 <main>, argc=1, 
    argv=0xbffff9c4, init=0x8048ccc <_init>, fini=0x804929c <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff9bc)
    at ../sysdeps/generic/libc-start.c:78
(gdb) 
--------------------------------------------------

TIA
***************************************************
John Sutton
SCL Computer Services
URL http://www.scl.co.uk/
Tel. +44 (0) 1239 711 888
***************************************************

Previous by date: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., Ralf Forsberg
Next by date: 7 Sep 2001 21:56:05 -0000 Re: gpsim: TMR0 has 3 nibbles?, Craig Franklin
Previous in thread: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., Ralf Forsberg
Next in thread: 7 Sep 2001 21:56:05 -0000 Re: __wcsrtombs: Assertion ... failed., John Sutton


Powered by ezmlm-browse 0.20.