[hybrid snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init() because wrong kernel module was loaded

Bug #962892 reported by Mehmet Akif TAŞOVA
272
This bug affects 33 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Canonical X.org
Precise
Won't Fix
Undecided
Unassigned

Bug Description

[Problem]
An assertion is hit in drm_intel_bufmgr_gem_init. We've had about thirty bug reports with this error. X crashes with this stack trace:

 __GI___assert_fail (assertion=0xb6f2df80 "0", file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:103
 drm_intel_bufmgr_gem_init (fd=-1, batch_size=16384) at ../../intel/intel_bufmgr_gem.c:2783
 intel_init_bufmgr (intel=0xb85cfe08) at ../../src/intel_driver.c:409

The assertion appears to be catching a condition where the pci id does not match any known intel chip generation. Yet (in most cases), Xorg.0.log shows the system is indeed running on INTEL.

However, the system has two video cards. Either it's a hybrid (such as in this case), or it has an add-in card.

[Troubleshooting]
1. Run `lspci -vn | grep VGA` and verify that it shows two video cards.

2. Look in your /var/log/Xorg.0.log for mentions of which X driver is being loaded. The lines look like this:

  [ 16.675] (II) RADEON(0): blah blah

3. Run `dmesg | grep drm`. The messages will talk about whatever kernel driver it is loading up.

4. If dmesg mentions anything about "nvidia" or "fglrx", you have the proprietary video driver installed, and probably should uninstall and purge it first.

5. If it is discussing "nouveau" or "radeon", then the kernel is trying to load the wrong driver. Do any one of the following:

   a) For hybrid graphics: In BIOS look for a setting to disable the second video card and use it.

   b) Blacklist nouveau and/or radeon in your /etc/modprobe.d/blacklist.conf

[Original Report]
it crahed when updating gnome

snb-m-gt2 (8086:0116) sandybridge xserver-xorg-video-intel

[ 504.155] (--) PCI:*(0:0:2:0) 8086:0116:1043:15f2 rev 9, Mem @ 0xdd400000/4194304, 0xb0000000/268435456, I/O @ 0x0000e000/64
[ 504.155] (--) PCI: (0:1:0:0) 10de:0df4:1043:15f2 rev 161, Mem @ 0xdc000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288

Thread 1 (Thread 0xb70b8a40 (LWP 19907)):
#0 0xb7522424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb71b61ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <optimized out>
        resultvar = <optimized out>
        pid = -1221419020
        selftid = 19907
#2 0xb71b9835 in __GI_abort () at abort.c:91
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x5a, sa_sigaction = 0x5a}, sa_mask = {__val = {89, 3072261660, 3093087272, 90, 3220387364, 3093087272, 0, 3073182067, 3073548276, 3072004288, 3073552608, 1, 3220387152, 3072348765, 4222451712, 3093087272, 3093087272, 3093087272, 3093087272, 3093087361, 3093087372, 3093087272, 3093087372, 0, 0, 0, 0, 0, 3071995669, 0, 3073182067, 3087007744}}, sa_flags = 0, sa_restorer = 0xb72e4a03 <_libc_intl_domainname>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb71af095 in __assert_fail_base (fmt=0xb72e8858 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0xb6f2df80 "0", file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:94
        str = 0xb85cc428 "p\244\062\267p\244\062\267"
        total = 4096
#4 0xb71af147 in __GI___assert_fail (assertion=0xb6f2df80 "0", file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:103
No locals.
#5 0xb6f21dc5 in drm_intel_bufmgr_gem_init (fd=-1, batch_size=16384) at ../../intel/intel_bufmgr_gem.c:2783
        bufmgr_gem = 0xb85cc098
        aperture = {aper_size = 13284702698319380956, aper_available_size = 13182486328058379784}
        gp = {param = -1201885960, value = 0xb7738ff4}
        ret = <optimized out>
        tmp = -1201865208
        exec2 = false
        __PRETTY_FUNCTION__ = "drm_intel_bufmgr_gem_init"
#6 0xb6f60fbe in intel_init_bufmgr (intel=0xb85cfe08) at ../../src/intel_driver.c:409
        batch_size = <optimized out>
#7 I830PreInit (scrn=0xb85cacf8, flags=0) at ../../src/intel_driver.c:619
        intel = 0xb85cfe08
        defaultWeight = {red = 0, green = 0, blue = 0}
        pEnt = <optimized out>
        flags24 = 22
        zeros = {red = 0, green = 0, blue = 0}
#8 0xb75c1caf in InitOutput (pScreenInfo=0xb774b300, argc=8, argv=0xbff33924) at ../../../../hw/xfree86/common/xf86Init.c:599
        i = <optimized out>
        j = <optimized out>
        k = <optimized out>
        scr_index = <optimized out>
        was_blocked = 0
        modulelist = <optimized out>
        optionlist = 0xb85b9708
        screenpix24 = <optimized out>
        pix24 = <optimized out>
        pix24From = X_DEFAULT
        pix24Fail = 0
        autoconfig = <optimized out>
        configured_device = <optimized out>
#9 0xb756a0e0 in main (argc=8, argv=0xbff33924, envp=0xbff33948) at ../../dix/main.c:204
        i = <optimized out>
        alwaysCheckForInput = {0, 1}

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-core 2:1.11.4-0ubuntu7
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
Uname: Linux 3.2.0-19-generic-pae i686
.tmp.unity.support.test.0:

ApportVersion: 1.95-0ubuntu1
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Fri Mar 23 11:00:29 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MachineType: ASUSTeK Computer Inc. K53SV
ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: xorg-server
Title: Xorg crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 09/26/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K53SV.315
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: K53SV
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
dmi.product.name: K53SV
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Mehmet Akif TAŞOVA (makiftasova) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __assert_fail_base (fmt=0xb72e8858 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0xb6f2df80 "0", file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:94
 __GI___assert_fail (assertion=0xb6f2df80 "0", file=0xb6f2e5ac "../../intel/intel_bufmgr_gem.c", line=2783, function=0xb6f2ebb7 "drm_intel_bufmgr_gem_init") at assert.c:103
 drm_intel_bufmgr_gem_init (fd=-1, batch_size=16384) at ../../intel/intel_bufmgr_gem.c:2783
 intel_init_bufmgr (intel=0xb85cfe08) at ../../src/intel_driver.c:409
 I830PreInit (scrn=0xb85cacf8, flags=0) at ../../src/intel_driver.c:619

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 xorg-server (Ubuntu):
importance: Undecided → Medium
summary: - Xorg crashed with SIGABRT in raise()
+ Xorg crashed with SIGABRT in __assert_fail_base()
tags: removed: need-i386-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base()

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
tags: added: apport-request-retrace
Changed in xorg-server (Ubuntu):
importance: Medium → High
Revision history for this message
Apport retracing service (apport) wrote : Updated stack trace from duplicate bug 964865

Package: xserver-xorg-core 2:1.11.4-0ubuntu7
ProcCmdline: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

Revision history for this message
Apport retracing service (apport) wrote : Dependencies.txt
Revision history for this message
Apport retracing service (apport) wrote : ProcMaps.txt
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: removed: apport-request-retrace
Revision history for this message
Xeletron (xeletron) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base()

As i also reported a bugreport about booting ubuntu without unity-panel and or black screen. In my search to get a workaround for this i found out that a reset of compiz and unity brought back a normal desktop. While an update of gnome or unity panel or ccsm with to much comflicting settings scambled the settings for compiz and unity. To do a unity and compiz reset i did the following: (regards to webupd8 website http://www.webupd8.org/2011/12/unity-3d-launcher-top-panel-doesnt-load.html)..

boot up, press CTRL-ALT-F1 and login.

To reset all the Compiz settings (this includes all the plugins settings, etc.) to the default values, open a terminal (don't run it with ALT + F2! The top panel and launcher will disappear after running the first command but will show up after the second one so use a terminal) and type:

export DISPLAY=:0.0

gconftool-2 --recursive-unset /apps/compiz-1
gconftool-2 --recursive-unset /apps/compizconfig-1
unity --reset

now log out and login again and unity is back.

..I hope this will give some help..

Revision history for this message
M Khayron (coys) wrote :

 i have tried suggestion from mr. ronald and it work. thank you for the information.

tags: added: bugpattern-needed
Revision history for this message
Remco Brenninkmeijer (requist1) wrote :

Happens regularly when I boot, compiz relaunches automatically and this error always goes with an error about an apt crash. Everything seems to be working fine after.
The black screen happened here also regularly but haven't seen that one for a little while now. (fixed by restarting lightdm or unity --reset)

Revision history for this message
Remco Brenninkmeijer (requist1) wrote :

the apt crash I mentioned might be unrelated but seems to always to go together with the one above. A fix for the apt crash has been identified:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/971839

Bryce Harrington (bryce)
summary: - Xorg crashed with SIGABRT in __assert_fail_base()
+ Xorg crashed with SIGABRT in __assert_fail_base() unless clear
+ compiz/unity settings
Changed in xorg-server (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
NEON SAMURAI (n3on-samurai) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

I recently had a bug report get marked as a duplicate to this one. My bug was this

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/982392

im not sure that its the same after reading the info posted in this bug report. I dont have compiz installed or unity.

Not sure what i should do next. Any suggestions?

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 962892] Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings
Download full text (3.7 KiB)

Hi Neon,

If you are running ubuntu 12.04 even if you are running gnome-shell, you
have compiz and unity installed.
To verify go to terminal, type the following two commands and note the
output.
unity --version ( that is unity (space) --(two dashes)version. You should
see the installed versions of unity and compiz.

On Sun, Apr 15, 2012 at 5:14 PM, NEON SAMURAI <email address hidden>wrote:

> I recently had a bug report get marked as a duplicate to this one. My
> bug was this
>
> https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/982392
>
> im not sure that its the same after reading the info posted in this bug
> report. I dont have compiz installed or unity.
>
> Not sure what i should do next. Any suggestions?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (964865).
> https://bugs.launchpad.net/bugs/962892
>
> Title:
> Xorg crashed with SIGABRT in __assert_fail_base() unless clear
> compiz/unity settings
>
> Status in “xorg-server” package in Ubuntu:
> Triaged
>
> Bug description:
> it crahed when updating gnome
>
> ProblemType: Crash
> DistroRelease: Ubuntu 12.04
> Package: xserver-xorg-core 2:1.11.4-0ubuntu7
> ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
> Uname: Linux 3.2.0-19-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.95-0ubuntu1
> Architecture: i386
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Fri Mar 23 11:00:29 2012
> DistUpgraded: Fresh install
> DistroCodename: precise
> DistroVariant: ubuntu
> ExecutablePath: /usr/bin/Xorg
> ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386
> (20120301)
> MachineType: ASUSTeK Computer Inc. K53SV
> ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp
> vt7 -novtswitch
> ProcEnviron:
>
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae
> root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
> Signal: 6
> SourcePackage: xorg-server
> Title: Xorg crashed with SIGABRT in raise()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> dmi.bios.date: 09/26/2011
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: K53SV.315
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: K53SV
> dmi.board.vendor: ASUSTeK Computer Inc.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 9
> dmi.chassis.vendor: ASUSTeK Computer Inc.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
> dmi.product.name: K53SV
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK Computer Inc.
> version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
> version.libdrm2: libdrm2 2.4.32-1ubuntu1
> version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
> version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
> vers...

Read more...

Revision history for this message
NEON SAMURAI (n3on-samurai) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

Thanks,

Im running xubuntu 12.04. No unity or compiz installed. Running xfce.

when i type the command i get

The program 'unity' is currently not installed. You can install it by typing:
sudo apt-get install unity

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 962892] Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings
Download full text (4.0 KiB)

Hi Neon

I see, yes xubuntu is a great distribution. I love it. Unfortunately , if
my memory serves me correctly, there are numerous problems trying to get
gnome and gnome-shell to work properly within xubuntu 12.04 , at this point
in time. I can imagine that the reason you are getting the apport error is
the unmet dependencies which cannot be met within xubuntu. I have not
completely explored this assumption, however. You may try to google serach
for any newer information available on the web, to help you out. Please
also check that your machine meets the requirements to run gnome-shell if
that is what you are trying to accomplish. Good Luck.

On Sun, Apr 15, 2012 at 6:54 PM, NEON SAMURAI <email address hidden>wrote:

> Thanks,
>
> Im running xubuntu 12.04. No unity or compiz installed. Running xfce.
>
> when i type the command i get
>
> The program 'unity' is currently not installed. You can install it by
> typing:
> sudo apt-get install unity
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (964865).
> https://bugs.launchpad.net/bugs/962892
>
> Title:
> Xorg crashed with SIGABRT in __assert_fail_base() unless clear
> compiz/unity settings
>
> Status in “xorg-server” package in Ubuntu:
> Triaged
>
> Bug description:
> it crahed when updating gnome
>
> ProblemType: Crash
> DistroRelease: Ubuntu 12.04
> Package: xserver-xorg-core 2:1.11.4-0ubuntu7
> ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
> Uname: Linux 3.2.0-19-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.95-0ubuntu1
> Architecture: i386
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Fri Mar 23 11:00:29 2012
> DistUpgraded: Fresh install
> DistroCodename: precise
> DistroVariant: ubuntu
> ExecutablePath: /usr/bin/Xorg
> ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386
> (20120301)
> MachineType: ASUSTeK Computer Inc. K53SV
> ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp
> vt7 -novtswitch
> ProcEnviron:
>
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae
> root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
> Signal: 6
> SourcePackage: xorg-server
> Title: Xorg crashed with SIGABRT in raise()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> dmi.bios.date: 09/26/2011
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: K53SV.315
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: K53SV
> dmi.board.vendor: ASUSTeK Computer Inc.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 9
> dmi.chassis.vendor: ASUSTeK Computer Inc.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
> dmi.product.name: K53SV
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK Computer Inc.
> ve...

Read more...

Revision history for this message
NEON SAMURAI (n3on-samurai) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

Thanks J Cord,

Not trying to run anything other than a stock xubuntu with fglrx. Ill google to see what i can find, but as for the gui, im not running or trying to run gnome-shell or unity.

Thanks for the help. Will continue to google

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 962892] Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings
Download full text (3.5 KiB)

Neon,
You are very kind, please excuse an old man, seems I confused you with
someone else. 1000 apologies.

Best Wishes

On Sun, Apr 15, 2012 at 7:38 PM, NEON SAMURAI <email address hidden>wrote:

> Thanks J Cord,
>
> Not trying to run anything other than a stock xubuntu with fglrx. Ill
> google to see what i can find, but as for the gui, im not running or
> trying to run gnome-shell or unity.
>
> Thanks for the help. Will continue to google
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (964865).
> https://bugs.launchpad.net/bugs/962892
>
> Title:
> Xorg crashed with SIGABRT in __assert_fail_base() unless clear
> compiz/unity settings
>
> Status in “xorg-server” package in Ubuntu:
> Triaged
>
> Bug description:
> it crahed when updating gnome
>
> ProblemType: Crash
> DistroRelease: Ubuntu 12.04
> Package: xserver-xorg-core 2:1.11.4-0ubuntu7
> ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
> Uname: Linux 3.2.0-19-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.95-0ubuntu1
> Architecture: i386
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Fri Mar 23 11:00:29 2012
> DistUpgraded: Fresh install
> DistroCodename: precise
> DistroVariant: ubuntu
> ExecutablePath: /usr/bin/Xorg
> ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386
> (20120301)
> MachineType: ASUSTeK Computer Inc. K53SV
> ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp
> vt7 -novtswitch
> ProcEnviron:
>
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae
> root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
> Signal: 6
> SourcePackage: xorg-server
> Title: Xorg crashed with SIGABRT in raise()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> dmi.bios.date: 09/26/2011
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: K53SV.315
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: K53SV
> dmi.board.vendor: ASUSTeK Computer Inc.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 9
> dmi.chassis.vendor: ASUSTeK Computer Inc.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
> dmi.product.name: K53SV
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK Computer Inc.
> version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
> version.libdrm2: libdrm2 2.4.32-1ubuntu1
> version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
> version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
> version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
> version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
> version.xserver-xorg-input-evdev: xserver-xorg-input-evdev
> 1:2.7.0-0ubuntu1
> version.xserver-xorg-video-ati: xserver-xorg-video-ati
> 1:6.14.99~git20111219.aacb...

Read more...

Revision history for this message
NEON SAMURAI (n3on-samurai) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

No worries mate. :)

Thanks

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 962892] Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings
Download full text (3.5 KiB)

Dear Neon

I think this is what you are looking for , after reading Your !, message. (
again, sorry)

https://launchpad.net/ubuntu/+bugs

If you will follow that link, and then.
On the right hand side of your screen click on button and manually report
your bug. Stating that apport is mishandling the bug report. Hope this
helps.

Again, thank you, and Best Wishes ..

On Sun, Apr 15, 2012 at 8:19 PM, NEON SAMURAI <email address hidden>wrote:

> No worries mate. :)
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (964865).
> https://bugs.launchpad.net/bugs/962892
>
> Title:
> Xorg crashed with SIGABRT in __assert_fail_base() unless clear
> compiz/unity settings
>
> Status in “xorg-server” package in Ubuntu:
> Triaged
>
> Bug description:
> it crahed when updating gnome
>
> ProblemType: Crash
> DistroRelease: Ubuntu 12.04
> Package: xserver-xorg-core 2:1.11.4-0ubuntu7
> ProcVersionSignature: Ubuntu 3.2.0-19.30-generic-pae 3.2.11
> Uname: Linux 3.2.0-19-generic-pae i686
> .tmp.unity.support.test.0:
>
> ApportVersion: 1.95-0ubuntu1
> Architecture: i386
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Fri Mar 23 11:00:29 2012
> DistUpgraded: Fresh install
> DistroCodename: precise
> DistroVariant: ubuntu
> ExecutablePath: /usr/bin/Xorg
> ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386
> (20120301)
> MachineType: ASUSTeK Computer Inc. K53SV
> ProcCmdline: /usr/bin/X :1 -auth /var/run/lightdm/root/:1 -nolisten tcp
> vt7 -novtswitch
> ProcEnviron:
>
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae
> root=UUID=96c19ecd-0635-48fe-8ed6-afb014814fdc ro quiet splash vt.handoff=7
> Signal: 6
> SourcePackage: xorg-server
> Title: Xorg crashed with SIGABRT in raise()
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups:
>
> dmi.bios.date: 09/26/2011
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: K53SV.315
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: K53SV
> dmi.board.vendor: ASUSTeK Computer Inc.
> dmi.board.version: 1.0
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 9
> dmi.chassis.vendor: ASUSTeK Computer Inc.
> dmi.chassis.version: 1.0
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvrK53SV.315:bd09/26/2011:svnASUSTeKComputerInc.:pnK53SV:pvr1.0:rvnASUSTeKComputerInc.:rnK53SV:rvr1.0:cvnASUSTeKComputerInc.:ct9:cvr1.0:
> dmi.product.name: K53SV
> dmi.product.version: 1.0
> dmi.sys.vendor: ASUSTeK Computer Inc.
> version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
> version.libdrm2: libdrm2 2.4.32-1ubuntu1
> version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu2
> version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
> version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu2
> version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu7
> version.xserver-xorg-input-evdev: xserver-xorg-input-evdev
> 1:2.7.0-0ubuntu1
> version.xserver-xorg-video-ati: xserver-xorg-video-a...

Read more...

Revision history for this message
NEON SAMURAI (n3on-samurai) wrote : Re: Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

Thanks for that. Done and done :)

Revision history for this message
David Young (dove-young) wrote :

I encounter this problem almost every day. I run Ubunut 12.04 with Gnome Shell on Thinkpad T400. I used an external display in office and have no external display at home. Almost everyday when I wake up my laptop from suspend at home, I got Ubuntu system encounter an internal problem.

I have to say it looks very very very like an Windows 98.

tags: added: quantal
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
description: updated
summary: - Xorg crashed with SIGABRT in __assert_fail_base() unless clear
- compiz/unity settings
+ [snb-m-gt2] Xorg crashed with SIGABRT in __assert_fail_base() unless
+ clear compiz/unity settings
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base() unless clear compiz/unity settings

libdrm intel_bufmgr_gem.c has:

        if (IS_GEN2(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 2;
        else if (IS_GEN3(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 3;
        else if (IS_GEN4(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 4;
        else if (IS_GEN5(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 5;
        else if (IS_GEN6(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 6;
 else if (IS_GEN7(bufmgr_gem->pci_device))
                bufmgr_gem->gen = 7;
 else
                assert(0);

The crash is occurring because it's hitting that final assert. However, the intel graphics video card is a GEN6, and -intel is loaded on the system. However, there is a second (unused?) video card on the system. Presumably the code that retrieves the pci device id is getting the id for the wrong card?

description: updated
summary: - [snb-m-gt2] Xorg crashed with SIGABRT in __assert_fail_base() unless
- clear compiz/unity settings
+ [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base()
+ unless clear compiz/unity settings
Bryce Harrington (bryce)
affects: xorg-server (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

[ 27.738320] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEGR.GFX0 handle
[ 27.738338] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 27.738341] nouveau 0000:01:00.0: power state changed by ACPI to D0
[ 27.738345] nouveau 0000:01:00.0: enabling device (0000 -> 0003)
[ 27.738351] nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 27.738355] nouveau 0000:01:00.0: setting latency timer to 64
[ 27.739509] [drm] nouveau 0000:01:00.0: Detected an NVc0 generation card (0x0c1a00a1)
[ 27.743523] vga_switcheroo: enabled

There's your problem. The kernel is loading the nouveau kernel driver, but X is using intel.

Did you attempt to use vga switcharoo to turn on your nvidia card? If you did, undo that.

Otherwise, you need to blacklist nouveau.

Revision history for this message
Bryce Harrington (bryce) wrote :

I've updated the description with some troubleshooting steps.

Looking at some of the dupes, people are hitting this same assertion but with different system configurations. I would suggest everyone follow the troubleshooting steps first.

If toggling in BIOS does it, then there's not much we can do on the software side, at least for Precise.

However, if blacklisting the incorrect kernel driver solves it and makes Intel graphics stop crashing, that may be of interest to the kernel team. Undupe your bug report and update it with your findings, and we'll go from there.

description: updated
summary: [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base()
- unless clear compiz/unity settings
+ because wrong kernel module was loaded
summary: - [snb-m-gt2 + GF106] Xorg crashed with SIGABRT in __assert_fail_base()
+ [snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init()
because wrong kernel module was loaded
Bryce Harrington (bryce)
summary: - [snb-m-gt2 + GF106] libdrm assert hit in drm_intel_bufmgr_gem_init()
- because wrong kernel module was loaded
+ [hybrid snb-m-gt2 + GF106] libdrm assert hit in
+ drm_intel_bufmgr_gem_init() because wrong kernel module was loaded
Revision history for this message
Bryce Harrington (bryce) wrote :

ickle suggests recent ddx changes have prevented this assertion from getting hit.

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Canonical X.org (canonical-x)
Revision history for this message
Chris Wilson (ickle) wrote :

The problem here wasn't actually in the probe like I first thought, but lack of error checking in that version of UXA.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in xserver-xorg-video-intel (Ubuntu Precise):
status: New → Won't Fix
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.