Skip to contentSkip to conversation

New: unable to handle kernel NULL pointer dereference at (null)

Bug 40541 [email protected] 1 participant 3 messages Sep 1, 2011 – Jan 31, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=40541

           Summary: unable to handle kernel NULL pointer dereference at
                           (null)
           Product: xorg
           Version: 7.4
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: [email protected]
        ReportedBy: bugs.freedesktop.org-0dECgsrgJpy+5WzXG67F4EEOCMrvLtNR@public.gmane.org
         QAContact: [email protected]

Created an attachment (id=50801)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50801)
Important parts of my logs.

I am getting the attached Errors since I am using kwin 4.7.0 with OpenGL-ES.

I am not sure if the following is related: When I am changing window sizes several times my memory gets filled up. The memory is not released by restarting kwin or X. When I filled my memory by doing this, I do not have to wait long for the attached Error, but I do not know what triggers it exactly.

Occasionally, I also have thousands of messages of the following form in my logs:

Aug 08 18:06:09 [kernel] [ 3810.714471] [TTM] Failed to find memory space for
buffer 0xffff8800bc392000 eviction.
Aug 08 18:06:09 [kernel] [ 3810.714476] [TTM] No space for ffff8800bc392000 (96
pages, 384K, 0M)
Aug 08 18:06:09 [kernel] [ 3810.714479] [TTM]   placement[0]=0x00070002 (1)
Aug 08 18:06:09 [kernel] [ 3810.714480] [TTM]     has_type: 1
Aug 08 18:06:09 [kernel] [ 3810.714482] [TTM]     use_type: 1
Aug 08 18:06:09 [kernel] [ 3810.714484] [TTM]     flags: 0x0000000A
Aug 08 18:06:09 [kernel] [ 3810.714485] [TTM]     gpu_offset: 0x00000000
Aug 08 18:06:09 [kernel] [ 3810.714487] [TTM]     size: 131072
Aug 08 18:06:09 [kernel] [ 3810.714489] [TTM]     available_caching: 0x00070000
Aug 08 18:06:09 [kernel] [ 3810.714491] [TTM]     default_caching: 0x00010000

This is the reason, why I did not upload full logs (all in all 40MB). Nevertheless, I can upload more logs if you wish so.

As you can see in the logs, I have this problem since several kernel versions.

My graphics card: GeForce 8600 GT

Some version information (only applicable for the last logged crash):

sys-kernel/gentoo-sources-3.0.1
x11-base/xorg-x11-7.4-r1
x11-drivers/xf86-video-nouveau-0.0.16_pre20110801
x11-libs/libdrm-2.4.26
media-libs/mesa-7.11

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-40541-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 40541] unable to handle kernel NULL pointer dereference at (null)

https://bugs.freedesktop.org/show_bug.cgi?id=40541

--- Comment #1 from Marcin Slusarz <[email protected]> 2011-09-01 08:45:16 PDT --- NULL pointer dereference in nv50_vm_map_sg was fixed in 3.1-rc4 (commits 8d3bb23609d4ae22803a15d232289fc09a7b61c4 and
eac2095398668f989a3dd8d00be1b87850d78c01)

I'm not sure about the other errors. It looks like there is a VRAM leak somewhere. Can you test Nouveau Linux tree (*), with kmemleak enabled (if possible)?

(*) http://nouveau.freedesktop.org/wiki/InstallDRM

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 40541] unable to handle kernel NULL pointer dereference at (null)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=40541

bugs.freedesktop.org-0dECgsrgJpy+5WzXG67F4EEOCMrvLtNR@public.gmane.org changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from bugs.freedesktop.org-0dECgsrgJpy+5WzXG67F4EEOCMrvLtNR@public.gmane.org 2012-01-31 11:56:16 PST --- Yes, a kernel update fixed the NULL pointer dereference for me.

I do not experience the memory problem any more since I use kwin 4.8.0.

I still can not explain why killing kwin/X did not release the occupied memory, but since I do not experience problems any more and I can not give more detail, I mark this bug as resolved.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.