Opened 3 years ago

Closed 3 years ago

#1907 closed bug (fixed (in master))

OSX-specific crash

Reported by: nckmccnnll Owned by:
Milestone: 4.0 Keywords:
Cc:

Description

A crash that occurs on OSX but not windows or linux - see http://angband.oook.cz/forum/showpost.php?p=100276&postcount=306

Change History (2)

comment:1 Changed 3 years ago by myshkin

I believe that this is the same issue that I described here. When the vampire dies, it drops objects, and drop_near() calls ignore_item_ok(), which eventually tries to access deleted object kinds.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x000000010006d2d7 in object_flavor_is_aware (obj=0x10986b4b8) at obj-identify.c:170
170		return obj->kind->aware;
(gdb) bt
#0  0x000000010006d2d7 in object_flavor_is_aware (obj=0x10986b4b8) at obj-identify.c:170
#1  0x0000000100071910 in object_is_ignored (obj=0x10986b4b8) at obj-ignore.c:545
#2  0x0000000100071a82 in ignore_item_ok (obj=0x10986b4b8) at obj-ignore.c:579
#3  0x000000010007cf5e in drop_near (c=0x1088633d8, j_ptr=0x10986b4b8, chance=0, y=47, x=143, verbose=true) at obj-pile.c:871
#4  0x000000010005bd08 in monster_death (mon=0x108600950, stats=false) at mon-make.c:1346
#5  0x000000010005c200 in mon_take_hit (mon=0x108600950, dam=65, fear=0x7fff5fbfe9af, note=0x0) at mon-make.c:1478

comment:2 Changed 3 years ago by nckmccnnll

  • Resolution set to fixed (in master)
  • Status changed from new to closed

Fixed in 9dbd803

Note: See TracTickets for help on using tickets.