This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [NOGGIT] My map won't open anymore with newest SDL  (Read 1523 times)

monsune

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
[NOGGIT] My map won't open anymore with newest SDL
« on: June 26, 2016, 01:04:36 am »
I have been working on a custom map for more than a week. There are lots od m2s and some wmo in there, also many terrain changes, water, etc. Yesterday i saved after latest work and quit Noggit. Today i'm not able to open that map. It opens, i can see terrain and some models, then Noggit closes and that's it. Not sure what has happend because the last work was mostly terrain modelling and adding water, nothing else.

Did anyone have similar issue? What could go wrong? Any suggestions how to fix this? I can walk around there in client with no probs so ADTs seem fine, just not for Noggit anymore :/

Latest tail from the log:

Code: [Select]
8945 - (MapTile.cpp:304): [Debug] Done loading tile 31,32.
8947 - (MapTile.cpp:56): Opening tile 32, 32 ("WorldMapsmonsunemonsune_32_32.adt") from disk.
9081 - (MapTile.cpp:304): [Debug] Done loading tile 32,32.
9083 - (MapTile.cpp:56): Opening tile 33, 32 ("WorldMapsmonsunemonsune_33_32.adt") from disk.
9142 - (MapTile.cpp:304): [Debug] Done loading tile 33,32.
9146 - (Video.cpp:230): [Error] OpenGL: (at Model::draw:: after the draw list): GL_INVALID_VALUE
9150 - (errorHandling.h:64): [Error] There was an exception of type "SIGSEGV"
"Invalid storage access; most frequently caused by attempting to store some value in an object pointed to by a bad pointer. (Segment violation.)".
Please excuse the inconvenience. You may want to report this error including the log to the developers.

9151 - (StackWalker.cpp:1133): [Error] OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
9256 - (StackWalker.cpp:1133): [Error] 012B3B8C (noggit): (filename not available): (function-name not available)
9256 - (StackWalker.cpp:1133): [Error] 0127D53B (noggit): (filename not available): (function-name not available)
9256 - (StackWalker.cpp:1133): [Error] 6B8B4DE1 (ucrtbase): (filename not available): seh_filter_exe
9256 - (StackWalker.cpp:1133): [Error] 012BC4D6 (noggit): (filename not available): (function-name not available)
9256 - (StackWalker.cpp:1133): [Error] 74FC33CA (kernel32): (filename not available): BaseThreadInitThunk
9256 - (StackWalker.cpp:1133): [Error] 77209ED2 (ntdll): (filename not available): RtlInitializeExceptionChain
9256 - (StackWalker.cpp:1133): [Error] 77209EA5 (ntdll): (filename not available): RtlInitializeExceptionChain

EDIT:

I tried loading 2 other maps and they loaded just fine. Then i went again to try my map and... it loaded, too. I tried like 10 times before and no luck but it easily loaded after i tried a few others. Is this a known behaviour of Noggit? Like it needed a kind of cleanup of some buffers or something which happened when loading those other maps? I just don't want to get stucked again...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [NOGGIT] My map won't open anymore with newest SDL
« Reply #1 on: June 26, 2016, 11:26:09 am »
Have you been doing some texture swapping recently? If yes, try to open that part of map in 1.2 SDL. If doesn't crash there, you have bugged "empty" white texture somewhere, created by some sort of bug in texture swapper I haven't been able to reproduce and report yet. I just know that 1.2 SDL (or was it 1.3? I don't know for sure now) ws capable of opening ADTs with such bug and you can use it to swap that bugged empty white texture for some real texture.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

monsune

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [NOGGIT] My map won't open anymore with newest SDL
« Reply #2 on: June 27, 2016, 05:07:11 pm »
Yes indeed, i was playing with terrain and swapping a little. Maybe it is related to texture swapping in fact and the empty (white) texture bug. Even though it wasn't visible this time it could still happen that some texture was swapped out improperly. I will definitely test with older version to see how it loads and let you know! Thanks alot!

Today my map didn't open again in latest SDL and caused Noggit to quit but this time i didn't bang it and just tried to load another map (went fine) and then my map again... which worked at once. I exit my map then and tried loading it again (without quitting Noggit) - no problem. I then quit Noggit and started it and tried to load my map - it failed to load! So i tried the previous map and it worked. And after that my map again and it also worked! So this is like 100% working solution but questions remain: how does it work and why does it work and why it stops working when i quit Noggit and then i need to "refresh" with that other map before i can load mine and it holds until i quit Noggit? Hope this will help coders to track down the issue.

BTW the bug in texture swapper is critical imho and should be taken care of with highest priority possible.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Adspartan

  • Noggit Developer
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
Re: [NOGGIT] My map won't open anymore with newest SDL
« Reply #3 on: June 27, 2016, 05:59:38 pm »
The empty texture bug doesn't (and can't) come from the texture swapper.
It was possible to get it when deleting a texture with the right conditions, but I fixed that here : https://bitbucket.org/berndloerwald/nog ... 8f89f80313
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Legion > Wotlk converter
Follow noggit dev/report bugs here

monsune

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [NOGGIT] My map won't open anymore with newest SDL
« Reply #4 on: June 27, 2016, 11:32:16 pm »
This is just GREAT. Thanks alot for fixing this one. Together with other cool fixes it makes me want to compile new Noggit now instead of waiting for another release :) (i wouldn't really mind if you decided to release newer builds on a regular basis though). And my apologies for connecting the bug with swapper while it didn't belong in there. It just felt like that as you could see it when swapping.

And how about the "my map doesn't open on freshly started Noggit SDL if i don't open another map before" bug? Is there a hope that you see where the problem comes from based on my poor explanation? I would happily help testing possible solutions. This is kinda strange and funny at the same time that opening another map causes Noggit to skip seeing a problem for the whole session (but not longer).

Code: [Select]
9146 - (Video.cpp:230): [Error] OpenGL: (at Model::draw:: after the draw list): GL_INVALID_VALUE
9150 - (errorHandling.h:64): [Error] There was an exception of type "SIGSEGV"
So it can't handle a model initially on my map but when i open another (original) map (possibly containing that model but i don't know what model it means or if it matters at all) then it will work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »