elunna / NerfHack

The official rewrite of Hack'EM rebased on NetHack 3.7
2 stars 0 forks source link

tame shadow ogre is not peaceful (fmon) #32

Closed elunna closed 2 months ago

elunna commented 3 months ago
Suddenly, the dungeon collapses.
tame shadow ogre is not peaceful (fmon)
  Generating more information you may report:

[00] /lib/x86_64-linux-gnu/libasan.so.6(+0x45c0e) [0x7ffff7603c0e]
[01] /home/user/games/nerfhackdir/nerfhack(NH_panictrace_libc+0xf9) [0x555555cd7592]
[02] /home/user/games/nerfhackdir/nerfhack(NH_abort+0xfa) [0x5555559916c8]
[03] /home/user/games/nerfhackdir/nerfhack(panic+0x6a6) [0x5555559868b6]
[04] /home/user/games/nerfhackdir/nerfhack(impossible+0x2ee) [0x555555c5c950]
[05] /home/user/games/nerfhackdir/nerfhack(sanity_check_single_mon+0x62f) [0x555555b05df7]
[06] /home/user/games/nerfhackdir/nerfhack(mon_sanity_check+0x5f) [0x555555b07459]
[07] /home/user/games/nerfhackdir/nerfhack(sanity_check+0xab) [0x555555ec1ac1]
[08] /home/user/games/nerfhackdir/nerfhack(moveloop_core+0x157) [0x5555557a6c0a]
[09] /home/user/games/nerfhackdir/nerfhack(moveloop+0x21) [0x5555557a968e]
[10] /home/user/games/nerfhackdir/nerfhack(main+0xb07) [0x555555f15403]
[11] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7ffff7269d90]
[12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7ffff7269e40]
[13] /home/user/games/nerfhackdir/nerfhack(_start+0x25) [0x5555557a6175]

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737339570112) at ./nptl/pthread_kill.c:44
44  ./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737339570112) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737339570112) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737339570112, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7282476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff72687f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00005555559916ee in NH_abort (why=0x7fffffffd1c0 "tame shadow ogre is not peaceful (fmon)") at end.c:1959
#6  0x00005555559868b6 in panic (str=0x5555560f8340 "%s") at end.c:468
#7  0x0000555555c5c950 in impossible (s=0x555556095240 "tame %s is not peaceful (%s)") at pline.c:609
#8  0x0000555555b05df7 in sanity_check_single_mon (mtmp=0x611000a28cc0, chk_geno=1 '\001', msg=0x555556095cc0 "fmon") at mon.c:107
#9  0x0000555555b07459 in mon_sanity_check () at mon.c:246
#10 0x0000555555ec1ac1 in sanity_check () at wizcmds.c:1441
#11 0x00005555557a6c0a in moveloop_core () at allmain.c:189
#12 0x00005555557a968e in moveloop (resuming=0 '\000') at allmain.c:566
#13 0x0000555555f15403 in main (argc=4, argv=0x7fffffffdf68) at ../sys/unix/unixmain.c:323

(gdb) p u.umonster
$1 = 376

(gdb) p *mtmp
$4 = {nmon = 0x6110007c85c0, data = 0x55555643fc20 <mons+25984>, m_id = 32949, mnum = 232, cham = -1, movement = 12, m_lev = 12 '\f', malign = 7 '\a', mx = 33, my = 15, mux = 35, muy = 18, mtrack = {{x = 0, y = 0}, {
      x = 0, y = 0}, {x = 0, y = 0}, {x = 0, y = 0}}, mhp = 63, mhpmax = 69, mappearance = 0, m_ap_type = 0 '\000', mtame = 10 '\n', mintrinsics = 0, mextrinsics = 0, seen_resistance = 0, mspec_used = 0, female = 0, 
  minvis = 1, invis_blkd = 0, perminvis = 1, mcan = 0, mburied = 0, mundetected = 0, mcansee = 1, mspeed = 1, permspeed = 1, mrevived = 0, mcloned = 0, mavenge = 0, mflee = 0, mfleetim = 0, msleeping = 0, 
  mblinded = 0, mstun = 0, mfrozen = 0, mcanmove = 1, mconf = 0, mpeaceful = 0, mtrapped = 0, mleashed = 0, isshk = 0, isminion = 0, isgd = 0, ispriest = 0, iswiz = 0, wormno = 0, mtemplit = 0, meverseen = 0, 
  mwither_from_u = 0, mberserk = 1, mspotted = 0, mwither = 0 '\000', mstrategy = 0, mtrapseen = 0, mlstmv = 69911, mstate = 0, migflags = 0, mspare1 = 0, minvent = 0x0, mw = 0x0, misc_worn_check = 0, 
  weapon_check = 1, former_rank = '\000' <repeats 24 times>, meating = 0, msummoned = 33, mreflecttime = 0, mprotection = 0 '\000', mprottime = 0 '\000', mextra = 0x6060035ea6c0}
elunna commented 3 months ago

Most likely occurring while playing the cartomancer - that should be the only time msummoned monsters appear.