Page 1 of 1

Crash in con-handler.kmod

PostPosted: Tue Jan 03, 2017 12:32 am
by Raziel
Yeah, yeah, i now, i shouldn't tinker with that, but i'm curious...like my neighbors cat...who died last week..oh, well, here we go

1) Open a shell
2) type "sys:kickstart/con-handler.kmod"
3) Enjoy a crash

It's probably crashing because i'm using the con-handler, but i don't know, at least it shouldn't crash

crashlog
Code: Select all
Crash log for task "con-handler.kmod"
Generated by GrimReaper 53.19
Crash occured in module con-handler.kmod at address 0x7D0779F0
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003

Register dump:
GPR (General Purpose Registers):
   0: 00000000 46CF6EF0 5D17A00C 02973054 00000000 00000000 00000000 000001CD
   8: 00000000 0000FFFE 5C900CA0 000F9FF8 22844484 5D17A000 472B29B4 5D58F570
  16: 02B30000 DF9F5F00 02B30000 4F070000 472B29B0 00000000 5C900CFC 5C900CA0
  24: 00000000 22844442 00000000 22844442 22844442 02973054 00000000 5D16E000


FPR (Floating Point Registers, NaN = Not a Number):
   0:     2.81365e+140     -2.72424e-98     -2.72424e-98      2.8137e+140
   4:     -2.72424e-98     -2.72424e-98     2.81374e+140     -2.72424e-98
   8:     -2.72424e-98     2.81378e+140     -2.72424e-98     -2.72424e-98
  12:     2.81383e+140     -2.72424e-98     -2.72424e-98     2.81387e+140
  16:     -2.72424e-98     -2.72424e-98     2.81391e+140     -2.72424e-98
  20:     -2.72424e-98     2.81396e+140     -2.72424e-98     -2.72424e-98
  24:       2.814e+140     -2.72424e-98     -2.72424e-98     2.81404e+140
  28:     -2.72424e-98     -2.72424e-98     2.81409e+140     -2.72424e-98

FPSCR (Floating Point Status and Control Register): 0x5D17A000


SPRs (Special Purpose Registers):
           Machine State (msr) : 0x0000D030
                Condition (cr) : 0x4E6CA34C
      Instruction Pointer (ip) : 0x7D0779F0
       Xtended Exception (xer) : 0x46BF8018
                   Count (ctr) : 0x6FF464D0
                     Link (lr) : 0x7FAFE920
            DSI Status (dsisr) : 0x46BF7DD0
            Data Address (dar) : 0x021AC4E8



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0:                0                0                0                0
FPU4:                0                0                0                0



Symbol info:
Instruction pointer 0x7D0779F0 belongs to module "con-handler.kmod" (PowerPC)
Symbol: _start + 0x168 in section 1 offset 0x000059CC

Stack trace:
    con-handler.kmod:_start()+0x168 (section 1 @ 0x59CC)
    con-handler.kmod:_start()+0x144 (section 1 @ 0x59A8)
    native kernel module kernel+0x000420ac
    native kernel module kernel+0x000420f4

PPC disassembly:
 7d0779e8: 4e800421   bctrl             
 7d0779ec: 809f0088   lwz               r4,136(r31)
*7d0779f0: 80040014   lwz               r0,20(r4)
 7d0779f4: 2f800000   cmpwi             cr7,r0,0
 7d0779f8: 419e0018   beq-              cr7,0x7D077A10

System information:

CPU
 Model: P.A. Semi PWRficient PA6T-1682M VB1
 CPU speed: 1800 MHz
 FSB speed: 900 MHz
 Extensions: altivec

Machine
 Machine name: AmigaOne X1000
 Memory: 2097152 KB
 Extensions: bus.pci bus.pcie


EDIT: Crash can be ignored, then this will come up in shell: ***Command 'con-handler.kmod' returned with freed signals 00000001!

Re: Crash in con-handler.kmod

PostPosted: Tue Jan 03, 2017 7:15 am
by tonyw
I can fix this easily, but I can't do anything about the cat, sorry.

Thanks for pointing it out. That should have been made an error return back in the 68K days.

Re: Crash in con-handler.kmod

PostPosted: Tue Jan 03, 2017 12:22 pm
by Raziel
tonyw wrote:I can fix this easily, but I can't do anything about the cat, sorry.

Thanks for pointing it out. That should have been made an error return back in the 68K days.

:-)

Thank you

...and might i also say thank you for the quick responses, i like that :-)

Re: Crash in con-handler.kmod

PostPosted: Tue Jan 10, 2017 7:22 am
by tonyw
V53.79 of con-handler now fixes this issue.

Re: Crash in con-handler.kmod

PostPosted: Tue Jan 17, 2017 3:50 pm
by Raziel
Thank you, tony