http crash with v0.4 : always
szukw000: fifth http://www.fltk.org libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG Opening remote URL http://www.fltk.org Crashing with signal Segmentation fault (11) LEAK: 1 Page LEAK: 1 Frame LEAK: 14 CachedResource LEAK: 12 SubresourceLoader LEAK: 664 WebCoreNode LEAK: 503 RenderObject
szukw000: fifth http://fifth-browser.sf.net libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG Opening remote URL http://fifth-browser.sf.net Crashing with signal Segmentation fault (11) LEAK: 1 Page LEAK: 1 Frame LEAK: 8 CachedResource LEAK: 6 SubresourceLoader LEAK: 117 WebCoreNode LEAK: 81 RenderObject
winfried
Please provide more info. Is this a custom build, what platform, etc.
If it's a custom or distro build, please rebuild with debug symbols and get a backtrace + valgrind output.
There is no general issue AFAIK, I run the latest every day, and this is the first report I see.
root: make install fatal: Not a git repository (or any parent up to mount point /sources) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: Not a git repository (or any parent up to mount point /sources) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
root: ls -l /usr/bin/fifth -rwxr-xr-x 1 root root 123269656 Dec 6 02:41 /usr/bin/fifth
winfried
Both reports crashed in your libc (!!), not in Fifth or any library in my control, though your valgrind was too old to be useful. Can you update valgrind and try it again?
Opening remote URL http://www.fltk.org Crashing with signal Segmentation fault (11) LEAK: 2 Page LEAK: 2 Frame LEAK: 18 CachedResource LEAK: 13 SubresourceLoader LEAK: 780 WebCoreNode LEAK: 504 RenderObject
winfried
Can you also reproduce in the webkitfltk testapp?
Oh, and what is your libpng version? For the jumpbuf to be NULL, libpng init would have failed. That's not supposed to be possible.
In your valgrind output I see two versions: /usr/lib64/libpng17.so.17.0.0 /usr/lib64/libpng16.so.16.16.0
That could cause this crash. Why do you have two versions of libpng linked at the same time?
Why do you have two versions of libpng linked at the same time?
I do not know WHY. I only use LIBPNG17. My SLACKWARE distribution installed LIBPNG14 and LIBPNG16.
fifth-0.4/Makefile:
CXXFLAGS = -g -O2 -I/usr/include/libpng16 -I/usr/include/libpng17
An the Makefile.am contains the lines (20-22):
cp /usr/lib/{libssl,libcrypto}*.so.1.* $(BASE); \
cp /usr/lib/{libcurl,libpng12,libphysfs,libcares,librtmp}*.so.? $(BASE); \
cp /usr/lib/libjpeg*.so.?? $(BASE); \
Makefile.in the lines 879-881:
cp /usr/lib/{libssl,libcrypto}*.so.1.* $(BASE); \
cp /usr/lib/{libcurl,libpng12,libphysfs,libcares,librtmp}*.so.? $(BASE); \
cp /usr/lib/libjpeg*.so.?? $(BASE); \
All libraries on my 64-Bit machine are in '/usr/lib64' and '/usr/local/lib64'.
winfried
On Sun, 06 Dec 2015 13:11:20 -0800 szukw000 [email protected] wrote:
I do not know WHY. I only use LIBPNG17. My SLACKWARE distribution installed LIBPNG14 and LIBPNG16.
It would really be advisable to only have one. If you want to use 1.7, then you need to remove the headers and symlinks of 1.6, so only 1.7 can be used by new programs. But how to do that is Slackware-specific, I wouldn't know.
-I/usr/include/libpng16 -I/usr/include/libpng17
This is wrong. Only one should be present.
An the Makefile.am contains the lines (20-22):
cp /usr/lib/{libssl,libcrypto}*.so.1.* $(BASE); \ cp /usr/lib/{libcurl,libpng12,libphysfs,libcares,librtmp}*.so.? $(BASE); \ cp /usr/lib/libjpeg*.so.?? $(BASE); \
These are for my use (the precompiled binary package), so you can ignore them.