GNOME Bugzilla – Bug 745485
Segmentation fault : g_utf8_validate gutf8.c:1634 on MinGW-64 32 bit gcc-4.9.2
Last modified: 2017-03-29 09:12:49 UTC
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; (gdb) bt
+ Trace 234764
Please see the thread in gnuplot-beta ML http://gnuplot.10905.n7.nabble.com/Some-observations-building-gnuplot-for-win-by-gcc-4-9-2-MinGW64-td19323.html
I have updated to gcc-4.9.2 (release 3) and glib-2.44.1. Now issues are solved.
Thanks for the update. Let's close this then.