[Bug 673595] New: Xorg crash in allocate_or_reuse_buffer
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c0 Summary: Xorg crash in allocate_or_reuse_buffer Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Critical Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: auxsvr@yahoo.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created an attachment (id=415152) --> (http://bugzilla.novell.com/attachment.cgi?id=415152) /var/log/Xorg.0.log.old User-Agent: Mozilla/5.0 (compatible; Konqueror/4.6) KHTML/4.6.0 (like Gecko) SUSE Xorg always crashes when I open the mimetype menu in Firefox using the kparts-plugin to open a PDF file. This looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=34363 . Reproducible: Always I'm using the latest Xorg, Mesa and kernel-desktop from factory: rpm --changelog -q libdrm | head -n3 * Wed Jan 05 2011 sndirsch@novell.com - intel-Export-CONSTANT_BUFFER-addressing-mode.patch * intel: Export CONSTANT_BUFFER addressing mode rpm --changelog -q Mesa | head -n3 * Sat Jan 08 2011 sndirsch@novell.com - update to 7.10 final rpm --changelog -q xorg-x11-server | head -n3 * Fri Feb 11 2011 mhopf@novell.com - Update xorg-server-xf4vnc-fixes_1_9.diff: Fix Xvnc rendering issues. rpm --changelog -q xorg-x11-driver-input | head -n3 * Mon Feb 14 2011 sndirsch@novell.com - 11-mouse.conf * enabled "Emulate3Buttons" on two button mice touchpads detected rpm --changelog -q xorg-x11-driver-video | head -n3 * Mon Feb 14 2011 sndirsch@novell.com - removed TV-in support for All in Wonder 128 again (bnc #671623) # hwinfo --gfx 20: PCI(AGP) 100.0: 0300 VGA compatible controller (VGA) [Created at pci.318] Unique ID: VCu0.OHkcGyp_nq8 Parent ID: vSkL.Zfhw7fZE2z3 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 SysFS BusID: 0000:01:00.0 Hardware Class: graphics card Model: "ATI RV350 AS" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x4153 "RV350 AS" SubVendor: pci 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x0090 Driver: "radeon" Driver Modules: "drm" Memory Range: 0xe8000000-0xefffffff (ro,non-prefetchable) I/O Ports: 0xd800-0xd8ff (rw) Memory Range: 0xd7000000-0xd700ffff (rw,non-prefetchable) Memory Range: 0xe7fe0000-0xe7ffffff (ro,non-prefetchable,disabled) IRQ: 16 (935479 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v00001002d00004153sv00001043sd00000090bc03sc00i00" Driver Info #0: XFree86 v4 Server Module: radeon Driver Info #1: XFree86 v4 Server Module: radeon 3D Support: yes Extensions: dri Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #10 (PCI bridge) 21: PCI 100.1: 0380 Display controller [Created at pci.318] Unique ID: NXNs.PByu9E6wGWC Parent ID: vSkL.Zfhw7fZE2z3 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1 SysFS BusID: 0000:01:00.1 Hardware Class: graphics card Model: "ATI RV350 AS [Radeon 9550] (Secondary)" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x4173 "RV350 AS [Radeon 9550] (Secondary)" SubVendor: pci 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x0091 Memory Range: 0xd8000000-0xdfffffff (ro,non-prefetchable,disabled) Memory Range: 0xd6800000-0xd680ffff (rw,non-prefetchable,disabled) Module Alias: "pci:v00001002d00004173sv00001043sd00000091bc03sc80i00" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #10 (PCI bridge) Primary display adapter: #20 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c1 --- Comment #1 from John McManaman <auxsvr@yahoo.com> 2011-02-19 19:29:56 UTC --- Created an attachment (id=415153) --> (http://bugzilla.novell.com/attachment.cgi?id=415153) /etc/X11/xorg.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |sndirsch@novell.com |ovo.novell.com | Summary|Xorg crash in |radeon [9600] Xorg crashes |allocate_or_reuse_buffer |in allocate_or_reuse_buffer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=34363 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2011-03-17 17:02:40 UTC --- Fixed in obs://X11:XOrg/xorg-x11-server and submitrequested for openSUSE:Factory (SR #64441). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c3 --- Comment #3 from John McManaman <auxsvr@yahoo.com> 2011-03-18 15:44:19 UTC --- Created an attachment (id=420237) --> (http://bugzilla.novell.com/attachment.cgi?id=420237) Backtrace after update Still crashes. rpm -q --changelog xorg-x11-server | head * Thu Mar 17 2011 sndirsch@novell.com - Replace-malloc-with-calloc-to-initialize-the-buffers.patch * Replace malloc with calloc to initialize the buffers[] as NULL in do_get_buffers function (bnc #673595) * Thu Mar 17 2011 sndirsch@novell.com - record-avoid-crash-when-calling-RecordFlushReplyBuff.patch * record: avoid crash when calling RecordFlushReplyBuffer recursively (bnc #673575 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2011-03-18 16:28:01 UTC --- So the upstream bugreport has been unrelated - apparently. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c5 --- Comment #5 from John McManaman <auxsvr@yahoo.com> 2011-03-18 18:10:38 UTC --- Yes, for some reason I never read after allocate_or_reuse_buffer. I apologize for wasting your time and hope to make up for this with the following: The same crash can be triggered by viewing a large tooltip, as described in bnc #635507. In fact, the same OO.org document causes the crash described here. See also https://bugs.freedesktop.org/show_bug.cgi?id=30047 for a patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c6 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |auxsvr@yahoo.com --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> 2011-09-01 14:20:05 UTC --- Unfortunately we do not have the ressources to address that issue still for openSUSE 11.4. Could you please test again with a current Milestone of openSUSE 12.1, whether the issue still exists and give me feedback about the result? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c7 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|auxsvr@yahoo.com | --- Comment #7 from John McManaman <auxsvr@yahoo.com> 2011-09-01 16:52:53 UTC --- I cannot trigger the crash in any way after updating to current factory xorg, so this looks fixed to me. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c8 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Stefan Dirsch <sndirsch@suse.com> 2011-09-01 20:30:17 UTC --- Ok. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c9 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #9 from John McManaman <auxsvr@yahoo.com> 2011-09-08 11:44:31 UTC --- Well, I just discovered why I couldn't trigger it before: the crash occurs with kwin opengl compositing enabled. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c10 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> 2011-09-08 12:54:47 UTC --- ok. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |X.Org Product|openSUSE 11.4 |openSUSE 12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@suse.com |xorg-maintainer-bugs@forge. | |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c11 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|https://bugs.freedesktop.or | |g/show_bug.cgi?id=34363 | --- Comment #11 from John McManaman <auxsvr@yahoo.com> 2011-10-25 16:27:02 UTC --- The patch in https://bugs.freedesktop.org/attachment.cgi?id=52683 fixes this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=30047 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c12 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |auxsvr@yahoo.com --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> 2011-10-25 18:41:02 UTC --- Thanks. Which bugreport is this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c13 John McManaman <auxsvr@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|auxsvr@yahoo.com | --- Comment #13 from John McManaman <auxsvr@yahoo.com> 2011-10-26 18:02:30 UTC --- It is https://bugs.freedesktop.org/show_bug.cgi?id=30047 . Will this be included in oS 12.1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c14 --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> 2011-10-27 12:35:20 UTC --- Thanks. Found it. commit 6e0e1a821accc6ca95f4134e49b66a6b168c1934 Author: Michel Dänzer <michel.daenzer@amd.com> Date: Tue Oct 25 17:39:57 2011 +0200 Make radeon_dri2_create_buffer(s) more robust. (Bug #30047) In particular, handle and propagate failure to allocate GPU accessible memory, instead of crashing. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=30047 . Also take care not to leak resources in error paths. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> 2011-10-27 12:39:53 UTC --- Since this is an upstream patch I'm going to accept a submitrequest, which applies this fix. :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c16 --- Comment #16 from John McManaman <auxsvr@yahoo.com> 2011-11-02 17:18:36 UTC --- Now that xf86-video-ati 6.14.3 is released with the patch, should I package and submit it for 12.1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=673595 https://bugzilla.novell.com/show_bug.cgi?id=673595#c17 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> 2011-11-03 17:19:30 UTC --- Just updated to xf86-video-ati 6.14.3 in X11:XOrg and SR'ed for openSUSE:Factory. This bug is considered fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com