Page 1 of 2

[Fixed] Consistent crash on closing inventory.

Posted: Fri Sep 07, 2012 8:16 pm
by Excellion
Note:
Thread title "[0.27.0] Consistent crash after adding item to backpack." renamed to "[0.27.0] Consistent crash on closing inventory. ".

Version:
0.27.0 (Fixed 0.27.1 - Tested and confirmed working for me)

Description:
After updating the game to 0.27.0 it consistently crashes if i drag some building material to my medium sized backpack, and then close the inventory screen with the top right close cross. Could reproduce it 100% of the time in three attempts.

Steps to Reproduce:
0. (Load the savegame attached - i can equally reproduce this in a new game)
1. Open the inventory of the character called "Leader"
2. Drag the single building material from his inventory to his backpack. (EDIT: Seems related to altering the inventory. Moving an item inside the inventory itself is enough to cause this.)
3. Close the inventory screen with the cross. The game will then crash, generating the crash dump.

Note:
-Importing the squad into a new game, moving other items to the backpack and using other squad members instead results in the same issue.
-It only occurs when the inventory is closed; clicking another character while the inventory is open will work as expected (Though closing it causes a crash, no matter which inventory is open).

Attachments:
- Save.rar: My current savegame, that should be capable to reproduce the issue.
- crashDump0.27.0.zip: The crashdump Kenshi generated.

Related / Duplicate threads:
Inventory Crash (Merged)
Crash when closing inventory (Merged)
After i loot a Guy (Merged)
Bug report 9/7/2009 7:42 Pm Gmt +3.3

Re: [0.27.0] Consistant crash after adding item to backpack.

Posted: Fri Sep 07, 2012 8:41 pm
by DerekRJ21
Confirmed, same steps.

(Just included quicksave folder. Whole save file was too large to upload @ 6mb.)

Re: [0.27.0] Consistant crash after adding item to backpack.

Posted: Fri Sep 07, 2012 8:57 pm
by IDex
Exactly same problem here. Happens with all my characters, without fail.

crash when closing inventory

Posted: Fri Sep 07, 2012 10:18 pm
by fidias
hi the chris.... great work you have done. i just bought the game a few minutes ago (i downloaded it yesterday and it is quite good... so i wanted to give a hand... or ten bucks :D )

the thing is.... i played it up to stats lvl 20 with no problem. then bouht it, and then it made an update (around 18:00 here in argentina) right after that, EVERY time i close an inventory when trading or looting, the game crashes. EVERY time.
if i just open my character inventory it goes just fine. the thing happens when interacting with another npc or party member inventory.
this is quite awfull.... since i cannot earn any money or buy stuff until it is fixed!!!

i hope u can solve this fast...because i WANT TO PLAYYY ITTT!!!! LOL

once again.... great job man!
this game has as so much potential.... im an architect, so if u need help with anithing buildings-wise, just mail me....

cheers!

one more thing... i dont know how to attach the error file... and i have to go now... maybe i will send it later. gl!

Re: crash when closing inventory

Posted: Fri Sep 07, 2012 10:27 pm
by fidias
good news....it happens when i close the inventory without interaction too.... i guess it makes it easier to detect... :D i will check if his happens all the time....

Re: crash when closing inventory

Posted: Fri Sep 07, 2012 10:30 pm
by fidias
ok....i tested it.

you can open inventory in loot mode or just your inventory. if u dont move nothing, you can close it.
if u move something and put it in another slot, it will crash. thats it.

hope this is usefull

Re: crash when closing inventory

Posted: Fri Sep 07, 2012 10:33 pm
by ChiefNinja
Yep, I'm getting this as well

Inventory Crash

Posted: Fri Sep 07, 2012 10:39 pm
by ApocalypticDoom
Whenver i try to exit the inventory, the game crashes. Looting or shopping doesn't matter same problem.

Re: Inventory Crash

Posted: Fri Sep 07, 2012 10:45 pm
by Excellion
ApocalypticDoom wrote:Whenver i try to exit the inventory, the game crashes. Looting or shopping doesn't matter same problem.
Duplicate of [0.27.0] Consistant crash after adding item to backpack. ;)

Re: crash when closing inventory

Posted: Fri Sep 07, 2012 10:55 pm
by Excellion

Re: [0.27.0] Consistant crash after adding item to backpack.

Posted: Fri Sep 07, 2012 11:28 pm
by DerekRJ21
Bumping this to the top in an attempt to stop duplicate threads.

After i loot a Guy

Posted: Sat Sep 08, 2012 1:14 am
by Alaswing
After i looted a guy, i close the inv window with the "i" key, and DUN!

Re: After i loot a Guy

Posted: Sat Sep 08, 2012 1:22 am
by Excellion

Re: [0.27.0] Consistant crash after adding item to backpack.

Posted: Sat Sep 08, 2012 1:24 am
by Excellion
Bumperty Bump. Hopefully that saves us a thread or two :D

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 2:07 am
by Nokumara
Guys how soon will this be fixed because I recently bought the game and its been happening its quit annoying

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 2:14 am
by djfabiokk
Nokumara wrote:Guys how soon will this be fixed because I recently bought the game and its been happening its quit annoying
Maybe tomorrow this will be fixed, chris is fast with the small updates.

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 2:20 am
by Nokumara
Maybe tomorrow this will be fixed, chris is fast with the small updates.
Thanks man I was scared !#!#!less I thought he was like the creator of 3079 that guy never updates #!#! I was scared lol sorry for the @$@#$

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 2:51 am
by The Biolizard
Same thing is happening with my game too. It sucks this is actually such a major problem because I was going to play all night. A bug like this makes the game unplayable :(

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 3:08 am
by Maeltorn
Does hitting "i" work?

Don't know why I'm asking, gonna go try as soon as I post this.

EDIT: Nope.

Re: [0.27.0] Consistent crash on closing inventory.

Posted: Sat Sep 08, 2012 3:15 am
by thburns
This same thing also happened to me in the last version, but oddly only recently before I updated the game. Gonna see if I still have the issue, after I train a bit.... (Crosses fingers and hopes bug by bypassed his copy)