Opened 8 years ago
Closed 8 years ago
#16200 closed defect (invalid)
Ubuntu 14.04.1 LTS rviz OpenGL segfault -> guest application problem
Reported by: | fandji | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox 5.1.8 |
Keywords: | OpenGL Segfault Ubuntu Rviz Ros | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
Hello
Package: ros-indigo-rviz First running roscore, then run rviz. Result:
$rviz [ INFO] [1479456243.876189590]: rviz version 1.11.15 [ INFO] [1479456243.876276446]: compiled against Qt version 4.8.6 [ INFO] [1479456243.876298641]: compiled against OGRE version 1.8.1 (Byatis) [ INFO] [1479456244.246978732]: Stereo is NOT SUPPORTED [ INFO] [1479456244.247668068]: OpenGl version: 2.1 (GLSL 1.2). Segmentation fault (core dumped)
Attachments (9)
Change History (13)
by , 8 years ago
by , 8 years ago
Attachment: | glxinfo.txt added |
---|
by , 8 years ago
Attachment: | modinfovboxguest.txt added |
---|
by , 8 years ago
Attachment: | modinfovboxsf.txt added |
---|
by , 8 years ago
Attachment: | modinfovboxvideo.txt added |
---|
by , 8 years ago
Attachment: | rosindigorvizversion.txt added |
---|
by , 8 years ago
Attachment: | rvizout.txt added |
---|
by , 8 years ago
Attachment: | uname_a.txt added |
---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Thank you for the report. Unfortunately, 3D pass-through in Linux guests is currently mainly user-supported<1>. We might or might not find time to look at this (though we probably should not, based on available developers and current work load); however if you can identify the problem yourself chances are higher that it will get fixed. The easiest way would probably start with building the Additions yourself<2>, if possible in the affected guest, for ease of debugging. I would not try to build the installer; instead I would just replace the libraries you need to debug with the versions you built yourself to get debugging information (there is a small chance that would go wrong, but I think it really is small).
<1> https://www.virtualbox.org/wiki/X11Guest3D
<2> https://www.virtualbox.org/wiki/Linux%20build%20instructions
comment:3 by , 8 years ago
I got the debug build of the additions working: https://forums.virtualbox.org/viewtopic.php?f=10&t=80202
svn info Path: . Working Copy Root Path: /home/k0/virtualboxdebug/vbox URL: http://www.virtualbox.org/svn/vbox/trunk Relative URL: ^/trunk Repository Root: http://www.virtualbox.org/svn/vbox Repository UUID: cfe28804-0f27-0410-a406-dd0f0b0b656f Revision: 64628 Node Kind: directory Schedule: normal Last Changed Author: vboxsync Last Changed Rev: 64628 Last Changed Date: 2016-11-10 12:30:13 +0100 (Don, 10 Nov 2016)
As I see, it is not a fault of the additions:
Program received signal SIGSEGV, Segmentation fault. 0x00007fffc06e8d2f in crPackColor4ubv (v=0xc <error: Cannot access memory at address 0xc>) at /home/k0/virtualboxdebug/vbox/out/linux.amd64/debug/obj/VBoxOGLgen/packer.c:1911 1911 WRITE_DATA(0, GLubyte, v[0]);
as v is supplied by ogre (you even check for a NULL Pointer). So I assume that ogre or what's the stack up is at fault? The backtrace is as gdb_addtions_debug.txt attached. If this assumption is correct and segfault is in this case the expected behaviour, then please close this bug ticket.
by , 8 years ago
Attachment: | gdb_additions_debug.txt added |
---|
comment:4 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Summary: | Ubuntu 14.04.1 LTS rviz OpenGL segfault → Ubuntu 14.04.1 LTS rviz OpenGL segfault -> guest application problem |
Thank you for the testing and feedback!
Segfault: