Alt-tab causes compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.

Bug #684745 reported by Benedikt Pirker
130
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Mesa
Invalid
Medium
Unassigned
mesa (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

there is a strange dashed line in the upper panel

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: compiz-core 1:0.9.2.1+glibmainloop2-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
AssertionMessage: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.
CompizPlugins: No value set for `/apps/compiz/general/allscreens/options/active_plugins'
Date: Fri Dec 3 14:15:25 2010
ExecutablePath: /usr/bin/compiz
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
MachineType: Hewlett-Packard HP Pavilion dv7 Notebook PC
PciDisplay: 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M96 [Mobility Radeon HD 4650] [1002:9480] (prog-if 00 [VGA controller])
ProcCmdline: /usr/bin/compiz
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/hostname.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz
RelatedPackageVersions:
 xserver-xorg 1:7.5+6ubuntu3b1
 libgl1-mesa-glx 7.9+repack-1ubuntu2
 libdrm2 2.4.22-2ubuntu1
 xserver-xorg-video-intel 2:2.13.901-2ubuntu1
 xserver-xorg-video-ati 1:6.13.2-1ubuntu2
Signal: 6
SourcePackage: compiz
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/libc.so.6
 abort () from /lib/libc.so.6
 __assert_fail () from /lib/libc.so.6
 ?? () from /usr/lib/dri/libdricore.so
Title: compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 02/24/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.03
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3064
dmi.board.vendor: Quanta
dmi.board.version: 19.0B
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.03:bd02/24/2009:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvrRev1:rvnQuanta:rn3064:rvr19.0B:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system: distro = Ubuntu, architecture = i686, kernel = 2.6.37-7-generic

Revision history for this message
Benedikt Pirker (boynebe) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __kernel_vsyscall ()
 *__GI___open_catalog (
 __mpn_impn_sqr_n (prodp=0x0, up=0x69feb6, size=170338272,
 _nl_load_locale_from_archive (
 bytes_per_pixel (datatype=0, comps=1) at main/mipmap.c:49

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in compiz (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Martin Pool (mbp) wrote : Re: compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.

compiz has repeatedly crashed for me with this message in natty. I didn't see this problem in maverick.

Revision history for this message
Paul Sladen (sladen) wrote :

Martin: I was getting about four crashes per day on Alt-Tab until I upgraded the RAM from 1GB to 3GB, I suspect it's partly starvation/paging related.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 684745] Re: compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.

On 5 January 2011 14:37, Paul Sladen <email address hidden> wrote:
> Martin: I was getting about four crashes per day on Alt-Tab until I
> upgraded the RAM from 1GB to 3GB, I suspect it's partly
> starvation/paging related.

That's interesting data. But the machine I was testing on has 8GB RAM
and if that's not enough...

--
Martin

Paul Sladen (sladen)
summary: - compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel:
- Assertion `b >= 0' failed.
+ Alt-tab causes compiz assert failure: compiz: main/mipmap.c:43:
+ bytes_per_pixel: Assertion `b >= 0' failed.
Revision history for this message
Paul Sladen (sladen) wrote :

Martin: maybe it's too much RAM, try taking some out ;-)

Revision history for this message
sam tygier (samtygier) wrote :

i have had this twice in a natty livecd session. i have 5GB of RAM

ubuntu@ubuntu:~$ free -m
             total used free shared buffers cached
Mem: 4973 3077 1895 0 215 1618
-/+ buffers/cache: 1243 3729
Swap: 6997 0 6997

Revision history for this message
Gary M (garym) wrote :

All duplicates so far are on various models of an ATI Radeon graphics controller.

tags: added: hw-specific
Revision history for this message
Chris Halse Rogers (raof) wrote :

I believe that this particular bug is fixed in mesa 7.10, which is in the xorg-edgers PPA. Unfortunately, it exposes a new bug in the radeon mesa driver (FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=32246 ) which is as-yet unfixed.

Changed in compiz (Ubuntu):
status: New → Incomplete
tags: added: compiz-0.9
Revision history for this message
Chris (ccouzens) wrote :

compiz still crashes with alt-tab even with mesa 7.10

$ glxinfo | grep version | grep Mesa
OpenGL version string: 2.1 Mesa 7.10

from dmesg:
[ 67.995123] show_signal_msg: 6 callbacks suppressed
[ 67.995132] compiz[1492]: segfault at 0 ip 00007f1540ed60ab sp 00007fffec9bcec0 error 4 in libdricore.so[7f1540e56000+20e000]
[ 170.500168] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[ 269.775337] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[ 275.324838] radeon 0000:01:05.0: r600_cs_track_check:361 mask 0x0000000F | 0x0000000F no cb for 0
[ 275.324846] radeon 0000:01:05.0: r600_packet3_check:1330 invalid cmd stream 502
[ 275.324851] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Revision history for this message
Shiba (shiba89) wrote :

Here compiz/unity crashes by pressing just Alt, now and then.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 684745] Re: Alt-tab causes compiz assert failure: compiz: main/mipmap.c:43: bytes_per_pixel: Assertion `b >= 0' failed.

Please report a new bug for that.
On 27/03/2011 8:56 PM, "Fabrizio Narni" <email address hidden> wrote:
> Here compiz/unity crashes by pressing just Alt, now and then.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/684745
>
> Title:
> Alt-tab causes compiz assert failure: compiz: main/mipmap.c:43:
> bytes_per_pixel: Assertion `b >= 0' failed.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/684745/+subscribe

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 684745 and any other logs that are relevant for this particular issue.

I did attempt to reproduce this issue in an up-to-date Ubuntu 11.04, and was not able to. Compiz is now version 0.9.4.

Revision history for this message
Martin Pool (mbp) wrote :

I haven't seen this recently either.

Revision history for this message
Elazar Leibovich (elazarl) wrote :

Happens to me as well from time to time.

How can I send useful log?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
affects: compiz (Ubuntu) → mesa
Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
Elazar Leibovich (elazarl) wrote :

Happens to me as well

OpenGL version string: 2.1 Mesa 7.11

Any workaround?

Anything I can post to help?

Bryce Harrington (bryce)
Changed in mesa (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Oibaf (oibaf) wrote :

Is this still an issue with 14.04?

Changed in mesa (Ubuntu):
status: Triaged → Incomplete
Oibaf (oibaf)
Changed in mesa:
status: Incomplete → Invalid
Changed in mesa (Ubuntu):
status: Incomplete → Invalid
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.