Re: 2.0 and solaris 7 anyone gotten it to compile?



In message <02Mar20 123019gmt 23631 fred uesms co uk>
          Stephen Watson <watson ultra demon co uk> scribbled:

> In message <3C972C5F 24B3306A dal asp ti com>
>           Billy Patton <bpatton dal asp ti com> scribbled:
> > THen I tried the install.  That also crashed with a segmentation
> > violation here :
> > 
> > if [ -z "" ] ; then \
> >   /bin/sh ../../mkinstalldirs /data/cdmg/gnu/gtk2.0/etc/gtk-2.0 ; \
> >   ../../gtk/gtk-query-immodules-2.0 >
> > /data/cdmg/gnu/gtk2.0/etc/gtk-2.0/gtk.immodules ; \
> >         fi
> > Segmentation Fault - core dumped
> 
> Same here.  I tried gdb:
> 
[snip]
> Program received signal SIGSEGV, Segmentation fault.
> 0xfec508c4 in __icv_iconv () from /usr/lib/iconv/646%UTF-8.so
> (gdb) where
> #0  0xfec508c4 in __icv_iconv () from /usr/lib/iconv/646%UTF-8.so
> #1  0xfebc467c in iconv () from /usr/lib/libc.so.1
> #2  0xfec93994 in open_converter (to_codeset=0xfecd3618 "UTF-8", 
>     from_codeset=0x2738c "ASCII", error=0x0) at gconvert.c:361
> #3  0xfec93cec in g_convert (str=0xfec1ee36 "No such file or directory", 
>     len=-1, to_codeset=0x21b10 "", from_codeset=0x2738c "ASCII", 
>     bytes_read=0x0, bytes_written=0x0, error=0x0) at gconvert.c:491
> #4  0xfec947b8 in g_locale_to_utf8 (
>     opsysstring=0xfec1ee36 "No such file or directory", len=-1, 
>     bytes_read=0x0, bytes_written=0x0, error=0x0) at gconvert.c:1040
> #5  0xfecc0cdc in g_strerror (errnum=2) at gstrfuncs.c:596
> #6  0xfec9c600 in g_dir_open (path=0x238e8 "//.gtk-2.0/2.0.0/immodules", 
>     flags=0, error=0x0) at gdir.c:76
> #7  0x111e8 in main (argc=0, argv=0x22290) at queryimmodules.c:142
> (gdb) The program is running.  Exit anyway? (y or n) y

After further investigation it seems that iconv() on Solaris 7 dumps core if
any parameter other than the 2nd (inbuf) is NULL.

-- 
Stephen Watson          Physicist
Ultra Electronics Ltd - Signature Management Systems (UESMS)
Tel: +44 (0)1543 878888 (switchboard)     Fax: +44 (0)1543 878249
Email: watson ultra demon co uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]