OS4 DepotLogo by Kicko 
   Home     Recent     Search     Submit     Contact  
 Menu
 
 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Username

 Password


   Register here

 Main menu
   BBCode test
 
 Content
   ToDo List
   List Content
 
 
Support the site
 View crashlog
Application:    cinnamon writer
Short:    Missing proper error handling
OS4Depot Path:    office/wordprocessing/cinnamon_writer.lha
Version:    0.60
CreatedBy:    AlexC (76.90.122.106)    CreatedAt:    20081120 04:45
Crashlog URL:    http://crashlog.os4depot.net/cl96
Description:
Just gave a test spin and got a couple of DSI when it complained that it couldn't find truetype fonts.
After clicking "Continue" twice CW aborted.

I tried again with Snoopy running and found out that strangely it looks for fonts using something like:

System('list FONTS:_TrueType')

but that's bound to fail on my system as that drawer is empty. I keep the TT fonts in SYS:X/FONTS/_TrueType and have an assign like:

'assign ADD FONTS: SYS:X/FONTS'

The IGraphics->OpenFont() function and the ASL FontRequester can find all the fonts in FONTS: regardless of what locations FONTS: points to, but C:List can't as it resolves the assign to the first path only.

You could use C:List to build a list but in that case you'd have to first use 'Assign FONTS: EXISTS', and extract the list of targets from the output, and then call 'C:List' on each target to gather a list of all the fonts.
But even that method would be needlessly complicated as all the work is already done for you if you simply use IDiskFont->AvailFonts() ...

Anyhow, I then copied a few fonts to SYS:FONTS/_TrueType and launched CW again.

I wasn't sure if it had crashed or something as there was no cursor on the page even after clicking in the white area, and the RMB input was blocked so no menu appeared, not even the empty menu bar.

Clicking on the Open file icon brought up a requester so I knew it hadn't crashed and canceled it but then it brought it up again so I cancelled it again.

I then clicked on the text area again and got a cursor but as soon as I typed a character it crashed and that DSI couldn't be continued.

See crashlogs pasted below.

AlexC
Crashlog:
FIRST DSI - From List FONTS:

Machine State (verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on] 
Instruction pointer: 0x7D4B4CD4
Crashed process: CW 0.60 (0x6814E610)
DSI verbose error description: Access not found in hash or BAT (page fault)
Access was a load operation
 0: 7D414738 63DE9310 ABADCAFE 00000000 00000000 020924CC 19D4DB74 00000000
 8: 00000030 67790000 00000000 7D414720 35AD3A53 67791318 00000000 67790000
16: 00000096 00000226 FFFFFFFF FFB4427A FF89658E FF427AB4 FF82D61A FFCE8F12
24: FFF98D00 FFF1DA00 00000001 63D26148 00000000 63D2614C 00000000 63D261D4
CR: 35AD3A55   XER: A000CA7E  CTR: 7D414720  LR: 7D414738
DSISR: 40000000  DAR: 0000002C

FP0 : FFF8000082004000 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP4 : 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP8 : 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP12: 00EBF0F700EBF0F7 00EBF0F700EBF0F7 0000000000000000 0000000000000000
FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR: 82004000

Registers pointing to code:
r0 : module CW 0.60 at 0x7D414738 (section 5 @ 0x2718)
r5 : native kernel module Kickstart/kernel+0x008924CC
r11: module CW 0.60 at 0x7D414720 (section 5 @ 0x2700)
ip : module CW 0.60 at 0x7D4B4CD4 (section 5 @ 0xA2CB4)
lr : module CW 0.60 at 0x7D414738 (section 5 @ 0x2718)
ctr: module CW 0.60 at 0x7D414720 (section 5 @ 0x2700)

Stack Backtrace:
module CW 0.60 at 0x7D4B4CD4 (section 5 @ 0xA2CB4)
module CW 0.60 at 0x7D414738 (section 5 @ 0x2718)
native kernel module Kickstart/newlib.library.kmod+0x00040674
native kernel module Kickstart/newlib.library.kmod+0x000164B4
module CW 0.60 at 0x7D5BEF58 (section 5 @ 0x1ACF38)
module CW 0.60 at 0x7D428E74 (section 5 @ 0x16E54)
module CW 0.60 at 0x7D47EA18 (section 5 @ 0x6C9F8)
native kernel module Kickstart/newlib.library.kmod+0x00001F38
native kernel module Kickstart/newlib.library.kmod+0x00002BCC
native kernel module Kickstart/newlib.library.kmod+0x00002EB4
module CW 0.60 at 0x7D41213C (section 5 @ 0x11C)
native kernel module Kickstart/kernel+0x0003F660
native kernel module Kickstart/kernel+0x00040608
native kernel module Kickstart/kernel+0x000522BC
native kernel module Kickstart/kernel+0x000522BC
native kernel module Kickstart/kernel+0x000522BC
WARNING: Invalid backchain pointer found (68k crosscall?)!
native kernel module Kickstart/kernel+0x00039CAC
native kernel module Kickstart/kernel+0x00039D2C
native kernel module Kickstart/kernel+0x00039D2C

Disassembly of crash site:
 7D4B4CC4: 9421FFF0   stwu              r1,-16(r1)
 7D4B4CC8: 7C0802A6   mflr              r0
 7D4B4CCC: 7C641B78   mr                r4,r3
 7D4B4CD0: 90010014   stw               r0,20(r1)
>7D4B4CD4: 8123002C   lwz               r9,44(r3)
 7D4B4CD8: 2F890000   cmpwi             cr7,r9,0
 7D4B4CDC: 419E0038   beq-              cr7,0x7D4B4D14
 7D4B4CE0: 3809FFFF   subi              r0,r9,1
 7D4B4CE4: 2F800000   cmpwi             cr7,r0,0
 7D4B4CE8: 9003002C   stw               r0,44(r3)
Stack pointer (0x63DE9310) is inside bounds
Redzone is OK (4)

68k register dump
DATA: 01A0B290 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 01A0B290 - "Kickstart/newlib.library.kmod" Hunk 0000 Offset 00002D8C
ADDR: 63DF1F38 008F2AD7 01A0B290 00000000 00000000 00000000 6E17C1AC 63DF1D28
----> 01A0B290 - "Kickstart/newlib.library.kmod" Hunk 0000 Offset 00002D8C
Page information:
Page not found

#########################################
#########################################

First DSI - From typing text

Dump of context at 0xEFE19B70
Trap type: DSI exception
Machine State (raw): 0x0000F030
Machine State (verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on] 
Instruction pointer: 0x7D4B4CE8
Crashed process: CW 0.60 (0x6EB6D930)
DSI verbose error description: Access not found in hash or BAT (page fault)
Access was a store operation
 0: 673AFFFF 63DE9310 ABADCAFE 00000000 00000000 020924CC 1A351704 00000000
 8: 00000030 673B0000 00000000 7D414720 24FF2F42 673B5318 00000000 673B0000
16: 00000096 00000226 FFFFFFFF FFB4427A FF89658E FF427AB4 FF82D61A FFCE8F12
24: FFF98D00 FFF1DA00 00000001 658247C8 00000000 658247CC 00000000 65824854
CR: 24FF2F44   XER: 20000003  CTR: 7D414720  LR: 7D414738
DSISR: 42000000  DAR: 0000002C

FP0 : FFF8000082004000 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP4 : 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP8 : 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7 00EBF0F700EBF0F7
FP12: 00EBF0F700EBF0F7 00EBF0F700EBF0F7 0000000000000000 0000000000000000
FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR: 82004000

Registers pointing to code:
r0 : module CW 0.60 at 0x673AFFFF (section 3 @ 0x5FDF)
r5 : native kernel module Kickstart/kernel+0x008924CC
r9 : module CW 0.60 at 0x673B0000 (section 3 @ 0x5FE0)
r11: module CW 0.60 at 0x7D414720 (section 5 @ 0x2700)
r13: module StuffIt at 0x673B5318 (section 1 @ 0x3310)
r15: module CW 0.60 at 0x673B0000 (section 3 @ 0x5FE0)
ip : module CW 0.60 at 0x7D4B4CE8 (section 5 @ 0xA2CC8)
lr : module CW 0.60 at 0x7D414738 (section 5 @ 0x2718)
ctr: module CW 0.60 at 0x7D414720 (section 5 @ 0x2700)

Stack Backtrace:
module CW 0.60 at 0x7D4B4CE8 (section 5 @ 0xA2CC8)
module CW 0.60 at 0x7D414738 (section 5 @ 0x2718)
native kernel module Kickstart/newlib.library.kmod+0x00040674
native kernel module Kickstart/newlib.library.kmod+0x000164B4
module CW 0.60 at 0x7D5BEF58 (section 5 @ 0x1ACF38)
module CW 0.60 at 0x7D428E74 (section 5 @ 0x16E54)
module CW 0.60 at 0x7D47EA18 (section 5 @ 0x6C9F8)
native kernel module Kickstart/newlib.library.kmod+0x00001F38
native kernel module Kickstart/newlib.library.kmod+0x00002BCC
native kernel module Kickstart/newlib.library.kmod+0x00002EB4
module CW 0.60 at 0x7D41213C (section 5 @ 0x11C)
native kernel module Kickstart/kernel+0x0003F660
native kernel module Kickstart/kernel+0x00040608
native kernel module Kickstart/kernel+0x000522BC
native kernel module Kickstart/kernel+0x000522BC
native kernel module Kickstart/kernel+0x000522BC
WARNING: Invalid backchain pointer found (68k crosscall?)!
native kernel module Kickstart/kernel+0x00039CAC
native kernel module Kickstart/kernel+0x00039D2C
native kernel module Kickstart/kernel+0x00039D2C

Disassembly of crash site:
 7D4B4CD8: 2F890000   cmpwi             cr7,r9,0
 7D4B4CDC: 419E0038   beq-              cr7,0x7D4B4D14
 7D4B4CE0: 3809FFFF   subi              r0,r9,1
 7D4B4CE4: 2F800000   cmpwi             cr7,r0,0
>7D4B4CE8: 9003002C   stw               r0,44(r3)
 7D4B4CEC: 409E0028   bne-              cr7,0x7D4B4D14
 7D4B4CF0: 81630000   lwz               r11,0(r3)
 7D4B4CF4: 80030014   lwz               r0,20(r3)
 7D4B4CF8: 71690005   andi.             r9,r11,5
 7D4B4CFC: 81230018   lwz               r9,24(r3)
Stack pointer (0x63DE9310) is inside bounds
Redzone is OK (4)

68k register dump
DATA: 01A0B290 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 01A0B290 - "Kickstart/newlib.library.kmod" Hunk 0000 Offset 00002D8C
ADDR: 63DF1F38 008F2AD7 01A0B290 00000000 00000000 00000000 6E17C1AC 63DF1D28
----> 01A0B290 - "Kickstart/newlib.library.kmod" Hunk 0000 Offset 00002D8C
Page information:
Page not found

Copyright (c) 2004-2024 by Björn Hagström. All Rights Reserved