compiz crashed on startup with SIGSEGV in strstr() from GLScreen::GLScreen()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Critical
|
Daniel van Vugt | ||
Compiz Core |
Fix Released
|
High
|
Daniel van Vugt | ||
compiz (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
A frequent crasher.
[Test Case]
Ensure no crashes happen with the same stack trace, but there is no one clear test case.
[Regression Potential]
Low, the commit is a simple NULL check to prevent a crash and show a warning in log instead.
--- original bug report ---
Ubuntu 12.04 beta1
unity 5.4.0-0ubuntu2
compiz 1:0.9.7.
compiz crashes frequently after boot into system.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: compiz-core 1:0.9.7.
ProcVersionSign
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.20 Mon Feb 6 21:07:30 PST 2012
GCC version: gcc version 4.6.2 (Ubuntu/Linaro 4.6.2-16ubuntu1)
.tmp.unity.
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CompizPlugins: [core,bailer,
CompositorRunning: compiz
CurrentDmesg:
[ 44.441706] type=1400 audit(133068057
[ 50.880026] eth2: no IPv6 routers present
Date: Fri Mar 2 17:27:29 2012
DistUpgraded: Log time: 2012-03-02 14:48:08.811970
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
bcmwl, 5.100.82.38+bdcom, 3.2.0-17-generic, x86_64: installed
nvidia-current, 295.20, 3.2.0-17-generic, x86_64: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:
NVIDIA Corporation C79 [GeForce 9400M] [10de:0863] (rev b1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00b9]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
JockeyStatus:
kmod:wl - Broadcom STA wireless driver (Proprietary, Enabled, In use) [auto-install]
xorg:nvidia_
xorg:nvidia_
MachineType: Apple Inc. MacBookPro5,5
ProcCmdline: Compiz
ProcKernelCmdLine: BOOT_IMAGE=
SegvAnalysis:
Segfault happened at: 0x7f56f26a6d74: movzbl (%rdi),%eax
PC (0x7f56f26a6d74) ok
source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: compiz
StacktraceTop:
?? () from /lib/x86_
GLScreen:
PluginClassHan
CompPlugin:
CompManager:
Title: compiz crashed with SIGSEGV in GLScreen:
UpgradeStatus: Upgraded to precise on 2012-03-02 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/15/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP55.88Z.
dmi.board.
dmi.board.name: Mac-F2268AC8
dmi.board.vendor: Apple Inc.
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro5,5
dmi.product.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.7.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
- Sam Spilsbury: Approve
- jenkins (community): Approve (continuous-integration)
-
Diff: 20 lines (+10/-0)1 file modifiedplugins/opengl/src/screen.cpp (+10/-0)
tags: | added: quantal |
tags: | added: running-unity |
summary: |
- compiz crashed with SIGSEGV in strstr() from GLScreen::GLScreen() + compiz crashed on startup with SIGSEGV in strstr() from + GLScreen::GLScreen() |
Changed in compiz: | |
importance: | High → Critical |
Changed in compiz (Ubuntu): | |
importance: | High → Critical |
Changed in compiz-core: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in compiz (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in compiz-core: | |
importance: | Undecided → Critical |
milestone: | none → 0.9.7.10 |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz-core: | |
importance: | Critical → High |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
no longer affects: | compiz/0.9.8 |
Changed in compiz-core: | |
status: | Fix Committed → Fix Released |
StacktraceTop: 0x7f56e6b42dff "GLX_SGIX_ fbconfig" , __haystack=0x0) at /usr/include/ string. h:337 buildd/ compiz- 0.9.7.0~ bzr2995/ plugins/ opengl/ src/screen. cpp:380 buildd/ compiz- 0.9.7.0~ bzr2995/ plugins/ ../src/ pluginclasshand ler/include/ core/pluginclas shandler. h:225 dler<GLScreen, CompScreen, 4>::get (base=0x1f28910) at /build/ buildd/ compiz- 0.9.7.0~ bzr2995/ plugins/ ../src/ pluginclasshand ler/include/ core/pluginclas shandler. h:269 :VTableForScree nAndWindow< GLScreen, GLWindow> ::initScreen (this=<optimized out>, s=<optimized out>) at /build/ buildd/ compiz- 0.9.7.0~ bzr2995/ plugins/ ../include/ core/plugin. h:235
strstr (__needle=
GLScreen::GLScreen (this=0x1fb5060, s=0x1f28910) at /build/
getInstance (base=0x1f28910) at /build/
PluginClassHan
CompPlugin: