From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 43617] New: [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults
Date: Thu, 08 Dec 2011 07:47:53 +0000 [thread overview]
Message-ID: <bug-43617-502@http.bugs.freedesktop.org/> (raw)
https://bugs.freedesktop.org/show_bug.cgi?id=43617
Bug #: 43617
Summary: [bisected i965]oglc api-error(negative.glGetPixelMap)
segfaults
Classification: Unclassified
Product: DRI
Version: unspecified
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: high
Component: libdrm
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: xunx.fang@intel.com
CC: chris@chris-wilson.co.uk
System Environment:
--------------------------
Arch: i386
Platform: huronriver
Libdrm: (master)2.4.28-4-gdd9a5b4f7fb07c78db4e7481bedca1b981030e3f
Mesa: (7.11)7a18f005ed311b4d57ad863a08392160aa0d7c83
Xserver: (server-1.11-branch)xorg-server-1.11.1
Xf86_video_intel: (master)2.17.0-52-g101942d41df7efaa6103e31e738775fafdb63159
Kernel: (drm-intel-fixes)5be93ad2ebb975df8ba01f6c76b541ff4e9929f4
Bug detailed description:
-------------------------
It segfaults on ironlake and sandybridge.
Bisect shows c549a777c1b6227a724942c64aa5cd181eb93c6c is the first bad commit.
commit c549a777c1b6227a724942c64aa5cd181eb93c6c
Author: Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Mon Dec 5 10:14:34 2011 +0000
Commit: Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Mon Dec 5 10:25:53 2011 +0000
intel: Unmap buffers during drm_intel_gem_bo_unmap
We cannot afford to cache the vma per open bo as this may exhaust the
per-process limits.
References: https://bugs.freedesktop.org/show_bug.cgi?id=43075
References: https://bugs.freedesktop.org/show_bug.cgi?id=40066
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(gdb) bt
#0 0x00000037f7034085 in raise () from /lib64/libc.so.6
#1 0x00000037f7035a36 in abort () from /lib64/libc.so.6
#2 0x00000037f702c8c5 in __assert_fail () from /lib64/libc.so.6
#3 0x00007ffff69cc480 in drm_intel_gem_bo_map_gtt (bo=0x2631c00) at
intel_bufmgr_gem.c:1168
#4 0x00007ffff6c3413d in intel_bufferobj_map (ctx=0x7ffff7fda010,
target=<value optimized out>, access=35001, obj=0x2631b40) at
intel_buffer_objects.c:344
#5 0x00007ffff6cfada1 in _mesa_map_pbo_dest (ctx=<value optimized out>,
pack=<value optimized out>, dest=0x0) at main/pbo.c:240
#6 0x00007ffff6cfc5c6 in _mesa_GetnPixelMapfvARB (map=3190,
bufSize=2147483647, values=0x0) at main/pixel.c:360
#7 0x00000000009a5bac in conform::ApiError::Test_NegativeglGetPixelMap() ()
#8 0x000000000098ce5e in
conform::ApiError::RunSubcase(conform::ApiError::SubcaseInfo const*) ()
#9 0x000000000098cfa6 in ApiErrorTestExec(testParameters*) ()
#10 0x0000000001090a29 in callFunctionHandleExceptionsInner(long
(*)(testParameters*), testParameters*, char*) ()
#11 0x0000000001090b5f in callFunctionHandleExceptions(long
(*)(testParameters*), testParameters*) ()
#12 0x000000000108f691 in DriverExec(long (*)(testParameters*),
testParameters*) ()
#13 0x0000000001075367 in Driver(std::vector<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > const&, std::vector<driverRec*,
std::allocator<driverRec*> > const&,
std::vector<boost::shared_ptr<PrePostTestAction>,
std::allocator<boost::shared_ptr<PrePostTestAction> > > const&,
std::vector<boost::shared_ptr<PrePostTestcaseAction>,
std::allocator<boost::shared_ptr<PrePostTestcaseAction> > > const&) ()
#14 0x0000000001075718 in (anonymous namespace)::MyMessagePump::idle() ()
#15 0x0000000001045220 in MessagePump::process_messages() ()
#16 0x000000000107623c in ExecutionManager::execute_schedules() ()
#17 0x0000000001000030 in
tkShellExecute(std::vector<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > const&,
std::vector<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > > const&) ()
#18 0x0000000001008c1b in main ()
Reproduce steps:
----------------
1. start X
2. ./oglconform -z -s -suite all -v 2 -D 122 -test api-error
negative.glGetPixelMap
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next reply other threads:[~2011-12-08 7:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 7:47 bugzilla-daemon [this message]
2011-12-08 10:20 ` [Bug 43617] [bisected i965]oglc api-error(negative.glGetPixelMap) segfaults bugzilla-daemon
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-43617-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.