From: Andrea Venturoli on 24 Apr 2010 14:36 Hello. I'm a long time gnuplot users; since a while, I had the following error when doing the first plot: Gnuplot-wxt error Couldn't load a PNG image - file is corrupted or not enough memory. (And under Details): [00][00][00][00]: unknown critical chunk Couldn't load a PNG image - file is corrupted or not enough memory. [00][00][00][00]: unknown critical chunk Couldn't load a PNG image - file is corrupted or not enough memory. [00][00][00][00]: unknown critical chunk Couldn't load a PNG image - file is corrupted or not enough memory. [00][00][00][00]: unknown critical chunk Couldn't load a PNG image - file is corrupted or not enough memory. I always ignored it, since it gave no problems at all. However, since the last libpng upgrade, this turned into a crash: %gdb gnuplot GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) core gnuplot.core Core was generated by `gnuplot'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/libplot.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libplot.so.4 Reading symbols from /lib/libreadline.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libreadline.so.7 Reading symbols from /lib/libncurses.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.7 Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libgd.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgd.so.4 Reading symbols from /usr/local/lib/libpdf.so.8...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpdf.so.8 Reading symbols from /usr/local/lib/libXaw7.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXaw7.so.7 Reading symbols from /usr/local/lib/libXmu.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXmu.so.6 Reading symbols from /usr/local/lib/libXt.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXt.so.6 Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libwx_gtk2_richtext-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_richtext-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_aui-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_aui-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_xrc-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_xrc-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_qa-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_qa-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_html-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_html-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_adv-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_adv-2.8.so.0 Reading symbols from /usr/local/lib/libwx_gtk2_core-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_gtk2_core-2.8.so.0 Reading symbols from /usr/local/lib/libwx_base_xml-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_base_xml-2.8.so.0 Reading symbols from /usr/local/lib/libwx_base_net-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_base_net-2.8.so.0 Reading symbols from /usr/local/lib/libwx_base-2.8.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libwx_base-2.8.so.0 Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/local/lib/libcairo.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libcairo.so.2 Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/local/lib/libpango-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpango-1.0.so.0 Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfontconfig.so.1 Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgobject-2.0.so.0 Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0 Reading symbols from /usr/local/lib/libglib-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/local/lib/libatk-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libatk-1.0.so.0 Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/local/lib/libgio-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgio-2.0.so.0 Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXrender.so.1 Reading symbols from /usr/local/lib/libXinerama.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXinerama.so.1 Reading symbols from /usr/local/lib/libXi.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXi.so.6 Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXrandr.so.2 Reading symbols from /usr/local/lib/libXcursor.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXcursor.so.1 Reading symbols from /usr/local/lib/libXcomposite.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXcomposite.so.1 Reading symbols from /usr/local/lib/libXdamage.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdamage.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libXm.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXm.so.3 Reading symbols from /usr/local/lib/libSM.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libSM.so.6 Reading symbols from /usr/local/lib/libICE.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libICE.so.6 Reading symbols from /usr/local/lib/libXp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXp.so.6 Reading symbols from /usr/local/lib/libXpm.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXpm.so.4 Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librpcsvc.so.4 Reading symbols from /usr/local/lib/libpng.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpng.so.6 Reading symbols from /usr/local/lib/libjpeg.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libjpeg.so.11 Reading symbols from /usr/local/lib/libgthread-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgthread-2.0.so.0 Reading symbols from /usr/local/lib/libpangox-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpangox-1.0.so.0 Reading symbols from /usr/local/lib/libXxf86vm.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXxf86vm.so.1 Reading symbols from /usr/local/lib/libtiff.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libtiff.so.4 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libmspack.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libmspack.so.1 Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/local/lib/libpixman-1.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpixman-1.so.9 Reading symbols from /usr/local/lib/libxcb-render-util.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb-render-util.so.0 Reading symbols from /usr/local/lib/libxcb-render.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb-render.so.0 Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.8 Reading symbols from /usr/local/lib/libpcre.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /usr/local/lib/libjbig.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libjbig.so.1 Reading symbols from /usr/local/lib/nss_ldap.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/nss_ldap.so.1 Reading symbols from /usr/local/lib/libldap-2.3.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libldap-2.3.so.2 Reading symbols from /usr/local/lib/liblber-2.3.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/liblber-2.3.so.2 Reading symbols from /usr/lib/libcom_err.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcom_err.so.4 Reading symbols from /usr/lib/libssl.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.5 Reading symbols from /lib/libcrypto.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x498aaea7 in kill () from /lib/libc.so.7 [New Thread 0x49e01040 (LWP 100161)] (gdb) bt #0 0x498aaea7 in kill () from /lib/libc.so.7 #1 0x497c7357 in raise () from /lib/libthr.so.3 #2 0x498a9a1a in abort () from /lib/libc.so.7 #3 0x49b71a2d in png_create_read_struct_2 () from /usr/local/lib/libpng.so.6 #4 0xbfbfd55c in ?? () #5 0x49b8855a in ?? () from /usr/local/lib/libpng.so.6 #6 0x49b8855f in ?? () from /usr/local/lib/libpng.so.6 #7 0x49b88569 in ?? () from /usr/local/lib/libpng.so.6 #8 0x49b88564 in ?? () from /usr/local/lib/libpng.so.6 #9 0x00000000 in ?? () #10 0xbfbfd55c in ?? () #11 0x48c48d40 in wxPNGHandler::LoadFile () from /usr/local/lib/libwx_gtk2_core-2.8.so.0 Previous frame inner to this frame (corrupt stack?) (gdb) "uname -a" gives FreeBSD bane.ventu 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Sat Mar 20 19:33:34 CET 2010 root(a)bane.ventu:/usr/obj/usr/src/sys/BANE i386 and I also tried a "portupgrade -Rf gnuplot". The above happens on more than one machine. Removing wx-widgets option in "make config" solves this. Should I file a PR? bye & Thanks av. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Philipp Ost on 24 Apr 2010 16:10 Andrea Venturoli wrote: > Hello. > I'm a long time gnuplot users; since a while, I had the following error > when doing the first plot: > > Gnuplot-wxt error > Couldn't load a PNG image - file is corrupted or not enough memory. > (And under Details): > [00][00][00][00]: unknown critical chunk > Couldn't load a PNG image - file is corrupted or not enough memory. > [00][00][00][00]: unknown critical chunk > Couldn't load a PNG image - file is corrupted or not enough memory. > [00][00][00][00]: unknown critical chunk > Couldn't load a PNG image - file is corrupted or not enough memory. > [00][00][00][00]: unknown critical chunk > Couldn't load a PNG image - file is corrupted or not enough memory. I've never seen that sort of message here, but I can reproduce the exact same behaviour you describe. What I did: gnuplot> set term x11 Terminal type set to 'x11' Options are '0' gnuplot> f(x) = sin(x) gnuplot> plot f(x) gnuplot> set term wxt Terminal type set to 'wxt' Options are '0' gnuplot> replot Abort(coredump) So it seems like WX is indeed to blame. [gdb output] > "uname -a" gives > FreeBSD bane.ventu 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Sat Mar 20 > 19:33:34 CET 2010 root(a)bane.ventu:/usr/obj/usr/src/sys/BANE i386 I'm running 8.0-STABLE as of yesterday. gnuplot is at version 4.2.6. > Should I file a PR? I leave that up to you ;-) Kind regards, Philipp
|
Pages: 1 Prev: portmaster and IGNOREME Next: FreeBSD Port: bash-completion-20060301_3 |