Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted execution on dead state #141

Open
imontesino opened this issue Oct 19, 2018 · 1 comment
Open

Aborted execution on dead state #141

imontesino opened this issue Oct 19, 2018 · 1 comment
Labels

Comments

@imontesino
Copy link
Collaborator

imontesino commented Oct 19, 2018

Description:

Running game and two robots. On rd2 rremotely and a virtual with pc webcam (robotDevastation --fakeRobotManager --yarpLocalImageManager) and id 2. Error occurs when player2 (id 2) runs out of health.

Insert player id [0]?>2
Insert name [player0]?>player2
Insert team [0]?>2
Insert robotName [rd1]?>pc-ignacio
[debug] YarpStateDirector.cpp:38 Stop(): Stopping StateDirector for id GameState
[debug] YarpStateDirector.cpp:24 Start(): Starting StateDirector for id DeadState
free(): invalid pointer
Aborted (core dumped)

On a second attempt to reproduce the error the line [debug] YarpStateDirector.cpp:24 Start(): Starting StateDirector for id DeadState did not appear. Yet the rest of error was identical.

@PeterBowman
Copy link
Member

Can't reproduce this error, but:

[debug] YarpStateDirector.cpp:38 Stop(): Stopping StateDirector for id GameState
[debug] YarpStateDirector.cpp:24 Start(): Starting StateDirector for id DeadState
[error] DeadScreen.cpp:140 update(): Invalid image[error] SDLAudioManager.cpp:79 play(): Sound "RD_DEAD" not found (maybe it was not loaded?)

Upon exit:

[debug] DeadState.cpp:164 onKeyUp(): Escape was pressed!
[debug] YarpStateDirector.cpp:38 Stop(): Stopping StateDirector for id DeadState
[debug] MockImageManager.cpp:24 stop(): 
[info] YarpNetworkManager.cpp:280 keepAlive(): Keep alive...
[info] RobotDevastation.cpp:331 interruptModule(): Closing program...
yarp: Removing output from /robotDevastation/1/rdServer/rpc:c to /rdServer/rpc:s
[info] YarpNetworkManager.cpp:254 logout(): Logout...
[info] YarpNetworkManager.cpp:259 logout(): rdServer response from logout: 
[error] YarpNetworkManager.cpp:264 logout(): Logout failed
yarp: Removing input from /rdServer/info:o to /robotDevastation/1/rdServer/info:i
[FATAL]Assertion failure at /home/bartek/git/yarp/src/libYARP_OS/src/PortCore.cpp:471 (finished==true)
Assertion thrown at /home/bartek/git/yarp/src/libYARP_OS/src/PortCore.cpp:471 by code called from:
 --> /usr/local/lib/libYARP_OS.so.1(_ZNK4yarp2os3Log5fatalEPKcz+0x16b) [0x7f23c26fd37b]
 --> /usr/local/lib/libYARP_OS.so.1(_ZN4yarp2os4impl8PortCore9closeMainEv+0xb37) [0x7f23c2748017]
 --> /usr/local/lib/libYARP_OS.so.1(_ZN4yarp2os4impl8PortCore5closeEv+0x9) [0x7f23c2748609]
 --> /usr/local/lib/libYARP_OS.so.1(_ZN4yarp2os4Port5closeEv+0x43) [0x7f23c2761313]
 --> robotDevastation() [0x41bbe1]
 --> robotDevastation() [0x42ac4d]
 --> robotDevastation() [0x42151f]
 --> /usr/local/lib/libYARP_OS.so.1(+0x11cc02) [0x7f23c277fc02]
 --> /usr/local/lib/libYARP_OS.so.1(+0x15b25d) [0x7f23c27be25d]
 --> /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f23c046d6ba]
 --> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f23c147741d]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants