gnupic: __wcsrtombs: Assertion ... failed.
Subject:
Re: __wcsrtombs: Assertion ... failed.
From:
Scott Dattalo ####@####.####
Date:
7 Sep 2001 18:06:13 -0000
Message-Id: <Pine.LNX.4.33.0109071053060.1198-100000@ruckus.brouhaha.com>
On Fri, 7 Sep 2001, John Sutton wrote:
> Oh dear, life on the bleeding edge...
>
> Having sucessfully got gpsim-0.20.12 built and running, I then needed to
> upgrade glib and gtk+ in order to get gwave running. Did that OK, but now
> gpsim is broken ;-(
>
> ---------------------------------
> [root@diva int]# gpsim
>
> gpsim - the GNUPIC simulator
> version: 0.20.12
>
>
> type help for help
> gpsim> gpsim: wcsrtombs.c:116: __wcsrtombs: Assertion `data.outbuf != (unsigned char *) dst' failed.
> Aborted (core dumped)
> --------------------------------
>
> I've rebuilt gtk+extra-0.99.16 against the new libs (glib-1.2.9 and gtk+-1.2.9)
> and then rebuilt gpsim against all of that clobber, and it all seemed to go OK.
>
> Any ideas?
Ugh.
man -k wcsrtombs
wcsrtombs (3) - convert a wide character string to a multibyte
string
Hmm?
I have no idea why this is occuring. One thing that could be happening is
the library cache needs refreshing:
su
# /sbin/ldconfig
# exit
You could also try gdb and get a backtrace to see the path followed to the
core dump.
You may need to "make clean" on gpsim to get rid of any bad dependencies.
(perhaps a make distclean is even better).
You may try invoking gpsim without the gui (gpsim --cli). This way you can
determine if it's a gui call or something else.
Incidently, I had a helluva time installing gwave. It turns out that all I
needed was to install the guile-development package with my RH7.0 distro.
But even so, I had to manually edit the link command to create the gwave
executable.
You may wish to see this thread on the geda mailing list:
http://www.seul.org/archives/geda/dev/Aug-2001/msg00053.html
http://www.seul.org/archives/geda/dev/Aug-2001/msg00056.html
Scott