VirtualBox

Opened 12 years ago

Closed 11 years ago

#11878 closed defect (wontfix)

Segmentation Fault at VBoxOGLgen/packspu_beginend.c:24

Reported by: Andreas:jh Owned by:
Component: 3D support Version: VirtualBox 4.2.12
Keywords: Cc: a_lampersperger@…
Guest type: Linux Host type: Windows

Description

My multithreaded OpenGL-Application runs fine on Linux Guest / Windows host without 3d acceleration. But when I turn on 3d acceleration my application crashes with a segmentation fault in VBoxOGLgen/packspu_beginend.c:24 (value of ctx is NULL).

Attachments (2)

VBox.log (62.9 KB ) - added by Andreas:jh 12 years ago.
Log-File of vbox
backtrace.log (3.5 KB ) - added by Andreas:jh 12 years ago.
cgdb output with backtrace

Download all attachments as: .zip

Change History (5)

by Andreas:jh, 12 years ago

Attachment: VBox.log added

Log-File of vbox

by Andreas:jh, 12 years ago

Attachment: backtrace.log added

cgdb output with backtrace

comment:1 by misha, 12 years ago

From a backtrace it looks like your app has forgotten to do MakeCurrent, which resulted in a crash. Could you verify that, and if it's not the case, please post hare a [link to] a test application exposing this behavior so that we could reproduce and fix it here?

comment:2 by Andreas:jh, 12 years ago

Yes, you are right, that was the problem: No proper init of the graphic context in my application. Thank you. But I wonder why this applications runs fine on nativ linux (with 3d acceleration) and in vbox without 3d acceleration.

in reply to:  2 comment:3 by misha, 11 years ago

Resolution: wontfix
Status: newclosed

Replying to Andreas:jh:

Yes, you are right, that was the problem: No proper init of the graphic context in my application. Thank you. But I wonder why this applications runs fine on nativ linux (with 3d acceleration) and in vbox without 3d acceleration.

This depends on OpenGL driver impl I would say. I saw such crashes (i.e.in case current context is not set) on native hosts as well, so I would not count it as our bug.
I will close this record.

Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette