From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 16193] NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50
Date: Mon, 12 Aug 2013 01:51:44 +0000 [thread overview]
Message-ID: <bug-16193-2300-KNux9KYr9i@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-16193-2300@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=16193
Scott Wood <scott@buserror.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scott@buserror.net
--- Comment #3 from Scott Wood <scott@buserror.net> ---
I saw this (or something very similar) on Ubuntu's 3.8.0-27 kernel (but I hope
this is useful information anyway -- I doubt it's an Ubuntu issue, and this
code doesn't appear to have changed since 3.8), when using alt-enter to toggle
fullscreen in dosbox (which worked many times in the past, so it's not easily
reproduceable).
The NULL pointer is in rdev->gem.objects. I notice that elsewhere,
rdev->gem.mutex is held when the list is modified, but it does not appear to be
held when traversed in radeon_unmap_vram_bos(). Will ttm_bo_unmap_virtual()
ever acquire gem.mutex itself (i.e. can bo->destroy() be called)? It wasn't
immediately obvious that it would from reading the code, but if
ttm_bo_unmap_virtual() can't cause list entry deletion then why use
list_for_each_entry_safe()? Is there something else that ensures that the list
won't be modified concurrently with radeon_unmap_vram_bos()?
--
You are receiving this mail because:
You are watching the assignee of the bug.
prev parent reply other threads:[~2013-08-12 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-13 12:39 [Bug 16193] New: NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50 bugzilla-daemon
2010-06-13 12:40 ` [Bug 16193] " bugzilla-daemon
2012-11-05 14:16 ` bugzilla-daemon
2012-11-05 14:16 ` bugzilla-daemon
2013-08-12 1:51 ` bugzilla-daemon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-16193-2300-KNux9KYr9i@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox