Bug 41503

Summary: Oops with Linux 3.0.0 and radeon driver: shmem_truncate_range
Product: DRI Reporter: Paul Menzel <paulepanter>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: paulepanter
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Photo of monitor displaying Kernel messages like call trace none

Description Paul Menzel 2011-10-06 02:06:39 UTC
Created attachment 52032 [details]
Photo of monitor displaying Kernel messages like call trace

This report is a follow up for my message sent to the mailing list [1].

Unfortunately the Bugzilla instance of Linux [2] is still down due to the security breach in August and therefore I am reporting this issue here in the FreeDesktop Bugzilla [3].

Having a lot of windows open using the Awesome window manager [4] the X server crashed printing the following to the monitor. Please see the attached image for the complete message.

        Pid: 1503, comm: Xorg Tainted: G           C 3.0.0-1-amd64 #1 LENOVO INVALID/Bali
        
        […]
        
        Process Xorg (pid: 1503, threadinfo ffff88010c208000, task ffff88011950d790
        Stack:
        […]
        Call Trace:
        pagevec_move_tail+0x30/0x30
        shmem_evict_inode+0x58/0xea
        evict+0x7b/0x119
        dentry_kill+0x136/0x155
        dput+0xdb/0xea
        fput+0x17b/0x1a2
        remove_vma+0x3d/0x71
        do_munmap+0x2da/0x2f3
        sys_shmdt+0x9a/0x127
        system_call_fastpath+0x16/0x1b
        
        Code: 00 00 00 00 00 48 8b 94 24 a0 00 00 00 48 8d 45 28 48 ff 44 24 10 48 c7 44 24 50 00 00 …
        RIP […] shmem_truncate_range+0x45c/0x6a1
         RSP <ffff88010c209cf8>

Unfortunately for debugging this issue this is the first time it happened and the issue is not reproducible.

Debian Wheezy/testing is running on this system with Linux 3.0.0-3 [5] and the (non-free) firmware for the graphics card.


[1] http://lists.freedesktop.org/archives/dri-devel/2011-October/015011.html
[2] https://bugzilla.kernel.org/l
[3] https://bugs.freedesktop.org/
[4] http://awesome.naquadah.org/
[5] http://packages.debian.org/changelogs/pool/main/l/linux-2.6/linux-2.6_3.0.0-3/changelog#version3.0.0-3
[6] http://packages.debian.org/changelogs/pool/non-free/f/firmware-nonfree/firmware-nonfree_0.33/changelog#version0.33
Comment 1 Michel Dänzer 2011-10-06 03:28:11 UTC
There is no direct evidence that this is related to drm/radeon. The oops happens in the shmdt system call, most likely called by the X server MIT-SHM extension code.

Unless you can also reproduce an oops with the MIT-SHM extension disabled (add -extension MIT-SHM to the X server command line, verify with xdpyinfo|grep SHM), I'm afraid you'll have to report it to the kernel bugzilla or maybe the linux-kernel mailing list for now.
Comment 2 Michel Dänzer 2011-10-06 03:32:20 UTC
(In reply to comment #1)
> [...] report it to the kernel bugzilla or maybe the linux-kernel mailing list
> for now.

Or against the Debian kernel package.
Comment 3 Paul Menzel 2017-08-05 13:02:34 UTC
I can’t remember having seen this, so I close this as invalid.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.