Null pointer deref apparently. ctx seems not to be null, so guessing it
to be ctx->screen that holds the undefined pointer.
static void evergreen_set_global_binding(
struct pipe_context *ctx_, unsigned first, unsigned n,
struct pipe_resource **resources,
uint32_t **handles)
{
struct r600_context *ctx = (struct r600_context *)ctx_;
struct compute_memory_pool *pool = ctx->screen->global_pool; /* <--
crashes here */
struct r600_resource_global **buffers =
(struct r600_resource_global **)resources;
A null ptr check would be easy enough to slip in there, but I'm not
certain that would be a proper fix. This probably should be forwarded
upstream.
Looks like this code didn't change in 9.0.1, so presumably this bug
existed previously as well. Had you found that setting up screen
parameters had worked properly in the past, or was this just the first
you've tried?
** Changed in: mesa (Ubuntu)
Importance: Undecided => Medium
** Changed in: mesa (Ubuntu)
Status: New => Triaged
** Summary changed:
- Crash in r600_dri.so while playing Call of Duty 4 with Wine
+ Crash in r600_dri:evergreen_set_global_binding while playing Call of Duty 4
with Wine
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1084842
Title:
Crash in r600_dri:evergreen_set_global_binding while playing Call of
Duty 4 with Wine
Status in “mesa” package in Ubuntu:
Incomplete
Bug description:
I was playing Call of Duty 4 with Wine and tried to change the
graphics options of the game, after restarting the game it crashed.
I'm attachig the backtrace.
Backtrace:
=>0 0x7d1f5c7c evergreen_set_global_binding+0x2c(ctx_=0x7cba2b58,
first=0x7cc0f9a0, n=0, resources=0x7d61d000, handles=0x7d61d000)
[/build/buildd/mesa-9.0.1/build/dri/src/gallium/drivers/r600/evergreen_compute.c:539]
in r600_dri.so (0x7d61d000)
1 0x7d2cbe20 st_renderbuffer_delete+0x7f(rb=0x7cc0f930)
[/build/buildd/mesa-9.0.1/build/dri/src/mesa/../../../../src/gallium/auxiliary/util/u_inlines.h:113]
in r600_dri.so (0x7cc0ed50)
2 0x7d286b6e _mesa_reference_renderbuffer_+0x8d(ptr=0x7cc0ed50, rb=(nil))
[/build/buildd/mesa-9.0.1/build/dri/src/mesa/../../../../src/mesa/main/renderbuffer.c:158]
in r600_dri.so (0x7cc0ed50)
3 0x7d2573c4 _mesa_free_framebuffer_data+0x53(fb=0x7cc0eb68)
[/build/buildd/mesa-9.0.1/build/dri/src/mesa/../../../../src/mesa/main/renderbuffer.h:62]
in r600_dri.so (0x7cc0eb68)
4 0x7d257476 _mesa_destroy_framebuffer+0x25(fb=0x7cc0eb68)
[/build/buildd/mesa-9.0.1/build/dri/src/mesa/../../../../src/mesa/main/framebuffer.c:193]
in r600_dri.so (0x7d28d410)
5 0x7d28d42d delete_framebuffer_cb+0x1c(id=0x1, data=0x7cc0eb68,
userData=0x54d5a5c0)
[/build/buildd/mesa-9.0.1/build/dri/src/mesa/../../../../src/mesa/main/shared.c:264]
in r600_dri.so (0x7d28d410)
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libgl1-mesa-dri 9.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.7.0-4.12-generic 3.7.0-rc7
Uname: Linux 3.7.0-4-generic i686
.tmp.unity.support.test.0:
ApportVersion: 2.6.2-0ubuntu5
Architecture: i386
CompizPlugins:
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Thu Nov 29 21:47:24 2012
DistUpgraded: 2012-06-27 12:51:06,634 DEBUG enabling apt cron job
DistroCodename: raring
DistroVariant: ubuntu
DkmsStatus: virtualbox, 4.1.22, 3.7.0-4-generic, i686: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
Advanced Micro Devices [AMD] nee ATI Madison [Mobility Radeon HD 5000
Series] [1002:68c0] (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device [103c:1594]
InstallationDate: Installed on 2012-06-21 (161 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120419)
MachineType: Hewlett-Packard HP Pavilion dv6 Notebook PC
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.7.0-4-generic
root=UUID=d8f2140b-0c50-4d83-9991-c03e9a2a89a4 ro quiet splash vt.handoff=7
SourcePackage: mesa
UpgradeStatus: Upgraded to raring on 2012-06-27 (155 days ago)
dmi.bios.date: 07/26/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.0F
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1594
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 91.36
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias:
dmi:bvnHewlett-Packard:bvrF.0F:bd07/26/2011:svnHewlett-Packard:pnHPPaviliondv6NotebookPC:pvr058B200000242B10000020100:rvnHewlett-Packard:rn1594:rvr91.36:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion dv6 Notebook PC
dmi.product.version: 058B200000242B10000020100
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.8.4+bzr3412-0ubuntu1
version.libdrm2: libdrm2 2.4.40-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.1-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.1-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.0.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.14-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau
1:1.0.4-0ubuntu1
xserver.bootTime: Thu Nov 29 20:08:02 2012
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs: Output HDMI-0
LVDS VGA-0
xserver.version: 2:1.13.0-0ubuntu8
xserver.video_driver: radeon
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1084842/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp