Anonymous | Login | 2024-11-21 19:54 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001955 | VCMI | GUI - Adventure Map | public | 2014-11-19 01:57 | 2022-04-12 11:04 | ||||
Reporter | SXX | ||||||||
Assigned To | SXX | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | PC | OS | Ubuntu Linux | OS Version | 14.04 | ||||
Product Version | 0.97 | ||||||||
Target Version | Fixed in Version | 0.98g | |||||||
Summary | 0001955: When running with GDB many rapid clicks / move commands cause client crash | ||||||||
Description | This can be only reproduced with debugger attached. As far as I understand this might happen because game spawn new thread for each pathfinding action and GDB likely increase delay between it's spawn and exit. Though this might indicate there is unsafe code that under certain conditions can cause crash without debugger so I decide to report it. | ||||||||
Steps To Reproduce | - Load game executable with GDB on Linux as "gdb vcmiclient". - In gdb console type "r" to run game. - Go to single player and start on any map. Though map to have enough hero movement. - Use all hero movement points as you like. - Now choose any pathable tile around. - Start to rapidly give move commands on it. - You should see new threads spawn/exit in console: [New Thread 0x7fffe216d700 (LWP 6026)] [Thread 0x7fffe216d700 (LWP 6026) exited] [New Thread 0x7fffe216d700 (LWP 6028)] [Thread 0x7fffe216d700 (LWP 6028) exited] - At some speed of clicks client will crash. | ||||||||
Additional Information | Current version from ppa:vcmi/ppa: 0.97+git20141118.3792~ubuntu14.04.1 As before all mods except "VCMI essential files" are disabled. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | vcmiclient_gdb_crash.txt [^] (2,648 bytes) 2014-11-19 01:57 [Show Content]
server_log.txt [^] (2,745 bytes) 2014-11-19 01:58 [Show Content] VCMI_Client_log.txt [^] (669,218 bytes) 2014-11-19 01:58 [Show Content] VCMI_Server_log.txt [^] (201,066 bytes) 2014-11-19 01:58 [Show Content] | ||||||||
Relationships | ||||||||||||||||
|
Notes | |
(0006266) SXX (administrator) 2016-01-09 12:41 |
Fixed: https://github.com/vcmi/vcmi/commit/46e3d849af7bc198032deaea4e650c45af01de4f [^] Mouse handling code still need improvement, but it's shouldn't crash. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-11-19 01:57 | SXX | New Issue | |
2014-11-19 01:57 | SXX | File Added: vcmiclient_gdb_crash.txt | |
2014-11-19 01:58 | SXX | File Added: server_log.txt | |
2014-11-19 01:58 | SXX | File Added: VCMI_Client_log.txt | |
2014-11-19 01:58 | SXX | File Added: VCMI_Server_log.txt | |
2014-11-22 19:08 | SXX | Product Version | => 0.97 |
2015-12-24 13:22 | SXX | Relationship added | has duplicate 0002348 |
2015-12-24 13:22 | SXX | Relationship added | has duplicate 0002020 |
2016-01-09 12:41 | SXX | Note Added: 0006266 | |
2016-01-09 12:41 | SXX | Status | new => resolved |
2016-01-09 12:41 | SXX | Fixed in Version | => 0.98g |
2016-01-09 12:41 | SXX | Resolution | open => fixed |
2016-01-09 12:41 | SXX | Assigned To | => SXX |
2016-01-10 15:19 | SXX | Category | Mechanics - Adventure Map => GUI - Adventure Map |
2016-09-12 03:42 | SXX | Relationship added | has duplicate 0002249 |
2022-04-12 11:04 | Povelitel | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |