Opened 5 weeks ago

Last modified 6 days ago

#18986 reopened bug

3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash in Live environment

Reported by: jscipione Owned by: kallisti5
Priority: normal Milestone: R1/beta6
Component: Kits/OpenGL Kit/Software Pipe Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by jscipione)

3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash on 64-bit in Live environment only, they work fine in the regular environment, but crash on the live. I'm not sure how long this has been happening but for a while now.

To reproduce, load up Haiku in the live environment in VMWare, for example the latest nightly. Try it out. Run a 3d app, for example GLTeapot.

Will crash on launch.

This crash only happens in the live environment in VMWare.

Attachments (4)

Change History (19)

comment:1 by waddlesplash, 5 weeks ago

Milestone: UnscheduledR1/beta5

comment:2 by cocobean, 5 weeks ago

No GL issues on R1B5 (57937+36) and 57968 x86 Live DVD environments. Will look at x64.

Last edited 5 weeks ago by cocobean (previous) (diff)

comment:3 by andreibosco, 5 weeks ago

No issues on R1B5 (57937÷36) x86_64 live USB. The screensaver preview did fail to clean the screen, but it happened with any screensaver, not just GLife.

Last edited 5 weeks ago by andreibosco (previous) (diff)

comment:4 by jscipione, 5 weeks ago

You are sure that you’re in the live environment, not installed, and 64-bit? If so then maybe this got fixed somehow but I doubt it but I’ve seen the bug before and somebody else on IRC just reported it… although I haven’t tested on the r1b5 branch yet…

The screensaver redraw thing is normal, you’d see the crash right away so that’s a different bug.

It’s possible we’re missing a package on the nightlies but it’s there on release build, or actually now that I think about it it could actually be a memory limit issue since we both may have had only 256MB of RAM due to VMWare giving that by default on Other > Other 64-bit option.

comment:5 by jscipione, 5 weeks ago

The crash is not memory related, I tested again with different virtual memory and processor configurations and I was able to reproduce crash on nightly 64-bit live environment on hrev57966. I have not yet tested this on a r1b5 test build but 3d apps definitely crash on latest nightly still.

comment:6 by pulkomandy, 5 weeks ago

I'm not sure what you mean exactly by "the live environment", since there is nothing really special about it.

The differences I can think of:

  • Read only filesystem (only if you boot it from a CD/DVD and not an USB drive)
  • Some packages are not activated (they are in the _packages_ directory at the root of the filesystem, and moved to /system/packages by Installer)
  • Partition is smaller (maybe you just run out of disk space or have no swap file because of this)

So, which one of these is causing a problem?

Also I am confused because your debug reports include icu 66 being loaded, if you use a current version, shouldn't this be icu 74? I don't think ICU is directly related to the problem, but at least it shows that this test was not made on the current version of Haiku.

[EDIT]: ok, actually the last report doesn't.

Last edited 5 weeks ago by pulkomandy (previous) (diff)

in reply to:  4 comment:7 by andreibosco, 5 weeks ago

Just to confirm, yes, I was running in a live environment from a USB drive. Regarding memory, my computer has 64gb of ram, not sure if it has any influence with the issue.

Replying to jscipione:

You are sure that you’re in the live environment, not installed, and 64-bit? If so then maybe this got fixed somehow but I doubt it but I’ve seen the bug before and somebody else on IRC just reported it… although I haven’t tested on the r1b5 branch yet…

The screensaver redraw thing is normal, you’d see the crash right away so that’s a different bug.

It’s possible we’re missing a package on the nightlies but it’s there on release build, or actually now that I think about it it could actually be a memory limit issue since we both may have had only 256MB of RAM due to VMWare giving that by default on Other > Other 64-bit option.

comment:8 by jscipione, 5 weeks ago

Description: modified (diff)
Priority: criticalnormal
Summary: 3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash in Live environment only3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash in Live environment on VMWare only

Previous reports were from hrev57439 (a while back) new report is from hrev57966, the latest nightly as of reporting, both show the same bug but the ICU version is different since that got updated in the meantime. Like I said this bug has been happening for a while now, although r1b4 does not experience the bug.

The bug only appears in the live environment i.e. when you push the "Try it out" button, I have no idea why this is the case. Low memory issue is a red herring, of course you weren't testing with 256MB but I tested that in VMWare and it doesn't make a difference. Tested with 1, 2 and 4 virtual CPUs, no difference.

Maybe this is a VMWare issue? I haven't seen it on live hardware, only virtual.

I just checked and there's no crash on my real hardware (Lenovo X220) in hrev57966 live environment so this is indeed a VMWare thing. I'll update the description and lower the priority.

comment:9 by Coldfirex, 5 weeks ago

Can confirm the opengl crashes issue under Proxmox as well.

in reply to:  6 comment:10 by jscipione, 4 weeks ago

Replying to pulkomandy:

The differences I can think of:

  • Partition is smaller (maybe you just run out of disk space or have no swap file because of this)

So, which one of these is causing a problem?

The problem appears to be not enough disk space. Upping the image size from 600M to 650M seems to fix the problem.

https://review.haiku-os.org/c/haiku/+/8085

comment:11 by waddlesplash, 4 weeks ago

Resolution: fixed
Status: newclosed

Fixed in hrev57999. Release images use a larger profile size and shouldn't be affected.

comment:12 by waddlesplash, 7 days ago

Resolution: fixed
Status: closedreopened

This isn't fixed; it seems disk space wasn't the problem. And it turns out, this also happened on beta4!

comment:13 by waddlesplash, 7 days ago

Summary: 3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash in Live environment on VMWare only3d apps for example GLTeapot, Haiku3d and GLife Screen Saver crash in Live environment

It seems to happen when booted from CD specifically, so write_overlay may have something to do with it.

comment:14 by waddlesplash, 7 days ago

I think we are going to kick the can down the road on this one. Delaying the release isn't worth it, especially if beta4 had the same problem. OpenGL works fine outside the live environment (just tested here).

comment:15 by waddlesplash, 6 days ago

Milestone: R1/beta5R1/beta6

move remaining tickets to beta6

Note: See TracTickets for help on using tickets.