Skip to main content

Seg Fault from Canvas3D.renderOffScreenBuffer()

11 replies [Last post]
danderer
Offline
Joined: 2004-08-29
Points: 0

Environment is Fedora Core 2 (which I think is X.org):

Any calls to Canvas3D.renderOffScreenBuffer() cause X to trap - only info I currently have is from the X log:

Fatal server error:
Caught signal 11. Server aborting

Same behavior on Core 2 on very different hardware; Core 1 and previous RH versions work fine.

Happens with both the J3D binary releases (1.3.1 and 1.3.2 betas), and 1.3.2 built here from source.

Now ideally this is a known issue with a workaround, but if it isn't I'd appreciate some pointers on how to gather more information on the fault. I don't mind digging but could use a nudge in the right direction.

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kcr
Offline
Joined: 2004-03-17
Points: 0

> Strangely I have no problem with j3d1.3.2 on my Red
> Hat 9.0 box with Nvidia GeForce 2 GTS card.

Chien,

So are you saying that all of the OffScreen Canvas tests run correctly on Red Hat 9.0? I can't run any OffScreen tests on SusE 9.1 using Java 3D 1.3.2-build5. See Issue 20 for more information.

https://java3d.dev.java.net/issues/show_bug.cgi?id=20

-- Kevin

jada
Offline
Joined: 2004-03-17
Points: 0

Kevin,
So far I only focus on PrintCanvas3D program. BTW, I have also tested this program on SuSE 9.1 with both Java 3D 1.3.2-build and Java 3D 1.3.1 (from Blackdown), they both fail to render offscreen. 1.3.2-build fails with an error message, and 1.3.1-blackdown fails with a black background and a partial offscreen image. This is contrary to our earlier report that Blackdown version works.

- Chien.

jada
Offline
Joined: 2004-03-17
Points: 0

We believe this problem is similar to issue 20. This is a high priority issue, and we are committed to work on it ASAP. Please refer to issue 20 for update.

jada
Offline
Joined: 2004-03-17
Points: 0

We've verified that it is likely a Java 3D porting issue as the port from Blackdown handles off-screen rendering just fine. We will look into it.

jada
Offline
Joined: 2004-03-17
Points: 0

Strangely I have no problem with j3d1.3.2 on my Red Hat 9.0 box with Nvidia GeForce 2 GTS card. What is your system configuration ?

jada
Offline
Joined: 2004-03-17
Points: 0

Okay, I saw your system configuration in earlier posting. Looks like a system specific issue.

kcr
Offline
Joined: 2004-03-17
Points: 0

Sounds like a driver bug may be causing a crash in the GLX extension, which in turn causes the X server to crash. What graphics card are you using?

-- Kevin

danderer
Offline
Joined: 2004-08-29
Points: 0

Happens in two very different environments:

An AMD 2600+ with a Radeon 9500
A dual-processor Celeron box with a Voodoo 3

kcr
Offline
Joined: 2004-03-17
Points: 0

Thanks. Are you able to reproduce it with the PrintOffScreen test program in j3d-examples/src/OffScreenCanvas3D ?

This may be another symptom of Issue 20: Off-screen rendering doesn't work on Linux.
https://java3d.dev.java.net/issues/show_bug.cgi?id=20

Or it could be a new bug.

-- Kevin

danderer
Offline
Joined: 2004-08-29
Points: 0

> Thanks. Are you able to reproduce it with the
> PrintOffScreen test program in
> j3d-examples/src/OffScreenCanvas3D ?

Yup, completely reproducible with that program as well.

danderer
Offline
Joined: 2004-08-29
Points: 0

By the way, I'd be happy to dig into this and figure out what is going on if someone could nudge me in the right direction.

I've never noodled with X or drivers for X or OpenGL before, and so don't immediately see the most effective direction to head..