Skip to contentSkip to conversation

New: [regression] ETQW crashes with 21972c85ea734dbfcf69629c6b0b940efb42d4ba

Bug 38566 [email protected] 1 participant 4 messages Jun 22, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=38566

Summary: [regression] ETQW crashes with
21972c85ea734dbfcf69629c6b0b940efb42d4ba
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

21972c85ea734dbfcf69629c6b0b940efb42d4ba introduced a regression in the game ETQW:

Failed to allocate :
size : -1220046506 bytes
alignment : 512 bytes
EE r600_texture.c:634 r600_texture_get_transfer - failed to create temporary texture to hold untiled copy

I can provide a backtrace later if necessary.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.2
-- xserver: 1.10.2
-- mesa: 21972c85ea734dbfcf69629c6b0b940efb42d4ba
-- drm: 2.4.25
-- kernel: 2.6.39.1

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 38566] [regression] ETQW crashes with 21972c85ea734dbfcf69629c6b0b940efb42d4ba

https://bugs.freedesktop.org/show_bug.cgi?id=38566

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Michel Dänzer <[email protected]> 2011-06-22 07:33:09 PDT --- Should be fixed with commit eb2c9b5814f7c6a5b37bc9063b1593095ea4f620 ('r600g:
Fix use of uninitialized local variable extra_size.'), thanks for the report.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 38566] [regression] ETQW crashes with 21972c85ea734dbfcf69629c6b0b940efb42d4ba

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=38566

--- Comment #2 from Andre Maasikas <[email protected]> 2011-06-22 08:19:37 PDT --- hmm, from reading the patch I would have assumed that this:
+ extra_size = align(extra_size + (nblocksx * nblocksy * 1), base_align); should have been
+ extra_size = align(size + (nblocksx * nblocksy * 1), base_align);
or smth like this, however i'm not sure about the logic/layout when mipmap levels are involved(can they be in depth textures?)
- then extra_size would include and be added only to last level

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 38566] [regression] ETQW crashes with 21972c85ea734dbfcf69629c6b0b940efb42d4ba

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=38566

--- Comment #3 from Andre Maasikas <[email protected]> 2011-06-22 08:22:54 PDT --- Arrg, please ignore last comment (seems I fail to read code far too often) A.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.