A plethora of bugs and crashes

Heya,

I have been using Haiku on metal (the only system on an Acer Aspire 7738G) as a main driver for university and office work, for a few days.

In that short timespan I have encountered a ton of bugs and crashes, many of which I cannot properly report because I cannot screenshot anymore (Kernel panics), or applications don’t terminate during the bug so I cannot dump memory or write a log, and it just happens so frequently I’d spend hours a day writing reports.

List of issues I have encountered so far:

  1. Vision crashes repeatedly whenever I try to change the settings, or just randomly while joining a server. Unusable.
  2. Only half a dozen mails downloaded from various folders when I put in my mail account, and the inbox isn’t polled at all. Had to use a third party program to get mails to work
  3. MediaConverter causes a kernel panic when I try to convert from WAV to OGG or FLAC
  4. Taking a screenshot of the time window once caused my applications to not properly close anymore, and there is a window-shaped rectangle in the middle where graphics “drag” (no buffer updating).
  5. Ligatures do not work anywhere except LibreOffice, which has a custom font rendering system anyway.
  6. Cannot connect to a Bluetooth speaker on my bluetooth laptop; I find the speaker, I connect to it, but the button does nothing half the time, and the other half it shows an incoming connection by an invalid device, and then causes a kernel panic. Can’t save the kernel panic either because it freezes entirely and lines render based on where my pointer is.
  7. When a debugger is debugging a program that refuses to close, I am softlocked and have to hard reset the laptop because the debugger keeps the system from rebooting, and the program cannot quit. Only the Team monitor helps here.

Now, I know that the answer to this is “Haiku is in beta, please report all bugs you find!”, and I agree with that, and I will report all bugs I find from now on, but I am still wondering: is anything wrong with my system or my configuration that you’d know could cause such bugs?

I love the concept of Haiku and the work everyone puts in this; and I WANT to use this as a daily driver, but all of these constant issues drive me mad and make it borderline unusable. Worse is, nobody else seems to encounter them.

I will take out my frustration productively and just start contributing, reporting issues and working with devs on this instead. But I wonder if I am alone with this experience and I did something wrong, or my laptop is simply unique in being broken. Do these issues sound familiar?

Any advice?

2 Likes

I dont posess any hardware like yours, but on my T440s Haiku works ok.
Try to gather a T440 from friends and test it if you can.

Bluetooth wont work at all, as only pairing implemented. Nothing else.

I have a 3$ 3,5 jack to Bluetooth transreceiver, this can be a workaround for you too.

1 Like

It is not realy simple to collect data for some crashes. So you do the best to write them down.

The Best way reporting bug is toadd them to the Bug tracker of haiku:

https://besly.de/index.php/en/systemerror/report-system-or-program-error

Here some tutorials from our knowledge base:

https://besly.de/index.php/en/systemerror/syslog-save-error-information-after-system-crash

https://besly.de/index.php/en/development/yab/how-to-test-yab-programs-properly
(tutorial for yab devs, but getting output from shell at testing here descript)

Hardware list

https://besly.de/index.php/en/hardware/besly-system-analysis-tool-2

Hardware Analysis tool

https://besly.de/index.php/en/system-tools/beslysat/besly-system-analysis-tool-description

1 Like

And about the kernel panics: you can use your phone to make a photo about them for the bugreports.

1 Like

Well, it doesn’t pair either, so I guess that’s still a bug, then. :smiley:

Interesting, usually the web browser comes first on the list of issues… :grinning:

6 Likes

I am not surprised at these issues, since the involved components are pretty much incomplete or needs a big overhaul. You might want to search the bug tracker, upvote/comment related tickets or open a new one.

Regarding the ligatures, Haiku’s text view component does not support rich text or plain text with ligatures yet.

1 Like

For some reason I have had zero problems with either WebPositive nor Otter, I can even use the bloated script-laden online course websites for my university without problems. I can truly say that web browsing is probably the component that I had zero problems with so far. :smiley: Also sound, sound works great too, better than on many Linux systems I have used (ahem, PulseAudio).

2 Likes

I think Koder and other scintilla based editors does however support ligatures.

That seems strange to me, why wouldn’t it? it’s basically picking a different glyph if two code points together have a seperate glyph in the font, many non-ligature looking constructs rely on this, it depends on which font you pick, anyway.

Do you have a backslash in IMAP folder names?

Nope, it’s just called Inbox. There’s nothing in the folder either.

ligature implementation in Freetype requires use of Harfbuzz. Use of harfbuzz requires modern GCC so this is not possible as long as app_server is compiled with gcc2 for 32bit systems. We should probably change that (if not already done? I lost track of things :smiley: ) and use gcc8/11 for app_server.

Then we can integrate harfbuzz in it and have better support for ligatures, but also some alphabets that require ligatures to do anything useful.

6 Likes

I suspect at least some of the issues are hardware related or we’d all see them.

Maybe one of the devs can spot something if you uploaded your syslog (/system/var/logs/syslog) somewhere. Possibly even enter KDL by pressing ALT+PRINT+D and enter “ints”, take a photo, and leave KDL with “co”. (It may take some seconds to return to the system, I suspect paperwork at the borders…)

1 Like

screenshot causing things to hang, and Debugger causing things not to close are all very strange issues, and I would have to suspect potentially related. It sounds like there is some strange lockup issue that is occurring in the kernel, based on these symptoms. The MediaConverter panics / app_server crashes may somehow be related

Could you open one ticket with a syslog and as complete a description as you can make of the hangs/softlocks, and another ticket with a picture taken of the MediaConverter crash?

Also, if you are on R1/beta3, can you upgrade to a nightly build and see if anything is different here? (The nightlies have a bunch of bugs fixed already, but more importantly they have more kernel assertions enabled, so maybe whatever the problem is will manifest itself more clearly there.)

1 Like

This sounds like a over heating issue, is the cou and otber cooling hardware functional ???

More likely it is ACPI related. I guess @LianBg should also try “Disable ACPI” in the bootloader options and see if that improves anything.

1 Like

Thank all of you (can’t quote everyone) for the advice, I will try to recreate the crashes again, but it’s weird; it’s been impossible for me to repeat some of the crashes despite tracing back my steps. If it happens though, I can try all of the advice.

I’ll take some time out of my day for a debugging spree later. :slight_smile:

2 Likes

You might also check the VirtualMemory settings.