|
|
#1 |
|
Angband Devteam member
|
Untraceable bug in dev versions - help!
I think I've found a bug which is in the most recent dev version and also in the 3.3-release branch, but is not in 3.3.0. The ticket is http://trac.rephial.org/ticket/1536. Every time I use a wand, staff or rod it is instantly IDd.
If you are playing the most recent dev version and do not see this behaviour, please post a savefile. If you notice it start or stop happening, please describe. If you happen to have any ideas about what's caused it, please let me know. If you're using git and you type git log -p 3.3-release ^v3.3.0 you can see every single line of code which has been changed since 3.3.0 was released - there aren't many and I can't see anything in there which is remotely related, but maybe someone else can. (You do need an up-to-date local 3.3-release branch to do this: git fetch official ; git checkout official/3.3-release ; git checkout -b 3.3-release) EDIT: I'm asking for help because this is the last serious bug holding up the release of 3.3.1 ...
__________________
"3.2 is way too easy. 3.3 is not much better, but it is a step to right direction." - Timo Pietila |
|
|
|
|
|
#2 |
|
Swordsman
Join Date: Sep 2010
Location: England
Posts: 384
![]() |
I downloaded the latest nightly, and yes, I get this behaviour. If it helps, I can confirm that it was introduced since the September 5th (g005ced9) nightly - that's the version I've been playing, and it doesn't have this bug.
Last edited by Nomad; September 19, 2011 at 10:46. |
|
|
|
|
|
#3 |
|
Angband Devteam member
|
That does help - thank you. I've still no idea how it was introduced, but at least you've narrowed it down.
__________________
"3.2 is way too easy. 3.3 is not much better, but it is a step to right direction." - Timo Pietila |
|
|
|
|
|
#4 |
|
Veteran
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 2,295
![]() |
bug seems to be introduced in 87b2b3c3d, the fix for #1533
edit: aiming a wand seems to call project_p which includes the new line. Code:
if (who == -1) return obvious; This fix was in respect to a crash bug in Openbsd, so it's hard to judge what needs to be done without reintroducing the original bug. Last edited by fizzix; September 19, 2011 at 16:07. |
|
|
|
|
|
#5 | |
|
Angband Devteam member
|
Quote:
This shouldn't be too hard to fix now you've identified the problem. I'll try and sort it out tonight. I am confident of not reintroducing the original bug (which was an invalid call to cave_monster). EDIT: fixed in f6b7d3f
__________________
"3.2 is way too easy. 3.3 is not much better, but it is a step to right direction." - Timo Pietila Last edited by Magnate; September 19, 2011 at 16:58. |
|
|
|
|
|
|
#6 |
|
Swordsman
Join Date: Jun 2007
Posts: 339
![]() |
I realize that this has already been fixed, but...
Magnate, you should really try "git bisect". It usually makes tracking down this kind of thing pretty easy. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A question to the dev team regarding new ID-by-use (possible bug) | PowerWyrm | Vanilla | 3 | August 27, 2010 17:30 |
| Using nightly/dev versions | Magnate | Vanilla | 2 | September 1, 2009 19:33 |
| Dev Bug | rdermyer | Vanilla | 13 | December 24, 2008 02:49 |
| Fear Bug In Dev Version | LordArcher | Vanilla | 2 | November 30, 2008 20:04 |
| [Dev] major Fear bug. | Irashtar | Vanilla | 1 | August 31, 2008 03:03 |