Open jorgicio opened 6 years ago
It's known that webkit built with asserts crashes on most websites. The asserts are rather zealous, or if you prefer, webkit code is not up to the standards of the asserts. So for a production browser comparable to Safari or others, please disable the asserts; other webkit projects also do so.
I should also mention that LTO with GCC 7 causes issues, so you should disable LTO for that version in the ebuild, if that is possible.
@clbr In fact I don't have enabled LTO in GCC7, so I'll try disabling the asserts to see if it works. I guess may do it in both packages (webkitfltk and fifth)
Hi! I'm the maintainer of the fifth package in Gentoo. I built it (with its dependencies webkitfltk and urlmatch using GCC 7.3.0), and everything went fine. However, everytime I want to go to any URL, this happens:
hackenherr:~ jorgicio% fifth [21:57:27] Crash recovery 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 ASSERTION FAILED: !m_deletionHasBegun ../WTF/wtf/RefCounted.h(44) : void WTF::RefCountedBase::ref() 1 0x5634974092e8 2 0x563497694382 3 0x56349755412a 4 0x5634974c35ed 5 0x5634972cf3ea 6 0x5634971aada2 7 0x5634971aaf86 8 0x5634971db692 9 0x5634988b4576 10 0x5634988b4696 11 0x5634970cbb46 12 0x5634976eadb2 13 0x7f7cd565546d Fl::wait(double) 14 0x56349702d6f4 15 0x7f7cd3cd60b1 __libc_start_main 16 0x56349702e53a Crashing with signal Violación de segmento (11) LEAK: 1 RenderObject LEAK: 434 WebCoreNode LEAK: 42 SubresourceLoader LEAK: 44 CachedResource LEAK: 1 Frame LEAK: 1 Page
Also, I tried with gdb:
hackenherr:~ jorgicio% gdb fifth [20:42:36] zsh: correct 'fifth' to '.fifth' [nyae]? n GNU gdb (Gentoo 8.1 p1) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://bugs.gentoo.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from fifth...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/fifth [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Crash recovery [New Thread 0x7ffff2c2b700 (LWP 9930)] [New Thread 0x7ffff2b99700 (LWP 9931)] 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 [New Thread 0x7ffff2992700 (LWP 9932)] [New Thread 0x7fffafffd700 (LWP 9975)] [New Thread 0x7fffafdfc700 (LWP 9976)] [New Thread 0x7fffafbfb700 (LWP 9977)] [New Thread 0x7fffaf9fa700 (LWP 9978)] [Thread 0x7fffaf9fa700 (LWP 9978) exited] [New Thread 0x7fffaf9fa700 (LWP 9979)] [Thread 0x7fffaf9fa700 (LWP 9979) exited] [New Thread 0x7fffaf9fa700 (LWP 9994)] [New Thread 0x7fffaede1700 (LWP 9995)] [New Thread 0x7fffae5e0700 (LWP 9996)] [New Thread 0x7fffadddf700 (LWP 9997)] [Thread 0x7fffaede1700 (LWP 9995) exited] [Thread 0x7fffaf9fa700 (LWP 9994) exited] [Thread 0x7fffae5e0700 (LWP 9996) exited] [Thread 0x7fffadddf700 (LWP 9997) exited] [New Thread 0x7fffadddf700 (LWP 9998)] [Thread 0x7fffadddf700 (LWP 9998) exited] ASSERTION FAILED: !m_deletionHasBegun ../WTF/wtf/RefCounted.h(44) : void WTF::RefCountedBase::ref() 1 0x555555d172e8 2 0x555555fa2382 3 0x555555e6212a 4 0x555555dd15ed 5 0x555555bdd3ea 6 0x555555ab8da2 7 0x555555ab8f86 8 0x555555ae9692 9 0x5555571c2576 10 0x5555571c2696 11 0x5555571c2696 12 0x5555559d9b46 13 0x555555ff8db2 14 0x7ffff78f446d Fl::wait(double) 15 0x55555593b6f4 16 0x7ffff5f5d0b1 __libc_start_main 17 0x55555593c53a
Thread 1 "fifth" received signal SIGSEGV, Segmentation fault. 0x00005555564df41c in ?? () (gdb) kill Kill the program being debugged? (y or n) y (gdb) quit
I think the problem is with WTF.
Thanks.