Re: glib-genmarshal seg fault solaris 2.6



Reed, Timothy A wrote:

All,
	Under solaris 2.6 using gcc 3.0.4, glib-genmarshal will build, but
when it trys to run it seg faults.

	Here is the output from the build:

creating glib-genmarshal
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list
--header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh ./gmarshal.h || cp xgen-gmh ./gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
/bin/ksh: 16793 Segmentation Fault(coredump)	
This is the perl interpreter crashing. It seems that the regular expressions in the script cause a stack overflow on some systems (with some versions of Perl). I think the solution was to upgrade your Perl (not completely sure; see the gtk-devel-list archives).

James.

--
Email: james daa com au              | Linux.conf.au   http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia.






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