I’m keen to stick with the official Beta5 until the next integer release comes out. Does your last post suggest this is handicapped with Iceweasel in comparison with nightly builds
There’s a number of minor issues fixed in the nighties with respect to Iceweasel, but there’s also breakages, too (more assertion failures that cause KDLs which aren’t yet fixed), so it’s a mixed bag, really. There are some larger changes that I hope to eventually get to which will probably make more of a difference (replacing malloc
chief among them at the moment), but that hasn’t happened yet.
I currently cannot access github at all, is this a known issue?
First, I get very high CPU load for 20-25s in the display thread, and then I always get a SSL error ('Secure Connection Failed").
e.g. trying to access my home at grexe (Gregor B. Rosenauer) · GitHub
Works in WebPositive, but there the token generation doesn’t work:(
It loads for me, but the tab crashes if you even look at it funny. More Microsoft “improvements”, no doubt. Ahh, Github, you were such a nice site once …
Yeah exactly my thoughts😪
It loaded for me too, eventually, seems the network got pretty messed up on combination with the WebPositive issues.
I put Haiku on an ancient netbook with a terrible late-2000s single-core mobile processor, and Iceweasel seems to cause the app_server thread for its window to spike the CPU, even simple plain HTML pages. I’m not expecting miracles from “modern web” monstrosities on this ancient netbook, of course, but sites that manage to come up reasonably quickly in WebPositive or Falkon cause Iceweasel to grind to a halt. I wonder if there’s some pathology that’s more evident on single-core machines, since my other dual core machine I’ve been using Haiku on doesn’t seem to have this problem.
I maybe a dumb in this part, but multi-prosessing apps easier run on multi core CPUs. May be this is the simple answer why the CPU overloaded with this browser.
https://dev.haiku-os.org/ticket/19337
Are there any options to solve this problem?
Reproduced in hrev58440 - hrev58552
(IMG_1875.jpeg on Ticket #19337 – Attachment – Haiku)
One potential cause for this is that the Wayland compatibility layer (that GTK3 and thus Iceweasel are using) presently has a workaround for when windows have subsurfaces; it just copies the whole window contents on every redraw because for some reason the dirty regions aren’t updated correctly. This creates a lot of extra overdraw which wastes a lot of CPU. So that’s probably part of the issue at least.
It won’t be a problem on beta5. I do have it on my “short-term” TODO list, but at present got bogged down investigating other things (a race condition crash in the kernel page mapper, at present.)
Where do we log issues with IceWeasel? I cannot find it on HaikuPorts (but I didn’t look very hard).
I tried to attach a file to dev.haiku-os.org (bug report), and IceWeasel would always crash when I select the browse button to locate the file. Running from the terminal, and I get the following log:
/boot/system/apps/Iceweasel> ./Iceweasel
wl_ips_client_connected
display: 0x82dcf9aa80
client: 0x82dcfa6300
[1136, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(Iceweasel-default:1136): GLib-GIO-WARNING **: 11:03:06.217: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL initialize failed (t=0.327451) [GFX1-]: glxtest: libEGL initialize failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL initialize failed (t=0.327451) |[1][GFX1-]: glxtest: EGL test failed (t=0.327528) [GFX1-]: glxtest: EGL test failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL initialize failed (t=0.327451) |[1][GFX1-]: glxtest: EGL test failed (t=0.327528) |[2][GFX1-]: No GPUs detected via PCI
(t=0.327594) [GFX1-]: No GPUs detected via PCI
wl_ips_client_connected
display: 0x66794e1a80
client: 0x66794df300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{594d6002-cffd-4ac5-9d50-0243f1566d01}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1205, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1205): GLib-GIO-WARNING **: 11:03:06.822: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
console.error: ({})
wl_ips_client_connected
display: 0x2c2fcaba80
client: 0x2c2fca9300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{21c30e7b-99fa-4072-a311-8c13f8545063}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1261, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1261): GLib-GIO-WARNING **: 11:03:07.210: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
wl_ips_client_connected
display: 0x8aa5d09a80
client: 0x8aa5d07300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{33f58249-60a0-40b9-aa4f-16857f7990f7}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1323, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1323): GLib-GIO-WARNING **: 11:03:07.838: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
wl_ips_client_connected
display: 0x3eb3cfaa80
client: 0x3eb3cf8300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{6bcd3284-418e-46d1-8264-24d741c9c14f}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1325, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1325): GLib-GIO-WARNING **: 11:03:07.871: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
wl_ips_client_connected
display: 0xa19b211a80
client: 0xa19b20f300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{2fb2c9f0-0337-4c3f-b861-f5f2b1620a70}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1328, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1328): GLib-GIO-WARNING **: 11:03:07.890: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
wl_ips_client_connected
display: 0xd3197bfa80
client: 0xd3197bd300
Error parsing B_ARGV_RECEIVED message. Message:
BMessage(‘_ARG’) {
argc = int32(0x16 or 22)
argv[0] = string(“/boot/system/apps/Iceweasel/Iceweasel”, 38 bytes)
argv[1] = string(“-contentproc”, 13 bytes)
argv[2] = string(“-greomni”, 9 bytes)
argv[3] = string(“/boot/system/apps/Iceweasel/omni.ja”, 36 bytes)
argv[4] = string(“-appomni”, 9 bytes)
argv[5] = string(“/boot/system/apps/Iceweasel/browser/omni.ja”, 44 bytes)
argv[6] = string(“{40363dae-406d-4372-9fd8-bd199d77857b}”, 39 bytes)
argv[7] = string(“1136”, 5 bytes)
argv[8] = string(“tab”, 4 bytes)
cwd = string(“/boot/system/apps/Iceweasel”, 28 bytes)
}
[Child 1418, Main Thread] WARNING: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(/boot/system/apps/Iceweasel/Iceweasel:1418): GLib-GIO-WARNING **: 11:03:12.938: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Unable to find default local file monitor type
UPDATE - didn’t find view by token: 8
UPDATE - didn’t find view by token: 9
[Parent 1136, Main Thread] WARNING: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.: ‘glib warning’, file /boot/home/src/gecko-dev2/toolkit/xre/nsSigHandlers.cpp:187
(Iceweasel-default:1136): Gtk-WARNING **: 11:03:30.779: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:…/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /boot/system/data/icons/haiku/status/16/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:…/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /boot/system/data/icons/haiku/status/16/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Redirecting call to abort() to mozalloc_abort
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Illegal instruction
Exiting due to channel error.
Exiting due to channel error.
/boot/system/apps/Iceweasel>
The request icon does exist in the file hierarchy.
Tested on hrev58639 (14 Feb 2025), IceWeasel 128.5.0esr (64-bit)
As this is a third party port just open it st haikuports.
This looks like the gdk-pixbuf loaders cache may be broken on your system.
It would be really nice if we replaced the gdk-pixbuf loaders backend with something that called Haiku Translators instead… but IIRC this was discussed before, and it’s not so easy because gdk-pixbuf supports some features that Translators presently don’t (like arbitrary image sizes for vector images.) We should investigate that (someday…)
It should be possible to make GTK related libraries and data to not depend on post install scripts and regenerate all needed data on library load/reference call.
This problem is most likely due to the fact that glib cannot find file types of images in the mime database. This is often due to the fact that there is a mime directory in one of the directories in non-packages. Glib finds it and does not try to search the system directory /system/data/mime any further. I think that to fix the problem it will be enough to delete these directories:
rm -rf /boot/system/non-packaged/data/mime
rm -rf /boot/home/config/non-packaged/data/mime
That fixes the issue. I never did anything out of the ordinary, just installed packages. I hardly ever remove them.
THanks Gerasimov
+1, great work
#19337 has now been fixed (in hrev58664).
I noticed another small issue with key handling when switching workspaces: if I change workspaces away from Iceweasel by key shortcut, such as Alt-Fn, but come back to Iceweasel via the Deskbar, Workspaces widget, or other non-keyboard mechanism, the Iceweasel window thinks Alt (or whatever other modifier keys were held during the initial workspace switch) is still held down.
Sorry if anyone mentioned this previously. Trying to change the Downloads folder location crashes Iceweasel. I’m not sure if this is meant to use a “native” folder selector or if it’s supposed to be a GTK dialog, but for whatever reason is not working.
Have a look at the post(s) 5 posts above your bug report post for a fix to the downloads crashing iceweasel bug.