|
From: Ethan A M. <sf...@us...> - 2015-03-03 20:32:08
|
On Tuesday, 03 March, 2015 16:16:01 Tatsuro MATSUOKA wrote: > Hello > > I have tried to update gcc for windows build of gnuplot from ver. 4.9.0 to 4.9.2. > Some observations happened for both 64 bit and 32 bit build. > > > Complier gcc-4.9.2-2 from MinGW-64 project > 64 bit : exception:seh, thread:win32 > 32 bit : exception:dwarf2, thread:win32 > > Good point > > I can built gd-2.1.1 flawlessly for both 64 bit and 32 bit platform. > > > Troubles ? > ********** > 64 bit > ********** [snip] > 32 bit > ****** > gnuplot crashes by segmentation fault when one use cairo based terminals. > > Segmentation fault : g_utf8_validate gutf8.c:1634 on MinGW-64 32 bit gcc-4.9.2 > > I have met a Segmentation fault at using gnuplot-5.1 built by myself on windows. > The Segmentation fault seems to be related with the cairo based terminals. > (The cairo based terminals use libglib.) > > Compiler gcc-4.9.2 (MinGW-w64 32bit. dwarf, win32 thread). > Glib version : 2.42.1. Build from source. > > gdb message: > > Program received signal SIGSEGV, Segmentation fault. > 0x6862318f in g_utf8_validate (str=0x2888a68 "-1", max_len=-1, end=0xffffffff) > at ../../glib-2.42.1/glib/gutf8.c:1634 > 1634 *end = p; > > Program received signal SIGSEGV, Segmentation fault. > 0x6862318f in g_utf8_validate (str=0xb28a68 "-1", max_len=-1, end=0xffffffff) > at ../../glib-2.42.1/glib/gutf8.c:1634 > 1634 *end = p; > > > Perhaps this is a bug of glib (2.42.1 and 2.33.14). > > I have filed the issue to the bug tracker of Gnome. > > https://bugzilla.gnome.org/show_bug.cgi?id=745485 > > At this moment, I abandon the complier update. However, is the trouble 2 for 64 bit case not a issue of gnuplot code? That is possible. Can you provide a more complete trace of the segfault that shows where in the gnuplot code this failure happened? Ethan > Regards > > Tatsuro |