fifth icon indicating copy to clipboard operation
fifth copied to clipboard

http crash with v0.4 : always

Open szukw000 opened this issue 10 years ago • 9 comments

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

szukw000 avatar Dec 05 '15 19:12 szukw000

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.

clbr avatar Dec 05 '15 21:12 clbr

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

valgrind.txt gdb-error.txt

szukw000 avatar Dec 06 '15 01:12 szukw000

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?

clbr avatar Dec 06 '15 09:12 clbr

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

valgrind-3.11.0.txt

szukw000 avatar Dec 06 '15 12:12 szukw000

Can you also reproduce in the webkitfltk testapp?

clbr avatar Dec 06 '15 12:12 clbr

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.

clbr avatar Dec 06 '15 12:12 clbr

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?

clbr avatar Dec 06 '15 12:12 clbr

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

szukw000 avatar Dec 06 '15 21:12 szukw000

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.

clbr avatar Dec 07 '15 08:12 clbr