bugPingus - Bugs: bug #21071, Assertion `cached_action ==...

 
 

bug #21071: Assertion `cached_action == CA_NONE' failed.

Submitter:  None
Submitted:  Thu 13 Sep 2007 05:27:05 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Crash Error Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  0.7.3
Operating System:  Linux Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 01 Mar 2008 02:36:42 PM UTC, comment #6: 

I followed the instructions. It didn't matter whether for not I was in fullscreen mode, as shown below. I then clicked "Story" from the main menu. Then, since I had played the game before, I clicked the "Show Story" button in the upper-left corner of the Tutorial Island screen. I quickly pressed [ESC] multiple times, without even clicking the "next" option.

So, simple reproduction steps:
1. Click "Show story"
2. quickly press [ESC]

I am at svn #3550, which is current at of 2008/03/01

I performed the test with clicking the "next" button in the story mode while in fullscreen mode:

ohnobinki@nbisgentoo64 ~/downloads/pingus $ ./pingus -g 1440x900 -f
Welcome to Pingus 0.7.2!
========================
data path:               /home/ohnobinki/downloads/pingus/data
language:                English (en)
font encoding:           iso-8859-1
sound support:           enabled
music support:           enabled
resolution:              1440x900
fullscreen:               enabled

Manager: Loading driver 'sdl'
Manager: Loading driver 'core'
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
pingus: src/screen/screen_manager.cpp:207: void ScreenManager::replace_screen(Screen*, bool): Assertion `cached_action == CA_NONE' failed.
Aborted (core dumped)
ohnobinki@nbisgentoo64 ~/downloads/pingus $ svn update
At revision 3550.


The result of pressing escape multiple times after clicking "show story" but not clicking "next"

ohnobinki@nbisgentoo64 ~/downloads/pingus $ ./pingus -g 1300x800 -w
Welcome to Pingus 0.7.2!
========================
data path:               /home/ohnobinki/downloads/pingus/data
language:                English (en)
font encoding:           iso-8859-1
sound support:           enabled
music support:           enabled
resolution:              1300x800
fullscreen:              disabled

Manager: Loading driver 'sdl'
Manager: Loading driver 'core'
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
Resource: Couldn't load sprite: ''
pingus: src/screen/screen_manager.cpp:207: void ScreenManager::replace_screen(Screen*, bool): Assertion `cached_action == CA_NONE' failed.
Aborted (core dumped)
ohnobinki@nbisgentoo64 ~/downloads/pingus $ svn update
At revision 3550.


Nathan Phillip Brink <ohnobinki>
Thu 15 Nov 2007 02:43:43 AM UTC, comment #5: 

I can't reproduce this error with the latest code from SVN given your instructions, but I do not think the problem has really been solved yet. If you can find a way to reproduce it with the latest SVN version, I would appreciate seeing the steps to reproducing it.

Michael Ploujnikov <plouj>
Group Member
Thu 15 Nov 2007 01:34:07 AM UTC, comment #4: 

Sorry for not checking back right away. It didn't click the first time, that when you said, "Does this happen when you press the [ESC] key quickly?" that you wanted me to press [ESC] key quickly.

I can reproduce this bug by pressing the [ESC] key quickly. Only in fullscreen. Not reliably. I am using 0.7.1, because that is the latest debian package version.

Here is exactly how I reproduced the bug:

1) Start pingus in fullscreen mode
2) Click Start and then Show story.
3) Click on the arrows in the bottom corner. Quickly. After a few clicks, start pressing the [ESC] key quickly.
4) crash. sometimes.

I also noticed another bug, which I think it directly related to this one. The "Would you like to exit?" dialog requires several clicks on the "No" button to dismiss.

1) Start pingus (windowed or fullscreen)
2) Click Start
3) Press escape key several times, quickly.

Is this a known bug? Can you reproduce it too? If you can't, I could try the latest stable version, or svn, if that would help.

Anonymous
Wed 17 Oct 2007 04:18:32 AM UTC, comment #3: 

Well, can you try reproducing it now?
In any case, we know there's a problem with that part of code.

Michael Ploujnikov <plouj>
Group Member
Tue 16 Oct 2007 06:29:55 PM UTC, comment #2: 

I don't know if I pressed [ESC] or not. It was over a month ago.

Anonymous
Wed 10 Oct 2007 11:32:20 PM UTC, comment #1: 

Does this happen when you press the [ESC] key quickly?

Michael Ploujnikov <plouj>
Group Member
Thu 13 Sep 2007 05:27:05 PM UTC, original submission:  

Here is the full output of my play session:

wk@ALPHA:~/pingus-0.7.0$ ./pingus --fullscreen
Welcome to Pingus 0.7.0 (unofficial build)!
===========================================
data path:               data
language:                English
font encoding:           iso-8859-1
sound support:           enabled
music support:           enabled
resolution:              800x600
fullscreen:               enabled
using OpenGL:            0

pingus: src/gui/screen_manager.cpp:196: void ScreenManager::replace_screen(Screen*, bool): Assertion `cached_action == CA_NONE' failed.
Aborted

Here is what I was doing:

I already beat the tutorial yesterday. I played again today, to beat the remaining two levels at the fork towards the end. I beat them, and then played a few more levels. Then I clicked on the "Full Story" check box to see what it does. I then read the story. And when it switched back to main screen, it instead aborted.

I have so far been unable to reproduce this bug.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by grumbel (Updated the item)
  • -email is unavailable- added by ohnobinki (Posted a comment)
  • -email is unavailable- added by plouj (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-04 grumbel Open/ClosedOpen Closed
    2008-07-04 grumbel StatusConfirmed Fixed
        Release0.7.0 0.7.3
    2007-10-17 plouj StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-0329.
    Corresponding source code