[DONE] OD Windows binaries

Re: [DONE] OD Windows binaries

Postby BugReport » 30 May 2016, 15:13

I couldn't find the source code to debug it myself so, where can I upload the dmp file so you can have a better look?
BugReport
 
Posts: 6
Joined: 23 May 2016, 01:50

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 30 May 2016, 15:38

Well, the callstack you posted is already pretty explicit. However, the logs would give much more details about what was going on before the crash happened. In the case you posted, it seems like something was being carried and, for some reason, the pointer to the carried thing seems to have been corrupted (probably because the thing was deleted). But after reading the code, I couldn't find a case where this happens. That's why I'm asking for the logs.

BTW, if you want to compile the game, you can follow our wiki:
https://github.com/OpenDungeons/OpenDun ... ki/Compile
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby BugReport » 30 May 2016, 16:05

Yes, it seems like a buffer overflow of some kind.
I was able to debug it and the mCarriedEntity in "mCarriedEntity->notifyCarryMove(v);" is not a valid pointer.
Finding where it gets overwritten will be hard :(
BugReport
 
Posts: 6
Joined: 23 May 2016, 01:50

Re: [DONE] OD Windows binaries

Postby BugReport » 30 May 2016, 16:15

Sadly I don't have the time to debug this but the memory dump might help you pinpoint where the overwrite comes from:
The wrong pointer is at 0x1AF196C4 --> (43 00 00 00) 0x43 is not a valid ptr.

{l Code}: {l Select All Code}
0x1AF19580  00 00 00 00 01 81 c6 00 d9 1d d4 04 80 80 00 80 ff ff 00 00 70 00 00 00 65 00 00 00 6c 00 00 00 6c 00 00 00 73 00 00 00 2f 00 00 00 43 00 00 00 72 00 00 00 65 00  ......Æ.Ù.Ô.€€.€ÿÿ..p...e...l...l...s.../...C...r...e.
0x1AF195B6  00 00 61 00 00 00 74 00 00 00 75 00 00 00 72 00 00 00 65 00 00 00 45 00 00 00 78 00 00 00 70 00 00 00 6c 00 00 00 6f 00 00 00 73 00 00 00 69 00 00 00 6f 00 00 00  ..a...t...u...r...e...E...x...p...l...o...s...i...o...
0x1AF195EC  6e 00 00 00 42 00 00 00 75 00 00 00 74 00 00 00 74 00 00 00 6f 00 00 00 6e 00 00 00 2f 00 00 00 43 00 00 00 72 00 00 00 65 00 00 00 61 00 00 00 74 00 00 00 75 00  n...B...u...t...t...o...n.../...C...r...e...a...t...u.
0x1AF19622  00 00 72 00 00 00 65 00 00 00 45 00 00 00 78 00 00 00 70 00 00 00 6c 00 00 00 6f 00 00 00 73 00 00 00 69 00 00 00 6f 00 00 00 6e 00 00 00 42 00 00 00 75 00 00 00  ..r...e...E...x...p...l...o...s...i...o...n...B...u...
0x1AF19658  74 00 00 00 74 00 00 00 6f 00 00 00 6e 00 00 00 50 00 00 00 72 00 00 00 6f 00 00 00 67 00 00 00 72 00 00 00 65 00 00 00 73 00 00 00 73 00 00 00 42 00 00 00 61 00  t...t...o...n...P...r...o...g...r...e...s...s...B...a.
0x1AF1968E  00 00 72 00 00 00 00 00 00 00 00 00 00 00 00 80 ff ff bc 1d d4 04 7d 80 00 88 0c 2f 5d 00 00 00 08 42 00 00 84 42 00 00 00 00 a8 1c 0f 1b 73 00 00 00 2f 00 00 00  ..r............€ÿÿ..Ô.}€.ˆ./]....B...B....¨...s.../...
0x1AF196C4  43 00 00 00 23 00 00 00 2f 00 00 00 53 6d 61 6c 6c 53 70 69 64 65 72 00 72 00 00 00 0b 00 00 00 0f 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  C...#.../...SmallSpider.r.............................
0x1AF196FA  00 00 08 27 23 1f 0c 27 23 1f 0c 27 23 1f 00 00 00 00 00 00 00 00 00 00 00 00 90 e9 c2 06 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ...'#..'#..'#..............éÂ.........................
BugReport
 
Posts: 6
Joined: 23 May 2016, 01:50

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 30 May 2016, 16:27

Do you reproduce the bug ? If yes, could you please post the logs (the same files you already uploaded for the other crash) ?
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 01 Jun 2016, 23:57

I've uploaded new binaries
http://download.tuxfamily.org/opendunge ... VS2013.zip

It includes:
- LavaSpawn, Cultist and Monk have been added to the spawn lists
- Some bug fixes
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 02 Jun 2016, 09:12

@BugReport I've added a few logs concerning missiles. Could you please try last snapshot and post the logs if you get a crash ? Thanks
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 02 Jun 2016, 22:52

I've uploaded new binaries
http://download.tuxfamily.org/opendunge ... VS2013.zip

It includes:
- It is basically the same than yesterday but the previous one had a glitch with digging workers that is now fixed
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby Akien » 04 Jun 2016, 18:32

I finally uploaded Linux binaries too: http://download.tuxfamily.org/opendunge ... x64.tar.xz

They should correspond to the ones hwoarangmy uploaded 2 days ago.
User avatar
Akien
 
Posts: 734
Joined: 22 Feb 2014, 13:14

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 25 Jun 2016, 00:03

I've uploaded new binaries
http://download.tuxfamily.org/opendunge ... VS2013.zip

It includes:
- Culling (only visible tiles and entities are displayed which increases pretty much FPS)
- In the user settings, the player can choose between the old and the camera minimap
- Fixed the pathfinding issues seen during the lan

@Akien if you can make a release, it is based on my current repo
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby Danimal » 29 Jun 2016, 00:03

The culing sure makes everyrthing go smoother :)
User avatar
Danimal
OD Moderator
 
Posts: 1305
Joined: 23 Nov 2010, 13:50

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 25 Jul 2016, 22:20

I've uploaded new binaries
http://download.tuxfamily.org/opendunge ... VS2013.zip

It includes:
- Workers digging limitation depends on tile faces available (configurable and currently set to 1 per face). That means that if you mark a tile with 1 available face, only 1 worker can dig it. That changes things related to gems especially.
- All portals are displayed at game start. They look rogue until you get vision (if a player starts with a claimed portal, his enemies will see the portal as rogue until they get vision).
- Improved creature behaviour when looking for their fee
- Drastically decreased gold dug from gems to make it more interesting to go for gold rather than using a gem tile
- Improved "Fallen Angel" map by removing most of the small lave patches that were annoying when selecting a line for digging

Enjoy ^^
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby hwoarangmy » 30 Jul 2016, 12:49

I've uploaded new binaries
http://download.tuxfamily.org/opendunge ... VS2013.zip

It includes:
- New minimap that allows to display the whole level

Enjoy ^^
hwoarangmy
 
Posts: 565
Joined: 16 Apr 2014, 19:13

Re: [DONE] OD Windows binaries

Postby paul424 » 26 Sep 2017, 09:57

HEllo, just tried to launch OD on not mine windows7 machine and it gives crashes instantly, has someome experienced the same ?

1977992527, C:\Windows\syswow64\KERNELBASE.dll, [unknown file], RaiseException, 0
1563333433, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\MSVCR120.dll, [unknown file], CxxThrowException, 0
1559934438, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\CEGUIBase-0.dll, [unknown file], CEGUI::DefaultLogger::setLogFilename, 0
1559919849, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\CEGUIBase-0.dll, [unknown file], CEGUI::WidgetLookFeel::getPropertyDefinitions, 0
1560151678, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\CEGUIBase-0.dll, [unknown file], CEGUI::System::System, 0
1560158065, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\CEGUIBase-0.dll, [unknown file], CEGUI::System::create, 0
19664754, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons.exe, c:\dev\od-gh-src\source\render\gui.cpp, Gui::Gui, 50
20351878, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons.exe, c:\dev\od-gh-src\source\odapplication.cpp, ODApplication::startClient, 163
20353047, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons.exe, c:\dev\od-gh-src\source\odapplication.cpp, ODApplication::startGame, 66
20366494, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons.exe, c:\dev\od-gh-src\source\main.cpp, WinMain, 16707566
20376980, C:\Users\Gość\Downloads\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons-0.7.1-Win32-MSVS2013\OpenDungeons.exe, f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, __tmainCRTStartup, 618
1968911210, C:\Windows\syswow64\kernel32.dll, [unknown file], BaseThreadInitThunk, 0
2000591106, C:\Windows\SysWOW64\ntdll.dll, [unknown file], RtlInitializeExceptionChain, 0


EDIT: for some reason I need to run the program as admin, that is not what we want , do we ?
User avatar
paul424
OD Moderator
 
Posts: 639
Joined: 24 Jan 2012, 13:54

Who is online

Users browsing this forum: No registered users and 1 guest