Duplicate found while filtering item list
issueid=4991 09-16-2017 12:31 AM
Qui Qui is offline
Senior Member
Number of reported issues by Qui: 94
Duplicate found while filtering item list

Crashed when I was standing on item stack and wanted to pick them up. Interestingly, there was a scroll shop on the same level, and I might have bought a blank scroll there.

(note: this is from DOS version run on DOSBOX on Linux)

EDIT: The game managed to save before crashing (great job Thomas!) so I loaded and now I have 21474386481 strange extra-heavy cooked daggers ","2":-1,"4":2324774," (+0, 1d1) [816043786280s] That's awesome and/or terrifying.
EDIT2: It crashed and didn't save when I tried to leave inventory :(.

Code:
Basic ADOM Bug Report Data
--------------------------

Version 2.3.0 (DOS, Windows xyz, OS/2)
Error: Duplicate found while filtering item list (uncursed blank scroll).


Partial Game State Dump
-----------------------
pcx: 69, pcy: 14, pcl: 13, pcr: 5, pcc: 6, pcms: 2194
pcpc: -1109, pcpn: -3546, pcpl: 23699, pcmov: 18305, pcmovl: 179
pcs: 426600, pcp: 0, pcdv: 8, pcst: 822, pcil: -1, pcmil: -1
mdl: 11, sdl: 0, linfo: -1, kol: 12, ala: 0, bp: 0
ftis: 0, st: 18, hv: 82, sp: 58878, sa: 0, sre: 1
sgx: 71, sgy: 8
ht: 0, hthere: 0, hp: 0, hx: 0, hy: 0, ha: 0
mt: 0, sc: 0, tuid: 2363868
[L: 1,0:V] (0D { 2, 0}) (0U { 4, 1}) (1D { 1, 1}) [L: 1,1:V] (1D { 3, 0}) (1U { 1, 0}) [L: 1,2:U] (0D { 2, 2}) (0U { 4, 1}) [L: 1,3:U] (0D { 2, 3}) (0U { 4, 1}) [L: 1,4:V] (0D { 2, 4}) (0U { 4, 1}) [L: 1,5:U] (0D { 2, 5}) (0U { 4, 1}) 
[L: 2,0:V] (0D { 3, 0}) (0U { 1, 0}) [L: 2,1:U] (0D { 3, 1}) (1U {13, 0}) [L: 2,2:U] (0D { 3, 2}) (0U { 1, 2}) [L: 2,3:U] (0D { 3, 3}) (0U { 1, 3}) (1D { 9, 3}) [L: 2,4:V] (0D { 3, 4}) (0U { 1, 4}) [L: 2,5:U] (0D { 3, 5}) (0U { 1, 5}) 
[L: 3,0:V] (0D { 4, 0}) (0U { 2, 0}) (1U { 1, 1}) [L: 3,1:U] (0U { 2, 1}) (1D {15, 0}) [L: 3,2:U] (0D { 4, 2}) (0U { 2, 2}) [L: 3,3:U] (0D { 4, 3}) (0U { 2, 3}) (1D {17, 3}) [L: 3,4:V] (0D { 4, 4}) (0U { 2, 4}) [L: 3,5:U] (0D { 4, 5}) (0U { 2, 5}) 
[L: 4,0:V] (0D { 5, 0}) (0U { 3, 0}) [L: 4,1:V] (0D {15, 5}) (0U {30, 1}) (1D {38, 1}) (1U {16, 2}) [L: 4,2:U] (0D { 5, 2}) (0U { 3, 2}) [L: 4,3:U] (0D { 5, 3}) (0U { 3, 3}) (1D {18, 3}) [L: 4,4:V] (0D { 5, 4}) (0U { 3, 4}) [L: 4,5:U] (0D { 5, 5}) (0U { 3, 5}) 
[L: 5,0:V] (0D { 6, 0}) (0U { 4, 0}) [L: 5,2:U] (0D { 6, 2}) (0U { 4, 2}) [L: 5,3:U] (0D { 6, 3}) (0U { 4, 3}) (1D {20, 3}) [L: 5,4:V] (0D { 6, 4}) (0U { 4, 4}) [L: 5,5:U] (0U { 4, 5}) 
[L: 6,0:V] (0D { 7, 0}) (0U { 5, 0}) [L: 6,1:U] (0U { 4, 1}) [L: 6,2:U] (0D { 7, 2}) (0U { 5, 2}) [L: 6,3:U] (0D { 7, 3}) (0U { 5, 3}) (1D {22, 3}) [L: 6,4:V] (0D { 7, 4}) (0U { 5, 4}) [L: 6,5:U] (0U { 4, 1}) 
[L: 7,0:V] (0D { 8, 0}) (0U { 6, 0}) [L: 7,1:U] (0D { 8, 1}) (0U { 4, 1}) [L: 7,2:U] (0U { 6, 2}) [L: 7,3:U] (0D { 8, 3}) (0U { 6, 3}) [L: 7,4:V] (0D { 8, 4}) (0U { 6, 4}) [L: 7,5:U] (0D { 8, 5}) (1U {17, 4}) 
[L: 8,0:V] (0D { 9, 0}) (0U { 7, 0}) [L: 8,1:U] (0U { 7, 1}) [L: 8,2:V] (0D { 9, 2}) (0U {28, 1}) [L: 8,3:U] (0U { 7, 3}) [L: 8,4:V] (0D { 9, 4}) (0U { 7, 4}) [L: 8,5:U] (0D { 9, 5}) (0U { 7, 5}) 
[L: 9,0:V] (0D {10, 0}) (0U { 8, 0}) [L: 9,1:U] (0D {10, 1}) (0U { 4, 1}) [L: 9,2:V] (0D {10, 2}) (0U { 8, 2}) [L: 9,3:U] (0D {10, 3}) (1D {11, 3}) (1U { 2, 3}) [L: 9,4:V] (0D {10, 4}) (0U { 8, 4}) [L: 9,5:U] (0D {10, 5}) (0U { 8, 5}) 
[L: 10,0:V] (0D {11, 0}) (0U { 9, 0}) [L: 10,1:U] (0D {11, 1}) (0U { 9, 1}) [L: 10,2:V] (0D {11, 2}) (0U { 9, 2}) [L: 10,3:U] (0D {12, 3}) (0U { 9, 3}) [L: 10,4:V] (0D {11, 4}) (0U { 9, 4}) [L: 10,5:U] (0U { 9, 5}) 
[L: 11,0:V] (0D {12, 0}) (0U {10, 0}) [L: 11,1:U] (0D {12, 1}) (0U {10, 1}) [L: 11,2:V] (0D {12, 2}) (0U {10, 2}) [L: 11,3:U] (0D {13, 3}) (1D {19, 3}) (1U { 9, 3}) [L: 11,4:V] (0D {12, 4}) (0U {10, 4}) [L: 11,5:U] (0D {12, 5}) (0U { 4, 1}) 
[L: 12,0:U] (0D {13, 0}) (0U {11, 0}) [L: 12,1:U] (0D {13, 1}) (0U {11, 1}) [L: 12,2:V] (0D {13, 2}) (0U {11, 2}) [L: 12,3:U] (0D {14, 3}) (0U {10, 3}) (1U {17, 3}) [L: 12,4:V] (0U {11, 4}) [L: 12,5:U] (0D {13, 5}) (0U {11, 5}) 
[L: 13,0:U] (0D {14, 0}) (0U {12, 0}) (1D { 2, 1}) [L: 13,1:U] (0D {14, 1}) (0U {12, 1}) [L: 13,2:V] (0D {14, 2}) (0U {12, 2}) [L: 13,3:U] (0D {15, 3}) (0U {11, 3}) (1D {16, 3}) [L: 13,4:U] (0D {14, 4}) (0U { 4, 1}) [L: 13,5:U] (0D {14, 5}) (0U {12, 5}) 
[L: 14,0:U] (0D {15, 0}) (0U {13, 0}) [L: 14,1:U] (0D {15, 1}) (0U {13, 1}) [L: 14,2:V] (0D {15, 2}) (0U {13, 2}) [L: 14,3:U] (0U {12, 3}) [L: 14,4:U] (0D {15, 4}) (0U {13, 4}) [L: 14,5:U] (0U {13, 5}) 
[L: 15,0:U] (0D {16, 0}) (0U {14, 0}) (1U { 3, 1}) [L: 15,1:U] (0U {14, 1}) [L: 15,2:V] (0U {14, 2}) (1U { 4, 1}) [L: 15,3:U] (0D {21, 3}) (0U {13, 3}) [L: 15,4:U] (0D {16, 4}) (0U {14, 4}) [L: 15,5:U] (0D {16, 5}) (0U { 4, 1}) 
[L: 16,0:U] (0D {17, 0}) (0U {15, 0}) [L: 16,1:U] (0U {22, 2}) [L: 16,2:V] (0U { 4, 1}) (1D { 4, 1}) [L: 16,3:U] (1U {13, 3}) [L: 16,4:U] (0D {17, 4}) (0U {15, 4}) [L: 16,5:U] (0D {17, 5}) (0U {15, 5}) 
[L: 17,0:U] (0D {18, 0}) (0U {16, 0}) [L: 17,1:U] (0U { 4, 1}) [L: 17,3:U] (1D {12, 3}) (1U { 3, 3}) [L: 17,4:U] (0U {16, 4}) (1D { 7, 5}) [L: 17,5:U] (0D {18, 5}) (0U {16, 5}) 
[L: 18,0:U] (0D {19, 0}) (0U {17, 0}) [L: 18,1:U] (0D {19, 1}) (0U { 4, 1}) [L: 18,2:U] (0D {19, 2}) (0U { 4, 1}) [L: 18,3:U] (1U { 4, 3}) [L: 18,4:U] (0D {19, 4}) (0U { 4, 1}) [L: 18,5:U] (0D {19, 5}) (0U {17, 5}) 
[L: 19,0:U] (0D {20, 0}) (0U {18, 0}) [L: 19,1:U] (0U {18, 1}) (1D {32, 0}) [L: 19,2:U] (0D {20, 2}) (0U {18, 2}) [L: 19,3:U] (1U {11, 3}) [L: 19,4:U] (0D {20, 4}) (0U {18, 4}) [L: 19,5:U] (0D {20, 5}) (0U {18, 5}) 
[L: 20,0:U] (0D {21, 0}) (0U {19, 0}) [L: 20,1:U] (0U { 4, 1}) [L: 20,2:U] (0D {21, 2}) (0U {19, 2}) [L: 20,3:U] (0D {22, 3}) (1D {21, 3}) (1U { 5, 3}) [L: 20,4:U] (0D {21, 4}) (0U {19, 4}) [L: 20,5:U] (0D {21, 5}) (0U {19, 5}) 
[L: 21,0:U] (0D {22, 0}) (0U {20, 0}) [L: 21,1:U] (0U { 4, 1}) [L: 21,2:U] (0D {22, 2}) (0U {20, 2}) [L: 21,3:U] (0U {15, 3}) (1U {20, 3}) [L: 21,4:U] (0D {22, 4}) (0U {20, 4}) [L: 21,5:U] (0D {22, 5}) (0U {20, 5}) 
[L: 22,0:U] (0D {23, 0}) (0U {21, 0}) [L: 22,1:U] (0U { 4, 1}) [L: 22,2:U] (0D {16, 1}) (0U {21, 2}) [L: 22,3:U] (0U {20, 3}) (1U { 6, 3}) [L: 22,4:U] (0D {23, 4}) (0U {21, 4}) [L: 22,5:U] (0D {23, 5}) (0U {21, 5}) 
[L: 23,0:U] (0D {24, 0}) (0U {22, 0}) [L: 23,1:U] (0D { 4, 1}) (0U {24, 1}) [L: 23,2:U] (0D {24, 2}) (0U { 4, 1}) [L: 23,3:U] (0D {24, 3}) (0U { 4, 1}) [L: 23,4:U] (0D {24, 4}) (0U {22, 4}) [L: 23,5:U] (0D {24, 5}) (0U {22, 5}) 
[L: 24,0:U] (0D {28, 0}) (0U {23, 0}) [L: 24,1:U] (0D {23, 1}) (0U {25, 1}) [L: 24,2:U] (0D {25, 2}) (0U {23, 2}) [L: 24,3:U] (0U {23, 3}) [L: 24,4:U] (0D {25, 4}) (0U {23, 4}) [L: 24,5:U] (0D {25, 5}) (0U {23, 5}) 
[L: 25,0:U] (0D {26, 0}) (1D {29, 0}) [L: 25,1:U] (0D {24, 1}) (0U {26, 1}) [L: 25,2:U] (0D {26, 2}) (0U {24, 2}) [L: 25,4:U] (0D {26, 4}) (0U {24, 4}) [L: 25,5:U] (0D {26, 5}) (0U {24, 5}) 
[L: 26,0:U] (0D {27, 0}) (0U {25, 0}) [L: 26,1:U] (0D {25, 1}) [L: 26,2:U] (0D {27, 2}) (0U {25, 2}) [L: 26,3:U] (0D {27, 3}) (0U { 4, 1}) [L: 26,4:U] (0D {27, 4}) (0U {25, 4}) [L: 26,5:U] (0D {27, 5}) (0U {25, 5}) 
[L: 27,0:U] (0U {26, 0}) (1D {28, 0}) [L: 27,1:U] (0U { 4, 1}) [L: 27,2:U] (0D {28, 2}) (0U {26, 2}) [L: 27,3:U] (0D {28, 3}) (0U {26, 3}) [L: 27,4:U] (0D {28, 4}) (0U {26, 4}) [L: 27,5:U] (0D {28, 5}) (0U {26, 5}) 
[L: 28,0:U] (0U {24, 0}) (1U {27, 0}) [L: 28,1:V] (0D { 8, 2}) (0U { 4, 1}) [L: 28,2:U] (0U {27, 2}) [L: 28,3:U] (0U {27, 3}) [L: 28,4:U] (0D {29, 4}) (0U {27, 4}) [L: 28,5:U] (0D {29, 5}) (0U {27, 5}) 
[L: 29,0:U] (0D {30, 0}) (1U {25, 0}) [L: 29,2:U] (0D {30, 2}) (1U {46, 0}) [L: 29,4:U] (0D {30, 4}) (0U {28, 4}) [L: 29,5:U] (0D {30, 5}) (0U {28, 5}) 
[L: 30,0:U] (0D {31, 0}) (0U {29, 0}) [L: 30,1:U] (0D { 4, 1}) (0U {31, 1}) [L: 30,2:U] (0D {31, 2}) (0U {29, 2}) [L: 30,3:U] (0D {38, 3}) (1D {38, 3}) [L: 30,4:U] (0U {29, 4}) [L: 30,5:U] (0U {29, 5}) 
[L: 31,0:U] (0D {32, 0}) (0U {30, 0}) [L: 31,1:U] (0D {30, 1}) (0U {32, 1}) [L: 31,2:U] (0D {32, 2}) (0U {30, 2}) [L: 31,4:U] (0D {32, 4}) (0U { 4, 1}) 
[L: 32,0:U] (0D {33, 0}) (0U {31, 0}) (1U {19, 1}) [L: 32,1:U] (0D {31, 1}) [L: 32,2:U] (0D {33, 2}) (0U {31, 2}) (1D {36, 2}) [L: 32,4:U] (0D {33, 4}) (0U {31, 4}) 
[L: 33,0:U] (0D {34, 0}) (0U {32, 0}) [L: 33,2:U] (0D {34, 2}) (0U {32, 2}) [L: 33,4:U] (0U {32, 4}) 
[L: 34,0:U] (0D {35, 0}) (0U {33, 0}) [L: 34,1:U] (0D {35, 1}) (0U { 4, 1}) [L: 34,2:U] (0D {35, 2}) (0U {33, 2}) [L: 34,4:U] (0D {35, 4}) (0U { 4, 1}) 
[L: 35,0:U] (0D {36, 0}) (0U {34, 0}) [L: 35,1:U] (0D {36, 1}) (0U {34, 1}) [L: 35,2:U] (0U {34, 2}) [L: 35,4:U] (0D {36, 4}) (0U {34, 4}) 
[L: 36,0:U] (0D {37, 0}) (0U {35, 0}) [L: 36,1:U] (0D {37, 1}) (0U {35, 1}) [L: 36,2:U] (0D {37, 2}) (1U {32, 2}) [L: 36,4:U] (0D {37, 4}) (0U {35, 4}) 
[L: 37,0:U] (0D {38, 0}) (0U {36, 0}) [L: 37,1:U] (0D {38, 1}) (0U {36, 1}) [L: 37,2:U] (0D {38, 2}) (0U {36, 2}) [L: 37,4:U] (0D {38, 4}) (0U {36, 4}) 
[L: 38,0:U] (0D {39, 0}) (0U {37, 0}) [L: 38,1:U] (0D {39, 1}) (0U {37, 1}) (1U { 4, 1}) [L: 38,2:U] (0D {39, 2}) (0U {37, 2}) [L: 38,3:U] (0U {30, 3}) (1U {30, 3}) [L: 38,4:U] (0D {39, 4}) (0U {37, 4}) 
[L: 39,0:U] (0D {40, 0}) (0U {38, 0}) [L: 39,1:U] (0D {40, 1}) (0U {38, 1}) [L: 39,2:U] (0D {40, 2}) (0U {38, 2}) [L: 39,4:U] (0D {40, 4}) (0U {38, 4}) 
[L: 40,0:U] (0D {41, 0}) (0U {39, 0}) [L: 40,1:U] (0D {41, 1}) (0U {39, 1}) [L: 40,2:U] (0U {39, 2}) [L: 40,3:U] (0D {41, 3}) (0U { 4, 1}) [L: 40,4:U] (0U {39, 4}) 
[L: 41,0:U] (0D {42, 0}) (0U {40, 0}) [L: 41,1:U] (0D {42, 1}) (0U {40, 1}) [L: 41,2:U] (0U {50, 1}) [L: 41,3:U] (0D {42, 3}) (0U {40, 3}) 
[L: 42,0:U] (0D {43, 0}) (0U {41, 0}) [L: 42,1:U] (0U {41, 1}) [L: 42,2:U] (0D {43, 2}) (0U { 4, 1}) [L: 42,3:U] (0D {43, 3}) (0U {41, 3}) 
[L: 43,0:U] (0D {44, 0}) (0U {42, 0}) [L: 43,1:U] (0U { 4, 1}) [L: 43,2:U] (0D {44, 2}) (0U {42, 2}) [L: 43,3:U] (0D {44, 3}) (0U {42, 3}) 
[L: 44,0:U] (0D {45, 0}) (0U {43, 0}) [L: 44,1:U] (0D {48, 1}) (0U {48, 1}) [L: 44,2:U] (0D {45, 2}) (0U {43, 2}) [L: 44,3:U] (0D {45, 3}) (0U {43, 3}) 
[L: 45,0:U] (0D {46, 0}) (0U {44, 0}) [L: 45,2:U] (0D {46, 2}) (0U {44, 2}) [L: 45,3:U] (0U {44, 3}) 
[L: 46,0:U] (0D {47, 0}) (0U {45, 0}) (1D {29, 2}) [L: 46,1:U] (0U { 4, 1}) [L: 46,2:U] (0D {47, 2}) (0U {45, 2}) [L: 46,3:U] (0D {47, 3}) (0U { 4, 1}) 
[L: 47,0:U] (0D {48, 0}) (0U {46, 0}) [L: 47,1:U] (0U { 4, 1}) [L: 47,2:U] (0D {48, 2}) (0U {46, 2}) [L: 47,3:U] (0D {48, 3}) (0U {46, 3}) 
[L: 48,0:U] (0D {49, 0}) (0U {47, 0}) [L: 48,1:U] (0D {44, 1}) (0U {44, 1}) [L: 48,2:U] (0D {49, 2}) (0U {47, 2}) [L: 48,3:U] (0D {49, 3}) (0U {47, 3}) 
[L: 49,0:U] (0D {50, 0}) (0U {48, 0}) [L: 49,1:U] (0D {50, 1}) (0U { 4, 1}) [L: 49,2:U] (0D {50, 2}) (0U {48, 2}) [L: 49,3:U] (0D {50, 3}) (0U {48, 3}) 
[L: 50,0:U] (0U {49, 0}) [L: 50,1:U] (0D {41, 2}) (0U {49, 1}) [L: 50,2:U] (0U {49, 2}) [L: 50,3:U] (0U {49, 3})
Issue Details
Issue Number 4991
Project ADOM (Ancient Domains Of Mystery)
Category MS-DOS
Status Fixed
Priority 1 - Highest
Affected Version ADOM 2.3.0 (r73)
Fixed Version ADOM 2.3.2
Milestone Important Bugfixes
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




09-16-2017 11:21 AM
The Creator
Wow... I so dearly need a test case for this. Heard about it one or two times but never managed to reproduce it.

09-16-2017 03:35 PM
Senior Member
@Qui Do you use autopickup for scrolls?

09-16-2017 09:58 PM
Qui Qui is offline
Senior Member
I uploaded a backup from after the crash (managed to continue the game by immediately dropping that magical item) in case if it's of any use. Sadly, don't have one on which the issue can be recreated.

No, no autopickup at all in this game.

09-18-2017 11:09 AM
Ancient Member
I just got the same crash in 2.3.1. Error message:

Fatal error:
"Duplicate found while filtering item list (heap of 3 uncursed large rations)."
I hadn't entered any locations yet besides Terinyo, and was in Munxip's shop, and bought a couple of uncursed large rations. I checked my money and saw that I could still afford one uncursed large ration more. I also had an unpaid melon and loaf of dwarven bread in my inventory, but decided against bying them. When I tried dropping them with "d", the game crashed. I can't remember right now at which stage of buying the additional ration I was in - picking up or buying, whether I had it in my inventory or not. I also had Two_Column_Pick_Drop_Menu=false, to test it out.

I was also playing the DOS version in DOSBox, FYI just in case.

The game made an emergency save, so I attached that.

I tried loading the backup save, instantly crashed with this error:
*** CRITICAL INTERNAL ERROR:
*** Signal 291 was raised.
After asking me to write it down, it printed a bunch of data onto the console, a screenshot of which I attached.

09-20-2017 10:20 AM
Ancient Member
I managed to make a savegame in which I can reproduce it (Jokela.svg, MS-DOS). Follow these keypresses:

p - (pay)
b - (2 uncursed rations)
y - (yes)
4 - (west)
4 - (west)
4 - (west)
, - (pick up)
6 - (east)
p - (pay)
a - (first item in list)
y - (yes)
d - (drop)

09-20-2017 10:29 AM
jt jt is offline
Administrator
Great, this works! :) Thanks alot!

09-20-2017 11:53 AM
The Creator
Update: The hunt is over! The bug has been found thanks due to Laukkus observant skills as a tracker! And we slaughtered it! http://www.ancientdomainsofmystery.c...-231-help.html

So: Fixed.

@Laukku: Please email me at creator(at)ancientdomainsofmystery.com with your full name and real world mail address and we'll get the ADOM Lite RPG to you with the next shipment wave! Thanks a lot again!

+ Reply