Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 5, 2010, 17:57   #11
Nightmarjoo
Adept
 
Nightmarjoo's Avatar
 
Join Date: May 2007
Location: Ohio, US
Posts: 104
Nightmarjoo is on a distinguished road
Send a message via AIM to Nightmarjoo Send a message via MSN to Nightmarjoo
I downloaded the newest nightly (r1884) created a character without changing options, turned debug mode on and got myself a great digger and dug to the bottom of the level and tried running into the wall to see how this nightly would react, and it didn't crash. So I changed the options to my normal options, and it crashed. Some quick experimentation showed that the game did not crash when "Map remembers all torch lit grids" (view_torch_grids) was on, and did crash when it was off.
__________________
My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

Damned be those who use High Elves, for they are the race of the weak!
Nightmarjoo is offline   Reply With Quote
Old January 8, 2010, 13:38   #12
Nightmarjoo
Adept
 
Nightmarjoo's Avatar
 
Join Date: May 2007
Location: Ohio, US
Posts: 104
Nightmarjoo is on a distinguished road
Send a message via AIM to Nightmarjoo Send a message via MSN to Nightmarjoo
Nevermind, r1886 still crashing even with remember torch lit squares on. I thought maybe it had to do with not being able to see the permament wall from where you're running from (with remember torchlit squares on), but that's not the case.

It's definitely not happening with the top row though.
__________________
My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

Damned be those who use High Elves, for they are the race of the weak!

Last edited by Nightmarjoo; January 8, 2010 at 13:49.
Nightmarjoo is offline   Reply With Quote
Old January 9, 2010, 13:38   #13
Faust
Adept
 
Faust's Avatar
 
Join Date: Apr 2007
Posts: 129
Faust is on a distinguished road
I've been testing in the town with r1886 (trying one block at a time) and it seems that it isn't every square that is affected but only some of them. The top right always triggers a crash for me and then roughly every 1 in 3 squares (still haven't triggered it on the bottom).
Faust is offline   Reply With Quote
Old January 9, 2010, 18:10   #14
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by Faust View Post
I've been testing in the town with r1886 (trying one block at a time) and it seems that it isn't every square that is affected but only some of them. The top right always triggers a crash for me and then roughly every 1 in 3 squares (still haven't triggered it on the bottom).
Presumably you are all obedient Microsoft users? I cannot reproduce this on Linux at all, so assume it must be some obscure Windows memory management bug. If anyone on a non-Windows platform can reproduce this, please shout ASAP.
Magnate is offline   Reply With Quote
Old January 9, 2010, 22:59   #15
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,066
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Magnate View Post
Presumably you are all obedient Microsoft users? I cannot reproduce this on Linux at all, so assume it must be some obscure Windows memory management bug. If anyone on a non-Windows platform can reproduce this, please shout ASAP.
Much as I prefer pretty much any other OS to Windows, I have to say it may well not be a Windows problem. Linux will often allow you to do things you shouldn't really, where Windows will object. It sounds to me like an array overrun, but the inconsistency is hard to fathom.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 9, 2010, 23:38   #16
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,660
Donated: $40
Pete Mack is on a distinguished road
Nick's right. And if it is a memory bug, Linux valgrind should find it. (I know that it gets used from time to time to track down this kind of thing.)

Alternatively you could run it from gcc and find out where the crash occurs.
Pete Mack is offline   Reply With Quote
Old January 10, 2010, 00:46   #17
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
So valgrind did detect some shady memory access in pathfind.c.

I have committed a band-aid fix in r1887, which should help Windows users. That said, it would be good to have a better fix in place eventually.

Please let me know if this fixes the problems on Windows (or doesn't fix them, or causes other problems, ...)
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old January 10, 2010, 01:12   #18
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,660
Donated: $40
Pete Mack is on a distinguished road
@Nick--
Up until Oct 22 I would have agreed with you--Windows is a drag. Windows 7 is what Vista should have been, but wasn't.
Pete Mack is offline   Reply With Quote
Old January 10, 2010, 01:30   #19
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 8,066
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by Pete Mack View Post
Windows 7 is what Vista should have been, but wasn't.
Yeah - I've used it a little, and it seems reasonable. I still prefer both OSX and Ubuntu so far, though.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 10, 2010, 13:56   #20
Faust
Adept
 
Faust's Avatar
 
Join Date: Apr 2007
Posts: 129
Faust is on a distinguished road
r1887 seems to have fixed it.
Faust is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.