Skip to contentSkip to conversation

New: [r600] KSP 0.20 crashes when entering settings / starting new game.

Bug 64913 [email protected] 1 participant 25 messages May 23, 2013 – Aug 19, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 64913
Assignee: [email protected]
Summary: [r600] KSP 0.20 crashes when entering settings /
starting new game.
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 79702
--> https://bugs.freedesktop.org/attachment.cgi?id=79702&action=edit
Backtrace of crash from gdb

I tested Kerbal Space Program today (after the new 0.20 updated) and it crashes when entering 'Settings' or starting the actual game from the menu.

I've attached a backtrace, and the crash seems to be the same in both cases. Atleast the same function is involved.

I was running mesa from git. Last commit was:
7bfb4bea6562b2e69d0376f15224c3811da42167

Running kernel 3.8.8.

The last version of the game (0.19.1) works without problems.

Signature · 2 lines
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

#1 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

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

Knut Andre Tidemann <[email protected]> changed:

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

            Summary|[r600] KSP 0.20 crashes     |[r600g] KSP 0.20 crashes
                   |when entering settings /    |when entering settings /
                   |starting new game.          |starting new game.
Signature · 2 lines
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 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #1 from Knut Andre Tidemann <[email protected]> --- I can also add that I have a Radeon HD 5670.

Signature · 2 lines
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

#3 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #2 from Patrik Plihal <[email protected]> --- crosslinking
http://forum.kerbalspaceprogram.com/showthread.php/24529-The-Linux-compatibility-thread%21?p=381728&viewfull=1#post381728

Signature · 2 lines
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

#4 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #3 from Krzysztof A. Sobiecki <[email protected]> --- Created attachment 80585
--> https://bugs.freedesktop.org/attachment.cgi?id=80585&action=edit
Way to big patch to "fix" this small problem

I was too lazy to fix all pipe_sampler_view_reference so in the meantime I introduced pipe_sampler_view_reference_old.
It's not a fix.

/**
* Similar to pipe_sampler_view_reference() but always set the pointer to
* NULL and pass in an explicit context. Passing an explicit context is a
* work-around for fixing a dangling context pointer problem when textures
* are shared by multiple contexts. XXX fix this someday.
*/
static INLINE void
pipe_sampler_view_release

It does the same thing and I think It might have a same problem.

Signature · 2 lines
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

#5 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

  Attachment #80585|0                           |1

is obsolete| |

--- Comment #4 from Krzysztof A. Sobiecki <[email protected]> --- Created attachment 80588
--> https://bugs.freedesktop.org/attachment.cgi?id=80588&action=edit
Less broken patch

Signature · 2 lines
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

#6 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #5 from Krzysztof A. Sobiecki <[email protected]> --- Created attachment 80590
--> https://bugs.freedesktop.org/attachment.cgi?id=80590&action=edit
A little shorter one

Not tested yet.

Signature · 2 lines
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

#7 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

  Attachment #80590|A little shorter one        |Nope
        description|                            |
  Attachment #80590|0                           |1
        is obsolete|                            |
Signature · 2 lines
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

#8 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

  Attachment #80588|0                           |1

is patch| |

Signature · 2 lines
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

#9 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

  Attachment #80588|0                           |1

is obsolete| |

--- Comment #6 from Krzysztof A. Sobiecki <[email protected]> --- Created attachment 80709
--> https://bugs.freedesktop.org/attachment.cgi?id=80709&action=edit
Another Patch

Need more testing.

Signature · 2 lines
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

#10 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Alex Deucher <[email protected]> --- *** Bug 65803 has been marked as a duplicate of this bug. ***

Signature · 2 lines
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

#11 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #8 from Corey Richardson <[email protected]> ---
Seems I didn't use the correct keywords when searching for duplicates. Anything I can do to help test? (I have HD6850)

Signature · 2 lines
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

#12 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #9 from Krzysztof A. Sobiecki <[email protected]> --- Compile mesa, make it usable in a system, run piglit, apply the patch, compile mesa,run KSP to check out if it fixes the problem, run piglit again and report regressions.
That should be good enough. I hope.

Signature · 2 lines
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

#13 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #10 from Knut Andre Tidemann <[email protected]> --- I've tested the attached patch, and it fixes the crash in kerbal space program.

I've also run the piglit r600.tests before and after patching, but it seems the results are somewhat mixed. I ran piglit once before patching and a few times afterwards and the results differed each time I ran the tests. One time the test even zombied.

Signature · 2 lines
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

#14 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #11 from Krzysztof A. Sobiecki <[email protected]> --- Does this behavior also occurred before patching?

Signature · 2 lines
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

#15 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #12 from Knut Andre Tidemann <[email protected]> --- Yeah, I ran the piglit tests multiple times again without the patch applied, and the same result can be observed.

Signature · 2 lines
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

#16 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #13 from Krzysztof A. Sobiecki <[email protected]> --- Is someone interested in this patch?

Signature · 2 lines
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

#17 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #14 from Alex Deucher <[email protected]> ---
I'd suggest sending it to the mailing list ([email protected]).

Signature · 2 lines
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

#18 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #15 from Alex Deucher <[email protected]> ---
Please use git to format the patch and include a description of what the patch does and how it fixes the issue.

Signature · 2 lines
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

#19 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #16 from Krzysztof A. Sobiecki <[email protected]> --- I have done that and no one cared.

Signature · 2 lines
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

#20 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #17 from Alex Deucher <[email protected]> --- (In reply to comment #16)

Quoted 1 line

I have done that and no one cared.

Are you sure it went through? I don't don't see the patch in the archives:
http://lists.freedesktop.org/archives/mesa-dev/

Signature · 2 lines
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

#21 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #18 from Krzysztof A. Sobiecki <[email protected]> --- (In reply to comment #17)

Quoted 5 lines

(In reply to comment #16)

Quoted 1 line

I have done that and no one cared.

Are you sure it went through? I don't don't see the patch in the archives:
http://lists.freedesktop.org/archives/mesa-dev/

Here it is...
http://lists.freedesktop.org/archives/mesa-dev/2013-July/041799.html

Signature · 2 lines
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

#22 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

--- Comment #19 from Knut Andre Tidemann <[email protected]> --- This issue seems to have gone away in the later git versions, without the requirement of the attached patch.

Signature · 2 lines
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

#23 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Krzysztof A. Sobiecki <[email protected]> --- Then I will close the bug.
If there is still a problem please reopen it.

Signature · 2 lines
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

#24 lore raw

[Bug 64913] [r600g] KSP 0.20 crashes when entering settings / starting new game.

In reply to [email protected]

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

Krzysztof A. Sobiecki <[email protected]> changed:

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

  Attachment #80709|0                           |1

is obsolete| |

Signature · 2 lines
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