GNU gdb (GDB) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from vcmiclient...done. (gdb) r Starting program: /usr/bin/vcmiclient [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Starting... [New Thread 0x7fffe62bf700 (LWP 3291)] VCMI 0.99 22e1d5d3b1efc11d85a91cc40405db732e9e04f9 (client) Creating console and configuring logger: 8 The log file will be saved to "/home/zer0def/.cache/vcmi/VCMI_Client_log.txt"  Initialization: 7  Data loading: 88  Mod handler: 0  Mod filesystems: 19 Basic initialization: 115 Initialized logging system based on settings successfully. [log level] ai => not set [log level] animation => not set [log level] bonus => not set [log level] global => trace [log level] network => not set Error: campaign movies was not found! Error: campaign music was not found! Loading settings: 117 [New Thread 0x7fffe590b700 (LWP 3297)] [New Thread 0x7ffff7e40700 (LWP 3303)] Found 4 render drivers  opengl (active)  opengles2  opengles  software Check display mode: requested 800 x 600; available up to 1366 x 768 Created renderer opengl  Initializing screen: 215  Initializing video: 6 [New Thread 0x7ffff7ff0700 (LWP 3304)] Initializing screen and sound handling: 3 [New Thread 0x7fffcaf13700 (LWP 3305)]  Bonus type handler: 4  General text handler: 6  Hero handler: 2  Artifact handler: 0  Creature handler: 0  Town handler: 0  Object handler: 0  Object types information handler: 0  Spell handler: 0  Terrain view pattern handler: 1  Template handler: 0  Initializing handlers: 16  Initializing content handler: 128 ms  [65b4e6e3] Original game files  [a51d17be] VCMI essential files  Parsing mod data: 49 ms  [SKIP] Original game files  [SKIP] VCMI essential files  Loading mod data: 105ms  Resolving identifiers: 18 ms No templates found for 38:1 No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 90:1 No templates found for 100:1 No templates found for 103:1 No templates found for 113:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0  Handlers post-load finalization: 4 ms  All game content loaded in 306 ms Initializing VCMI_Lib: 324 Screen handler: 7  Main graphics: 290 Initializing game graphics: 298 Message handler: 1 Initialization of VCMI (together): 976 [Thread 0x7fffcaf13700 (LWP 3305) exited] [New Thread 0x7fffcaf13700 (LWP 3338)] [New Thread 0x7fffcaf13700 (LWP 3339)] [Thread 0x7fffcaf13700 (LWP 3338) exited] Blocking buttons from 1 [New Thread 0x7fffc90ba700 (LWP 3373)] Loading procedure started! [New Thread 0x7fffc88b9700 (LWP 3374)] Setting up thread calling server: 0 Loading lib part of game...  Reading header  Reading options  Reading handlers Ambiguous identifier request! Request for building.dwellingLvl1 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl2 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl3 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl4 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl5 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl6 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl7 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl1 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl2 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl3 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl4 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl5 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl6 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl7 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.mageGuild1 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.mageGuild2 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.mageGuild3 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.mageGuild4 from mod core  ID is available in mod core  ID is available in mod core Ambiguous identifier request! Request for building.marketplace from mod core  ID is available in mod core  ID is available in mod core  Reading gamestate No templates found for 38:1 No templates found for 49:1 No templates found for 70:0 No templates found for 79:7 No templates found for 90:1 No templates found for 100:1 No templates found for 103:1 No templates found for 113:1 No templates found for 172:0 No templates found for 186:0 No templates found for 189:0 Loaded common part of save 452  Preparing FoW, terrain, roads, rivers, borders: 72  Making object rects: 126 Initing maphandler: 203 Establishing connection... Found endpoints:  0: 127.0.0.1:3030 Trying connection to 127.0.0.1:3030 (0) Established connection with VCMI 0.99 22e1d5d3b1efc11d85a91cc40405db732e9e04f9 (server)  Connecting to the server: 3 Ambiguous identifier request! Request for building.dwellingLvl1 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl2 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl3 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl4 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl5 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl6 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl7 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl1 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl2 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl3 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl4 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl5 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl6 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.dwellingLvl7 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.mageGuild1 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.mageGuild2 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.mageGuild3 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.mageGuild4 from mod core ID is available in mod core ID is available in mod core Ambiguous identifier request! Request for building.marketplace from mod core ID is available in mod core ID is available in mod core Server opened savegame properly. CLIENTPLAYERS: 0 1 5 255 ENDCLIENTPLAYERS Opening VCAI Loaded VCAI Engine: InputVariable: OurShooters enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: OurWalkers enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: OurFlyers enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: EnemyShooters enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: EnemyWalkers enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: EnemyFlyers enabled: true range: 0.000 1.000 term: FEW Ramp 0.600 0.000 term: MANY Ramp 0.400 1.000 InputVariable: OurSpeed enabled: true range: 0.000 25.000 term: LOW Ramp 6.500 3.000 term: MEDIUM Triangle 5.500 8.000 10.500 term: HIGH Ramp 8.500 16.000 InputVariable: EnemySpeed enabled: true range: 0.000 25.000 term: LOW Ramp 6.500 3.000 term: MEDIUM Triangle 5.500 8.000 10.500 term: HIGH Ramp 8.500 16.000 InputVariable: CastleWalls enabled: true range: 0.000 3.000 term: NONE Rectangle 0.000 0.500 term: MEDIUM Trapezoid 0.500 1.000 2.000 2.500 term: HIGH Ramp 1.900 3.000 InputVariable: Bank enabled: true range: 0.000 1.000 term: FALSE Rectangle 0.000 0.500 term: TRUE Rectangle 0.500 1.000 OutputVariable: Threat enabled: true range: 0.500 1.500 accumulation: AlgebraicSum defuzzifier: Centroid 200 default: nan lock-previous: false lock-range: false term: LOW Ramp 1.000 0.500 term: MEDIUM Triangle 0.800 1.000 1.200 term: HIGH Ramp 1.000 1.500 RuleBlock: enabled: true conjunction: Minimum disjunction: Maximum activation: Minimum rule: if OurShooters is MANY and EnemySpeed is LOW then Threat is LOW rule: if OurShooters is MANY and EnemyShooters is FEW then Threat is LOW rule: if OurSpeed is LOW and EnemyShooters is MANY then Threat is HIGH rule: if OurSpeed is HIGH and EnemyShooters is MANY then Threat is LOW rule: if OurWalkers is FEW and EnemyShooters is MANY then Threat is somewhat LOW rule: if OurShooters is MANY and EnemySpeed is HIGH then Threat is somewhat HIGH rule: if OurShooters is FEW and EnemySpeed is HIGH then Threat is MEDIUM rule: if EnemySpeed is MEDIUM then Threat is MEDIUM rule: if EnemySpeed is LOW and OurShooters is FEW then Threat is MEDIUM rule: if Bank is TRUE and OurShooters is MANY then Threat is somewhat HIGH rule: if Bank is TRUE and EnemyShooters is MANY then Threat is LOW rule: if CastleWalls is HIGH and OurWalkers is MANY then Threat is very HIGH rule: if CastleWalls is HIGH and OurFlyers is MANY and OurShooters is MANY then Threat is MEDIUM rule: if CastleWalls is MEDIUM and OurShooters is MANY and EnemyWalkers is MANY then Threat is LOW Engine: InputVariable: strengthRatio enabled: true range: 0.000 4.500 term: LOW Ramp 1.500 0.000 term: HIGH Ramp 1.500 4.500 InputVariable: heroStrength enabled: true range: 0.000 1.000 term: LOW Ramp 0.200 0.000 term: MEDIUM Triangle 0.200 0.500 0.800 term: HIGH Ramp 0.500 1.000 InputVariable: turnDistance enabled: true range: 0.000 3.000 term: SMALL Ramp 0.500 0.000 term: MEDIUM Triangle 0.100 0.450 0.800 term: LONG Ramp 0.500 3.000 InputVariable: lockedMissionImportance enabled: true range: 0.000 5.000 term: LOW Ramp 2.500 0.000 term: MEDIUM Triangle 2.000 2.500 3.000 term: HIGH Ramp 2.500 5.000 OutputVariable: Value enabled: true range: 0.000 5.000 accumulation: AlgebraicSum defuzzifier: Centroid 200 default: nan lock-previous: false lock-range: false term: LOW Ramp 2.500 0.000 term: MEDIUM Triangle 2.000 2.500 3.000 term: HIGH Ramp 2.500 5.000 RuleBlock: enabled: true conjunction: Minimum disjunction: Maximum activation: Minimum rule: if strengthRatio is HIGH and heroStrength is LOW then Value is very HIGH rule: if strengthRatio is HIGH and heroStrength is MEDIUM then Value is somewhat HIGH rule: if strengthRatio is HIGH and heroStrength is HIGH then Value is somewhat LOW rule: if strengthRatio is LOW and heroStrength is LOW then Value is very LOW rule: if strengthRatio is LOW and heroStrength is MEDIUM then Value is somewhat HIGH rule: if strengthRatio is LOW and heroStrength is HIGH then Value is LOW rule: if lockedMissionImportance is HIGH then Value is very LOW rule: if lockedMissionImportance is MEDIUM then Value is somewhat LOW rule: if lockedMissionImportance is LOW then Value is HIGH rule: if turnDistance is SMALL then Value is HIGH rule: if turnDistance is MEDIUM then Value is MEDIUM rule: if turnDistance is LONG then Value is LOW Opening VCAI Loaded VCAI Opening BattleAI Loaded Battle AI Loaded client part of save 140 Sent info to server: 0 [New Thread 0x7fffa3a27700 (LWP 3390)] [Thread 0x7fffc90ba700 (LWP 3373) exited] [Thread 0x7fffcaf13700 (LWP 3339) exited] [New Thread 0x7fffcaf13700 (LWP 3391)] [Thread 0x7fffcaf13700 (LWP 3391) exited] [New Thread 0x7fffcaf13700 (LWP 3392)] Thread 11 "CClient::run" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffa3a27700 (LWP 3390)] 0x00000000004be899 in CHeroArtPlace::lockSlot (this=, on=false) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:68 68 image->setFrame(ourArt->artType->iconIndex); (gdb) bt full #0 0x00000000004be899 in CHeroArtPlace::lockSlot (this=, on=false) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:68 No locals. #1 0x00000000004bea3e in CArtifactsOfHero::setSlotData (this=0x1c34560, artPlace=0x17420a0, slotID=...) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:567 asi = 0x7fff9c0013f8 #2 0x00000000004c0110 in CArtifactsOfHero::updateSlot (this=this@entry=0x1c34560, slotID=...) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:865 No locals. #3 0x00000000004c0179 in CArtifactsOfHero::updateWornSlots (this=this@entry=0x1c34560, redrawParent=redrawParent@entry=false) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:852 p = __for_range = std::map with 19 elements = {[{num = ArtifactPosition::HEAD}] = 0x1c347e0, [{num = ArtifactPosition::SHOULDERS}] = 0x1c39d60, [{ num = ArtifactPosition::NECK}] = 0x1737600, [{num = ArtifactPosition::RIGHT_HAND}] = 0x17d3c60, [{num = ArtifactPosition::LEFT_HAND}] = 0x17d6860, [{ num = ArtifactPosition::TORSO}] = 0x17dc8d0, [{num = ArtifactPosition::RIGHT_RING}] = 0x1741e80, [{num = ArtifactPosition::LEFT_RING}] = 0x1744a80, [{ num = ArtifactPosition::FEET}] = 0x17420a0, [{num = ArtifactPosition::MISC1}] = 0x174c660, [{num = ArtifactPosition::MISC2}] = 0x1756f90, [{ num = ArtifactPosition::MISC3}] = 0x1751ad0, [{num = ArtifactPosition::MISC4}] = 0x1760520, [{num = ArtifactPosition::MACH1}] = 0x1a73a70, [{ num = ArtifactPosition::MACH2}] = 0x175c380, [{num = ArtifactPosition::MACH3}] = 0x1a7e360, [{num = ArtifactPosition::MACH4}] = 0x1a78e60, [{ num = ArtifactPosition::SPELLBOOK}] = 0x1a88c90, [{num = ArtifactPosition::MISC5}] = 0x1a83750} #4 0x00000000004c2ca5 in CArtifactsOfHero::artifactMoved (this=this@entry=0x1c34560, src=..., dst=...) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:733 isCurHeroSrc = true isCurHeroDst = __PRETTY_FUNCTION__ = "void CArtifactsOfHero::artifactMoved(const ArtifactLocation&, const ArtifactLocation&)" shift = #5 0x00000000004c3259 in CWindowWithArtifacts::artifactMoved (this=, artLoc=..., destLoc=...) at /var/tmp/vcmi-git/src/vcmi-git/client/widgets/CArtifactHolder.cpp:883 aoh = 0x1c34560 __for_range = destaoh = 0x0 #6 0x0000000000629e8f in CPlayerInterface::artifactMoved (this=0x7fffa620c8e0, src=..., dst=...) at /var/tmp/vcmi-git/src/vcmi-git/client/CPlayerInterface.cpp:2582 artWin = isa = #7 0x000000000068fc98 in MoveArtifact::applyCl (this=0x7fff9c079980, cl=0x7fffa40008c0) at /var/tmp/vcmi-git/src/vcmi-git/client/NetPacksClient.cpp:236 No locals. #8 0x000000000056c91b in CClient::handlePack (this=this@entry=0x7fffa40008c0, pack=0x7fff9c079980) at /var/tmp/vcmi-git/src/vcmi-git/client/Client.cpp:673 guiLock = {m = 0xa185d0, is_locked = true} #9 0x000000000056cbc0 in CClient::run (this=0x7fffa40008c0) at /var/tmp/vcmi-git/src/vcmi-git/client/Client.cpp:182 pack = #10 0x00007ffff6ad298d in ?? () from /usr/lib/libboost_thread.so.1.63.0 No symbol table info available. #11 0x00007ffff658c2e7 in start_thread () from /usr/lib/libpthread.so.0 No symbol table info available. #12 0x00007ffff316c54f in clone () from /usr/lib/libc.so.6 No symbol table info available. (gdb) q A debugging session is active. Inferior 1 [process 3261] will be killed. Quit anyway? (y or n) y read: Connection reset by peer Ended handling connection write: Broken pipe