QtWebEngine Crashing

I submitted 3 tickets for crashing QtWebEngine when using Falkon. Maybe someone can fix these issues and get those websites working?

The above benchmark websites work with Webpositive but crash QtWebEngine when running on Falkon.

Fixing these bugs will either improve or fix QtWebEngine stability. Thanks.

1 Like

3rd ticket below:

1 Like

Welcome, gandalf!

Filing tickets is a first step to fixing bugs. However, it doesn’t take much to crash Falkon… :laughing:

5 Likes

Falcon is not recommended to use!
Use Web+ instead!

EDIT: For some sites Falcon is the better choice, for some!

1 Like

I use Web+ for 99% of my browsing needs. I just have Falkon around for the sites (or some functions of a site) that don’t work. For example, closing issues at github or editing the user guide so I don’t get logged out the first time I want to save a change.
It’s good to have a fallback in such situations, but generally I do prefer WebPositive.

2 Likes

Thanks humdinger. I blinked and Falkon crashed on me. :joy:

Fixing QtWebEngine crashes would make Falkon run stable and work better. It should not crash QtWebEngine running those online benchmarks. Webpositive can finish all the online benchmarks except for JetStream2. Likely missing support for WebAssembly? Or something else?

Whether QtWebEngine gets fixed or not we will see. There is also Epiphany with Wayland but takes more RAM and not good for older systems.

2 Likes

Webpositive works and is fairly stable but slow and sluggish. I think it needs upgrading to WebKit2 to really improve things. This may happen for either R1 or for R2. Just have to wait and see.

Thats actually wrong. You can also help.

Not this year but maybe in 2 to 3 years if Webpositive is still using WebKitLegacy I might actually just push myself to learn C++ better and debugging too and just do it myself. :smiley:

1 Like

Crash issues now resolved using qtwebengine-5.15.2-2.

3 Likes

There hasn’t been an updated _bin package, so as long as that’s not updated in the depot things are still the same I guess. :slight_smile:

EDIT: for the record, did a build and with the updated package it does seem a lot more stable, so far no crashes. :slight_smile:

3 Likes

I’m very curious what was the issue triggering the crashes? It seemed to be related to JavaScript garbage collection or something similar

QtWebengine has been rev-bumped to it’s latest changes done by @korli , build against Qt5-5.15.11, so that will be part of the update. Tested so far and no crashes. (progress from previous one) :smiley:

PS, only for 64bit (but that was already the case)

4 Likes

Debug information for team /boot/system/servers/debug_server (466):
CPU(s): 1x AMD Athlon 64
Memory: 1.50 ГБ total, 1.24 ГБ used
Haiku revision: hrev56578+93 Oct 20 2023 06:38: (x86_64)

Active Threads:
thread 466: debug_server (main)
thread 492: kernel listener
thread 11989: team 466 debug task
thread 11987: team 10344 handler
state: Exception (Segment violation)

	Frame		IP			Function Name
	-----------------------------------------------
	0x7fe6c57751a0	0x2df2035ab8	_ZN8BPrivate7StorageL12read_exactlyER11BPositionIOlPvmPKc.cold + 0 
		Disassembly:
			_ZN8BPrivate7StorageL12read_exactlyER11BPositionIOlPvmPKc.cold:
			0x0000002df2035ab8:       bf10000000  mov $0x10, %edi <--

		Frame memory:
			[0x7fe6c5775170]  ........`>.M ...   00 00 00 00 00 00 00 00 60 3e bb 4d 20 10 00 00
			[0x7fe6c5775180]  xXw.....h>.M ...   78 58 77 c5 e6 7f 00 00 68 3e bb 4d 20 10 00 00
			[0x7fe6c5775190]   Rw.....+...-...   20 52 77 c5 e6 7f 00 00 2b 83 14 f2 2d 00 00 00
	0x7fe6c5775230	0x2df2148326	BPrivate::Storage::ResourceFile::_InitFile(BFile&, bool) + 0x1a6 
	0x7fe6c5775270	0x2df2148448	BPrivate::Storage::ResourceFile::SetTo(BFile*, bool) + 0x28 
	0x7fe6c57752b0	0x2df2148c31	BResources::SetTo(BFile const*, bool) + 0xd1 
	0x7fe6c5775370	0x2df21498e1	BResources::SetTo(char const*, bool) + 0x71 
	0x7fe6c5775810	0x2df2149a41	BResources::SetToImage(void const*, bool) + 0x91 
	0x7fe6c5775950	0x660ef5e5c2	DebugWindow::DebugWindow(char const*) + 0x122 
	0x7fe6c5775ce0	0x660ef5d876	TeamDebugHandler::_HandleMessage(DebugMessage*) + 0x446 
	0x7fe6c5775d80	0x660ef5da33	TeamDebugHandler::_HandlerThread() + 0x33 
	0x7fe6c5775da0	0x10ec9fafe06	thread_entry + 0x16 
	00000000	0x7fffff36f258	commpage_thread_exit + 0 

	Registers:
		  rip:	0x0000002df2035ab8
		  rsp:	0x00007fe6c5775170
		  rbp:	0x00007fe6c5775190
		  rax:	0xffffffff80000000
		  rbx:	0x0000000000000004
		  rcx:	0x0000010ec9fb0b3c
		  rdx:	0x00007fe6c57751a4
		  rsi:	0x0000000000000000
		  rdi:	0x0000000000000004
		   r8:	0x0000002df219b17b
		   r9:	0x0000000000000007
		  r10:	0x0000000000000004
		  r11:	0x0000000000000246
		  r12:	0x0000002df219b17b
		  r13:	0x00007fe6c5775878
		  r14:	0xffffffff80000000
		  r15:	0x00007fe6c57752b0
		   cs:	0x002b
		   ds:	0x0000
		   es:	0x0000
		   fs:	0x0000
		   gs:	0x0000
		   ss:	0x0023
		  st0:	nan
		  st1:	nan
		  st2:	nan
		  st3:	nan
		  st4:	nan
		  st5:	0.99
		  st6:	1.8e+05
		  st7:	2.01e+08
		  mm0:	{0x4e7, 0xf90a, 0, 0}
		  mm1:	{0x601, 0x2, 0, 0}
		  mm2:	{0x7411, 0xf000, 0, 0}
		  mm3:	{0, 0, 0, 0}
		  mm4:	{0xf000, 0, 0, 0}
		  mm5:	{0x7000, 0xa3d, 0xa3d7, 0xfd70}
		  mm6:	{0, 0, 0xc000, 0xafd3}
		  mm7:	{0, 0, 0xea08, 0xbfa2}
		 xmm0:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm1:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm2:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm3:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm4:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm5:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm6:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm7:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm8:	{0, 0, 0, 0, 0, 0, 0, 0}
		 xmm9:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm10:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm11:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm12:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm13:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm14:	{0, 0, 0, 0, 0, 0, 0, 0}
		xmm15:	{0, 0, 0, 0, 0, 0, 0, 0}

Loaded Images:
ID Text Base Text End Data Base Data End Type Name
--------------------------------------------------------------------------------
2071 0x2b9c13e000 0x2b9c154000 0x2b9c154000 0x2b9c155000 lib /boot/system/lib/libz.so.1.3
2070 0x2ccde71000 0x2cce045000 0x2cce245000 0x2cce25b000 lib /boot/system/lib/libicuuc.so.66.1
2058 0x2df1eee000 0x2df221d000 0x2df241c000 0x2df244a000 lib /boot/system/lib/libbe.so
2057 0x660ef51000 0x660ef62000 0x660f161000 0x660f163000 app /boot/system/servers/debug_server
2165 0x100c8aac000 0x100c8ab4000 0x100c8cb3000 0x100c8cb4000 add-on /boot/system/add-ons/locale/catalogs/plaintext
2069 0x10bbb411000 0x10bbb41d000 0x10bbb61c000 0x10bbb61e000 lib /boot/system/lib/libicuio.so.66.1
2065 0x10ec9f71000 0x10eca084000 0x10eca283000 0x10eca2d6000 lib /boot/system/lib/libroot.so
2063 0x1203d21f000 0x1203d22e000 0x1203d42e000 0x1203d42f000 lib /boot/system/lib/libdebug.so
2072 0x176e5d65000 0x176e5e7a000 0x176e607a000 0x176e607b000 lib /boot/system/lib/libzstd.so.1.5.5
2066 0x19312209000 0x19312228000 0x19312228000 0x19312229000 lib /boot/system/lib/libgcc_s.so.1
2064 0x19691111000 0x19691344000 0x19691344000 0x1969135a000 lib /boot/system/lib/libstdc++.so.6.0.32
2068 0x1b05eff5000 0x1b05f2ec000 0x1b05f4eb000 0x1b05f504000 lib /boot/system/lib/libicui18n.so.66.1
2067 0x1cddfe76000 0x1cddfe77000 0x1cde0076000 0x1cde0077000 lib /boot/system/lib/libicudata.so.66.1
2043 0x1d5d56ca000 0x1d5d56e7000 0x1d5d58e7000 0x1d5d58e8000 lib /boot/system/runtime_loader
2042 0x7fffff36f000 0x7fffff377000 0x00000000 0x00000000 system commpage

Areas:
ID Base End Size (KiB) Protection Locking Name
--------------------------------------------------------------------------------
50301 0x60000000 0x60001000 4 rw-cS none server_memory
50303 0x68000000 0x68020000 128 rw-cS none server_memory
4713 0xefdbd0000 0xefdbe0000 64 rw- none rld heap
4792 0x2b9c13e000 0x2b9c154000 88 r-x none libz.so.1.3_seg0ro
4793 0x2b9c154000 0x2b9c155000 4 rw- none libz.so.1.3_seg1rw
4789 0x2ccde71000 0x2cce045000 1872 r-x none libicuuc.so.66.1_seg0ro
4790 0x2cce245000 0x2cce25a000 84 rw- none libicuuc.so.66.1_seg1rw
4791 0x2cce25a000 0x2cce25b000 4 rw- none libicuuc.so.66.1_seg2rw
4756 0x2df1eee000 0x2df221d000 3260 r-x none libbe.so_seg0ro
4757 0x2df241c000 0x2df244a000 184 rw- none libbe.so_seg1rw
4715 0x660ef51000 0x660ef62000 68 r-x none debug_server_seg0ro
4755 0x660f161000 0x660f163000 8 rw- none debug_server_seg1rw
4714 0x6b76e7a000 0x6b76e7b000 4 rw-cS none rld_debug
4796 0x6c2527e000 0x6c25286000 32 rw- none rld heap
4797 0x6d6ddcf000 0x6d6dddf000 64 rw- none rld heap
4798 0xe26bfd6000 0xe26bfe6000 64 rw- none rld heap
4799 0xfd00ab7000 0xfd00acf000 96 rw- none rld heap
5071 0x100c8aac000 0x100c8ab4000 32 r-x none plaintext_seg0ro
5072 0x100c8cb3000 0x100c8cb4000 4 rw- none plaintext_seg1rw
4800 0x1034697c000 0x10346994000 96 rw- none rld heap
5060 0x10ba2baf000 0x10ba466a000 27372 r–S none libicuuc.so.66 mmap area
4787 0x10bbb411000 0x10bbb41d000 48 r-x none libicuio.so.66.1_seg0ro
4788 0x10bbb61c000 0x10bbb61e000 8 rw- none libicuio.so.66.1_seg1rw
4777 0x10ec9f71000 0x10eca084000 1100 r-x none libroot.so_seg0ro
4778 0x10eca283000 0x10eca291000 56 rw- none libroot.so_seg1rw
4779 0x10eca291000 0x10eca2d6000 276 rw- none libroot.so_seg2rw
4758 0x1203d21f000 0x1203d22e000 60 r-x none libdebug.so_seg0ro
4773 0x1203d42e000 0x1203d42f000 4 rw- none libdebug.so_seg1rw
4794 0x176e5d65000 0x176e5e7a000 1108 r-x none libzstd.so.1.5.5_seg0ro
4795 0x176e607a000 0x176e607b000 4 rw- none libzstd.so.1.5.5_seg1rw
4780 0x19312209000 0x19312228000 124 r-x none libgcc_s.so.1_seg0ro
4781 0x19312228000 0x19312229000 4 rw- none libgcc_s.so.1_seg1rw
4774 0x19691111000 0x19691344000 2252 r-x none libstdc++.so.6.0.32_seg0ro
4775 0x19691344000 0x19691352000 56 rw- none libstdc++.so.6.0.32_seg1rw
4776 0x19691352000 0x1969135a000 32 rw- none libstdc++.so.6.0.32_seg2rw
4784 0x1b05eff5000 0x1b05f2ec000 3036 r-x none libicui18n.so.66.1_seg0ro
4785 0x1b05f4eb000 0x1b05f503000 96 rw- none libicui18n.so.66.1_seg1rw
4786 0x1b05f503000 0x1b05f504000 4 rw- none libicui18n.so.66.1_seg2rw
4782 0x1cddfe76000 0x1cddfe77000 4 r-x none libicudata.so.66.1_seg0ro
4783 0x1cde0076000 0x1cde0077000 4 rw- none libicudata.so.66.1_seg1rw
4711 0x1d5d56ca000 0x1d5d56e7000 116 r-x none runtime_loader_seg0ro
4712 0x1d5d58e7000 0x1d5d58e8000 4 rw- none runtime_loader_seg1rw
4801 0x10204db21000 0x10204dc41000 1152 rw- none heap
5260 0x7f41db9ff000 0x7f41dba44000 276 rw-s none kernel listener_492_stack
4709 0x7f4800ecd000 0x7f4801ece000 16388 rw-s none debug_server_466_stack
4707 0x7f56b717c000 0x7f56b7180000 16 rw-k full user area
56282 0x7fe6c5732000 0x7fe6c5777000 276 rw-s none team 10344 handler_11987_stack
4710 0x7fffff36f000 0x7fffff377000 32 r-xSk full commpage

Protection Flags: r - read, w - write, x - execute, s - stack, o - overcommit, c - cloneable, S - shared, k - kernel

Semaphores:
ID Count Last Holder Name
------------------------------------------------------------
2080 0 0 some BBlockCache lock
2107 0 0 token space
2108 0 0 BLooperList lock
2109 0 0 AppServerLink_sLock
2110 0 0 some BLocker
2111 0 0 some BLocker
2112 0 0 Catalog
2113 0 0 LocaleRosterData
2114 0 0 some BLocker
2148 0 0 team debug handler roster
2149 0 0 BMessageQueue Lock
2150 0 0 AppLooperPort
748125 0 7096 screen list
749249 0 7096 clipboard
750670 0 7096 width buffer
751392 0 7096 Catalog
832145 0 7156 tool tip manager
905085 1 -11987 team 10344 message count
905128 0 11987 team debug handler
905181 0 7102 BMessageQueue Lock
905188 0 10260 Crashed program
905215 0 8567 DebugWindow

1 Like