Bug 24066 - On the Rain-Slick Precipice of Darkness, Episode One crashes before first starting screen
Summary: On the Rain-Slick Precipice of Darkness, Episode One crashes before first sta...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 11:53 UTC by Krzysztof A. Sobiecki
Modified: 2013-06-12 06:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Rain-Slick Precipice of Darkness, Episode One full backtrace. (2.11 KB, patch)
2009-09-21 11:53 UTC, Krzysztof A. Sobiecki
Details | Splinter Review
RADEON_DEBUG=all for On the Rain-Slick Precipice of Darkness, Episode One (21.25 KB, patch)
2009-09-21 11:56 UTC, Krzysztof A. Sobiecki
Details | Splinter Review
Patch to stop crashes before first screen(hack). (924 bytes, patch)
2009-09-21 12:05 UTC, Krzysztof A. Sobiecki
Details | Splinter Review
Trace output from bugle (69.48 KB, application/x-lzma)
2009-09-21 17:56 UTC, Krzysztof A. Sobiecki
Details
backtrace from Mesa:bae2d5882781f798001be6f7841c32a1f12046fe with patch for episode one (914 bytes, text/x-log)
2009-09-22 11:03 UTC, Krzysztof A. Sobiecki
Details
Output from RADEON_DEBUG=all for same Mesa episode One. (291.19 KB, application/x-lzma)
2009-09-22 11:25 UTC, Krzysztof A. Sobiecki
Details
Game screenshot. (458.10 KB, image/png)
2009-09-22 12:07 UTC, Krzysztof A. Sobiecki
Details

Description Krzysztof A. Sobiecki 2009-09-21 11:53:03 UTC
Created attachment 29721 [details] [review]
Rain-Slick Precipice of Darkness, Episode One full backtrace.

On the Rain-Slick Precipice of Darkness, Episode One
Demo:
http://www.playgreenhouse.com/php/public/tracking/downloads.php?sku=HOTHG-000001-01&platform=linux
On the Rain-Slick Precipice of Darkness, Episode Two
Demo:
http://www.playgreenhouse.com/php/public/tracking/downloads.php?sku=HOTHG-000001-02&platform=linux

When starting game just before first starting window shows up, game crashes. I have same problem on On the Rain-Slick Precipice of Darkness, Episode Two.

In episode one after applying patch, that I will add as attachment to this  bug, I'm able to start game and go to character creation menu. Model of the character looks strange. I can only see wireframe made of triangles with interiors of them made of nothing(see through) or blackness(not even a clue).
Going further causes crash.

In episode two, after choosing "Play Game" game crashes. 

For now I will ignore crashes happening on patched mesa.
Comment 1 Krzysztof A. Sobiecki 2009-09-21 11:56:16 UTC
Created attachment 29722 [details] [review]
RADEON_DEBUG=all for On the Rain-Slick Precipice of Darkness, Episode One
Comment 2 Krzysztof A. Sobiecki 2009-09-21 12:05:29 UTC
Created attachment 29723 [details] [review]
Patch to stop crashes before first screen(hack).

It's only a small patch to show where bug might be.
Comment 3 Nicolai Hähnle 2009-09-21 16:03:27 UTC
Thank you for the report.

The patch doesn't look that bad, actually. I'd feel more comfortable knowing the exact sequence of OpenGL calls leading to the crash, but I can somewhat guess what it would take to exhibit that behaviour.

Given that, I would indeed be interested in the backtrace you get with that patch applied.
Comment 4 Krzysztof A. Sobiecki 2009-09-21 17:56:38 UTC
Created attachment 29729 [details]
Trace output from bugle

LD_LIBRARY_PATH=./linux_libs/ BUGLE_CHAIN=trace LD_PRELOAD=/usr/lib32/libbugle.so ./RainSlickEp1_bin

This trace is for Mesa without patch.
I will post more info soon.
Comment 5 Krzysztof A. Sobiecki 2009-09-22 11:03:55 UTC
Created attachment 29764 [details]
backtrace from Mesa:bae2d5882781f798001be6f7841c32a1f12046fe with patch for episode one

It not as useful as I hoped.
Episode One, mesa with patch.
Comment 6 Krzysztof A. Sobiecki 2009-09-22 11:25:14 UTC
Created attachment 29766 [details]
Output from RADEON_DEBUG=all for same Mesa episode One.

I have also output from bugle:
http://rapidshare.com/files/283570674/bugle_patched.log.lzma
It's to big to post it here, it might not be so useful after all.
But, if asked, I might post part just before crash.
Episode One.
Comment 7 Krzysztof A. Sobiecki 2009-09-22 11:39:54 UTC
With mesa:bae2d5882781f798001be6f7841c32a1f12046fe
Episode two:
Mesa: User error: GL_OUT_OF_MEMORY in glBufferDataARB(access)
Mesa: User error: GL_OUT_OF_MEMORY in glMapBufferARB(access)

Program received signal SIGSEGV, Segmentation fault.
memcpy () at ../sysdeps/i386/i686/memcpy.S:75
75	../sysdeps/i386/i686/memcpy.S: Nie ma takiego pliku ani katalogu.
	in ../sysdeps/i386/i686/memcpy.S
Current language:  auto; currently asm
(gdb) bt
#0  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#1  0x00000000 in ?? ()
(gdb) bt full
#0  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
No locals.
#1  0x00000000 in ?? ()
It doesn't look useful.
No symbol table info available.
With 2nd episode after creating character I see "in previous episode" introduction before crash.
Comment 8 Nicolai Hähnle 2009-09-22 12:05:45 UTC
I have committed a slightly different fix to the Mesa 7.6 branch for the original crash.

The secondary crash looks like a VBO problem: Maybe the app tries to map a buffer, this fails for some non-obvious reason, and then because the app doesn't check the GL error code, it crashes trying to access a null pointer?

If this crash does persist, could you please open a new bug report for it, since it seems to be a clearly distinct bug, which also requires some other information (e.g. are you running KMS, what's the version of other system components).
Comment 9 Krzysztof A. Sobiecki 2009-09-22 12:07:53 UTC
Created attachment 29768 [details]
Game screenshot.

Skipping "in previous episode"
On the Rain-Slick Precipice of Darkness, Episode Two allows me to start game without crash. It's look strange, so I'm attaching screen shot.
Episode One still crashes.
Everything with patch.
Comment 10 Krzysztof A. Sobiecki 2009-09-22 13:16:03 UTC
I have tested your patch and it worked. game still crashes(while squid thing explode in "last time" movie) but if I skip "last time" it gets into the game. It looks identical like on screenshot I attached before.
I'm filling new bugreport now.
Comment 11 Agra 2013-06-12 06:29:15 UTC
Hello,

I am experiencing the same "wireframe" issue on the steam version. Happens in character creation. Clicking anything lets me know that "display driver" is not responding and craches. Win7x64, ATI 4850x2

Agra


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.