Opened 8 years ago

Closed 8 years ago

#1209 closed bug (fixed (in master))

Games crashes when activating an artifact for probing

Reported by: ycombinator Owned by:
Milestone: 3.2.0 Keywords: items
Cc:

Description

git commit 2a02f055, Linux/amd64 build.

Savefile attached. After activating wielded weapon for probing game crashes with NULL reference in activation_message function (see stack trace).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f78ddc64750 (LWP 6654)]
0x00007f78dcbbe570 in strchr () from /lib/libc.so.6
(gdb) bt
#0  0x00007f78dcbbe570 in strchr () from /lib/libc.so.6
#1  0x000000000041e989 in activation_message (o_ptr=0x7f78cc1b4c68, 
    message=0x0) at cmd-obj.c:134
#2  0x000000000041f855 in do_cmd_use (code=CMD_ACTIVATE, args=0x7fff8358ade8)
    at cmd-obj.c:586
#3  0x000000000042e477 in process_command (ctx=CMD_GAME, no_request=false)
    at game-cmd.c:431
#4  0x0000000000422892 in process_player () at dungeon.c:1088
#5  0x00000000004231b5 in dungeon () at dungeon.c:1510
#6  0x00000000004237dc in play_game () at dungeon.c:1835
#7  0x00000000004c15d7 in main (argc=1, argv=0x7fff8358afd8) at main.c:465

Attachments (1)

1000.Rooslan (58.0 KB) - added by ycombinator 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by ycombinator

comment:1 Changed 8 years ago by takkaria

fixed in [014a291], will close when out of staging.

comment:2 Changed 8 years ago by magnate

  • Keywords items added
  • Milestone changed from Triage to 3.2.0
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.