SampleBrowser crashes (seg. faults) when using fglrx driver (for FireGL V5700)

Bug #1044344 reported by Srećko Jurić-Kavelj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ogre (Ubuntu)
New
Undecided
Unassigned

Bug Description

SampleBrowser runs fine when I use open source radeon driver.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libogre-1.7.4 1.7.4-3
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Fri Aug 31 14:04:47 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ogre
UpgradeStatus: Upgraded to precise on 2012-08-24 (7 days ago)

Revision history for this message
Srećko Jurić-Kavelj (jksrecko) wrote :
Revision history for this message
Srećko Jurić-Kavelj (jksrecko) wrote :

Interestingly, SampleBrowser runs fine when started from gdb (even with the fglrx driver), and using valgrind produces the following output:

==4201== Process terminating with default action of signal 11 (SIGSEGV)
==4201== Bad permissions for mapped region at address 0xCB559D8
==4201== at 0xCE6221C: ??? (in /usr/lib/fglrx/libGL.so.1.2)
==4201== by 0x115CD01F: ???
==4201== by 0xC89A4B5: ??? (in /usr/lib/x86_64-linux-gnu/OGRE-1.7.4/RenderSystem_GL.so)
==4201== by 0x4070377: ???
==4201== by 0xCFD004F: ??? (in /usr/lib/fglrx/libGL.so.1.2)
==4201== by 0x7FEFFF46F: ???
==4201== by 0xCFDDBDA: ??? (in /usr/lib/fglrx/libGL.so.1.2)
==4201==
==4201== HEAP SUMMARY:
==4201== in use at exit: 5,606,587 bytes in 6,147 blocks
==4201== total heap usage: 56,883 allocs, 50,736 frees, 61,689,944 bytes allocated
==4201==
==4201== LEAK SUMMARY:
==4201== definitely lost: 708 bytes in 80 blocks
==4201== indirectly lost: 240 bytes in 10 blocks
==4201== possibly lost: 873,566 bytes in 1,818 blocks
==4201== still reachable: 4,732,073 bytes in 4,239 blocks
==4201== suppressed: 0 bytes in 0 blocks
==4201== Rerun with --leak-check=full to see details of leaked memory

Revision history for this message
Srećko Jurić-Kavelj (jksrecko) wrote :

Furthermore, if I download the source package (apt-get source ogre) and build Ogre from the resulting source tree using CMake (mkdir build && cd build && cmake path_to_ogre_source) SampleBrowser works as expected, so the bug is obviously introduced with packaging. Packager additional FLAGS, hardening, ...?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.