GrognardsFromHell / TemplePlus

ToEE hooks, extensions and fixes
https://github.com/GrognardsFromHell/DllDocumentation/wiki
MIT License
86 stars 22 forks source link

Crash when accessing storage chest #264

Open lucianposton opened 6 years ago

lucianposton commented 6 years ago

I had many items in the storage chest from the extraplanar chest item, and went to sell them, so I summoned the chest and pulled out most of the items and sold them. The remaining items in the chest I dragged to upper slots to keep it organized. At this point, I noticed some slots refused to accept items for some reason -- they behaved as if they had items in them even though they were empty. Anyhow, I reorganized it as best I could, unsummoned the chest, and hoping resummoning would fix the strange slots, resummoned it. Then when I opened the chest, the game crashed as below.

widget was null on the following line causing the crash. https://github.com/GrognardsFromHell/TemplePlus/blob/68167eb8382a9fb9f02d2a17c5853b17bf1f6dcb/TemplePlus/ui/ui.cpp#L542

Backtrace. Click to expand ``` Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:007ff332 ESP:0033d2a4 EBP:0033d2ec EFLAGS:00210246( R- -- I Z- -P- ) EAX:076634c8 EBX:0033f078 ECX:00000e9b EDX:00000000 ESI:00000000 EDI:00000000 Stack dump: 0x0033d2a4: 00000008 00000000 07794140 096736a0 0x0033d2b4: 096736e4 ffffffff 07666f34 00000004 0x0033d2c4: 0033f078 00000004 0033f078 07794140 0x0033d2d4: 075ce8e0 075ce8e0 07663fbc 0033d2ec 0x0033d2e4: 007fda73 1cd73a31 0033d2fc 0076a80c 0x0033d2f4: 00000000 00000000 00000f83 1013f855 000c: sel=0067 base=00000000 limit=00000000 16-bit --x Backtrace: =>0 0x007ff332 UiManager::SetHidden+0x72(id=0, hidden=false) in templeplus (0x0033d2ec) 1 0x0076a80c ui_widget_set_hidden+0x1b(id=0, hidden=0) in templeplus (0x0033d2fc) 0x007ff332 UiManager::SetHidden+0x72 in templeplus: andl $-2,0x50(%edi) Modules: Module Address Debug info Name (158 modules) PE 380000- 3a0000 Deferred tio PE 3a0000- 3bd000 Deferred zlib-1.2.1 PE 400000- 1078000 CodeView templeplus PE 3520000- 3876000 Deferred d3dcompiler_47 PE 4100000- 412b000 Deferred msseax.m3d PE 10000000-11eb717e Export temple PE 1e000000-1e0d3000 Deferred pytoee22 PE 21100000-21164000 Deferred mss32 PE 22100000-22122000 Deferred mssa3d.m3d PE 22300000-2231b000 Deferred mssds3d.m3d PE 22400000-22419000 Deferred msssoft.m3d PE 22600000-2261f000 Deferred mssdx7.m3d PE 22700000-22768000 Deferred mssrsx.m3d PE 24100000-24121000 Deferred mssdsp.flt PE 26400000-26439000 Deferred mssvoice.asi PE 26f00000-26f2c000 Deferred mssmp3.asi PE 30000000-3006d000 Deferred binkw32 ELF 78789000-7a800000 Deferred libnvidia-glcore.so.387.22 ELF 7a800000-7a93f000 Deferred opengl32 \-PE 7a820000-7a93f000 \ opengl32 ELF 7b281000-7b29d000 Deferred libgcc_s.so.1 ELF 7b29d000-7b2b5000 Deferred libresolv.so.2 ELF 7b2b5000-7b344000 Deferred libvorbisenc.so.2 ELF 7b344000-7b372000 Deferred libvorbis.so.0 ELF 7b372000-7b400000 Deferred libsndfile.so.1 ELF 7b400000-7b7ef000 Deferred kernel32 \-PE 7b420000-7b7ef000 \ kernel32 ELF 7b7f0000-7b7f8000 Deferred libogg.so.0 ELF 7b7f8000-7b83e000 Deferred libflac.so.8 ELF 7b83e000-7b844000 Deferred libuuid.so.1 ELF 7b844000-7b84a000 Deferred libasyncns.so.0 ELF 7b84a000-7b854000 Deferred libwrap.so.0 ELF 7b854000-7b85c000 Deferred libxtst.so.6 ELF 7b85c000-7b8ac000 Deferred libdbus-1.so.3 ELF 7b8ac000-7b93e000 Deferred libpulsecommon-10.0.so ELF 7b93e000-7b99a000 Deferred libpulse.so.0 ELF 7b9da000-7ba05000 Deferred winepulse \-PE 7b9e0000-7ba05000 \ winepulse ELF 7ba05000-7bb39000 Deferred oleaut32 \-PE 7ba20000-7bb39000 \ oleaut32 ELF 7bb39000-7bc00000 Deferred msvcrt \-PE 7bb50000-7bc00000 \ msvcrt ELF 7bc00000-7bd2f000 Deferred ntdll \-PE 7bc40000-7bd2f000 \ ntdll ELF 7bd30000-7bd39000 Deferred libsm.so.6 ELF 7bd39000-7bd87000 Deferred dsound \-PE 7bd40000-7bd87000 \ dsound ELF 7bf8c000-7c000000 Deferred d3dcompiler_43 \-PE 7bfa0000-7c000000 \ d3dcompiler_43 ELF 7c000000-7c004000 Deferred ELF 7c009000-7c02c000 Deferred mmdevapi \-PE 7c010000-7c02c000 \ mmdevapi ELF 7c02c000-7c057000 Deferred msacm32 \-PE 7c030000-7c057000 \ msacm32 ELF 7c057000-7c0bb000 Deferred d2d1 \-PE 7c060000-7c0bb000 \ d2d1 ELF 7c1bb000-7c1fb000 Deferred d3d10 \-PE 7c1c0000-7c1fb000 \ d3d10 ELF 7c405000-7c422000 Deferred libice.so.6 ELF 7c5f3000-7c639000 Deferred usp10 \-PE 7c600000-7c639000 \ usp10 PE 7c679000-7c68e000 Deferred api-ms-win-appmodel-runtime-l1-1 PE 7c680000-7c68e000 Deferred api-ms-win-appmodel-runtime-l1-1C:\windows\system32\api-ms-win-appmodel-runtime-l1-1-1.dll ELF 7c68e000-7c6a2000 Deferred api-ms-win-core-file-l2-1-1 \-PE 7c690000-7c6a2000 \ api-ms-win-core-file-l2-1-1 ELF 7cc6f000-7cd87000 Deferred libglx_nvidia.so.0 ELF 7cdc7000-7ce47000 Deferred libgldispatch.so.0 ELF 7ce47000-7ceca000 Deferred libgl.so.1 ELF 7d7c4000-7d7da000 Deferred d3d10core \-PE 7d7d0000-7d7da000 \ d3d10core ELF 7d7da000-7d7f0000 Deferred d3d10_1 \-PE 7d7e0000-7d7f0000 \ d3d10_1 ELF 7d7f0000-7d80f000 Deferred libglx.so.0 ELF 7d84f000-7d908000 Deferred winmm \-PE 7d860000-7d908000 \ winmm ELF 7d908000-7d9c7000 Deferred msvcr71 \-PE 7d920000-7d9c7000 \ msvcr71 ELF 7da2a000-7da2d000 Deferred libx11-xcb.so.1 ELF 7da33000-7da38000 Deferred libnvidia-tls.so.387.22 ELF 7da38000-7da54000 Deferred dinput8 \-PE 7da40000-7da54000 \ dinput8 ELF 7da54000-7da88000 Deferred d3d8 \-PE 7da60000-7da88000 \ d3d8 ELF 7da88000-7daef000 Deferred dbghelp \-PE 7da90000-7daef000 \ dbghelp ELF 7daef000-7db27000 Deferred uxtheme \-PE 7db00000-7db27000 \ uxtheme ELF 7db27000-7dc47000 Deferred comctl32 \-PE 7db30000-7dc47000 \ comctl32 ELF 7dc47000-7dc62000 Deferred aclui \-PE 7dc50000-7dc62000 \ aclui ELF 7dc62000-7dcdb000 Deferred shlwapi \-PE 7dc70000-7dcdb000 \ shlwapi ELF 7dcdb000-7dfad000 Deferred shell32 \-PE 7dcf0000-7dfad000 \ shell32 ELF 7e012000-7e094000 Deferred rpcrt4 \-PE 7e020000-7e094000 \ rpcrt4 ELF 7e094000-7e1ef000 Deferred ole32 \-PE 7e0b0000-7e1ef000 \ ole32 ELF 7e1ef000-7e1f5000 Deferred libtxc_dxtn.so ELF 7e1f5000-7e1fc000 Deferred libxfixes.so.3 ELF 7e1fc000-7e208000 Deferred libxcursor.so.1 PE 7e20c000-7e220000 Deferred api-ms-win-core-localization-l1- PE 7e210000-7e220000 Deferred api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll ELF 7e220000-7e234000 Deferred api-ms-win-core-fibers-l1-1-1 \-PE 7e560000-7e5e3000 \ winex11 ELF 7e5e3000-7e621000 Deferred libpng16.so.16 ELF 7e621000-7e633000 Deferred libbz2.so.1 ELF 7e633000-7e64c000 Deferred libz.so.1 ELF 7e64c000-7e708000 Deferred libfreetype.so.6 ELF 7e748000-7e898000 Deferred wined3d \-PE 7e760000-7e898000 \ wined3d ELF 7e898000-7e8c2000 Deferred dxgi \-PE 7e8a0000-7e8c2000 \ dxgi ELF 7e8c2000-7e93a000 Deferred d3d11 \-PE 7e8d0000-7e93a000 \ d3d11 ELF 7e93a000-7e9a4000 Deferred dwrite \-PE 7e940000-7e9a4000 \ dwrite ELF 7e9a4000-7ea1e000 Deferred advapi32 \-PE 7e9b0000-7ea1e000 \ advapi32 ELF 7ea1e000-7eb4c000 Deferred gdi32 \-PE 7ea30000-7eb4c000 \ gdi32 ELF 7eb4c000-7ed4d000 Deferred user32 \-PE 7eb60000-7ed4d000 \ user32 ELF 7ed4d000-7ed5a000 Deferred libnss_files.so.2 ELF 7ed5a000-7ed67000 Deferred libnss_nis.so.2 ELF 7ed67000-7ed82000 Deferred libnsl.so.1 ELF 7ef63000-7efc0000 Deferred libm.so.6 ELF 7efc2000-7efdc000 Deferred version \-PE 7efd0000-7efdc000 \ version ELF 7efdc000-7f000000 Deferred imm32 \-PE 7efe0000-7f000000 \ imm32 ELF f7390000-f7394000 Deferred libxcomposite.so.1 ELF f7394000-f739e000 Deferred libnss_compat.so.2 ELF f73a0000-f73a5000 Deferred libdl.so.2 ELF f73a5000-f756b000 Deferred libc.so.6 ELF f756b000-f758a000 Deferred libpthread.so.0 ELF f758a000-f7590000 Deferred libxxf86vm.so.1 ELF f75c1000-f75c5000 Deferred libxinerama.so.1 ELF f75c5000-f75c9000 Deferred libxau.so.6 ELF f75ca000-f779b000 Dwarf libwine.so.1 ELF f779d000-f77c2000 Deferred ld-linux.so.2 ELF f77c4000-f77c5000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe [C:\windows\system32\services.exe] 00000034 0 0000002b 0 00000025 0 0000001d 0 00000012 0 0000000f 0 00000010 explorer.exe [C:\windows\system32\explorer.exe /desktop] 00000033 0 00000032 0 00000031 0 0000002a 0 00000011 0 0000001a winedevice.exe [C:\windows\system32\winedevice.exe] 00000024 0 0000001f 0 0000001e 0 0000001b 0 00000022 plugplay.exe [C:\windows\system32\plugplay.exe] 00000027 0 00000026 0 00000023 0 00000028 winedevice.exe [C:\windows\system32\winedevice.exe] 0000003f 0 0000003e 0 0000003d 0 0000003c 0 0000003b 0 0000003a 0 00000039 0 00000038 0 00000030 0 0000002d 0 0000002c 0 00000029 0 00000035 (D) C:\users\worch\Local Settings\Application Data\TemplePlus\app-1.0.56\TemplePlus.exe ["C:\users\worch\Local Settings\Application Data\TemplePlus\app-1.0.56\TemplePlus.exe" ] 00000048 0 00000044 15 00000043 15 00000041 15 00000040 0 00000037 0 00000036 0 <== 0000005c explorer.exe [C:\windows\system32\explorer.exe /desktop] 00000060 0 0000005f 0 0000005e 0 0000005d 0 ```
tail of log. Click to expand ``` [2017-11-29 22:24:47.378] [core] [debug] ActionFrameProcess: Calling action frame function [2017-11-29 22:24:47.378] [core] [debug] Goal pushed: ag_animate ```
DudeMcDude commented 6 years ago

Can you also send a relevant savegame to help reproduce the crash?

lucianposton commented 6 years ago

I no longer have one. If I come across the issue again, I'll post it.