Who's Online
80 user(s) are online (
78 user(s) are browsing
Forums )
Members: 0
Guests: 80
more...
Topic options
View mode
Newest First
DSI error at exit
Posted on:
2011/12/12 13:32
#1
Quite a regular
Joined: 2008/11/3 12:06Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
Hi all,
I have created a function to handle a memory list.
I can create the list, use it ... no problem.
But, if I use the function to remove the memory allocation (when leaving AmiDARK Engine application), I get a DSI crash.
Here is how I create a new list using this function :
MyPTR = UpdateImagesLists( 32, MyPTR, 0 );
Here is how I add 32 new entities to the list :
MyPTR = UpdateImagesLists( ActualPTRSlots + 32, MyPTR, ActualPTRSlots );
Here is how I remove the list from memory :
MyPTR = UpdateImagesLists( 0, MyPTR, ActualPTRSlots );
Here is the function :
void * UpdateImagesLists ( int NewAmount , void * ActualImageList , int OldAmount ){
void * MyNewImageList ;
int AmountToCopy , SizeToCopy ;
MyNewImageList = NULL ;
AmountToCopy = 0 ;
if ( NewAmount > 0 ){
// Crée la nouvelle liste.
MyNewImageList = MyAllocVec ( NewAmount * sizeof ( MyNewImageList ), MEMF_CLEAR );
// Copie le contenu de l'ancienne liste dans la nouvelle sans dépassement.
if ( NewAmount > OldAmount ){ AmountToCopy = OldAmount ; }
if ( NewAmount <= OldAmount ){ AmountToCopy = NewAmount ; }
if ( AmountToCopy > 0 ){
MyCopyMemory ( ActualImageList , AmountToCopy * sizeof ( MyNewImageList ), MyNewImageList );
}
}
// On supprime l'ancienne liste si elle existe.
if ( ActualImageList != NULL ){
if ( OldAmount != 0 ){
MyFreeVec ( ActualImageList );
}
}
return MyNewImageList ;
}
MyAllocVec & MyFreeVec for correctly. Here are the functions :
// ***************************************************************************************************************
/* Multi Platform Compatible AllocVec */
void * MyAllocVec ( int MyVecSize , int MODE ){
void * pict = NULL ;
#if defined( __amiga__ )
#if defined( __amigaos4__ )
pict = IExec -> AllocVec ( MyVecSize , MODE );
#elif defined( __MORPHOS__ )
pict = AllocVec ( MyVecSize , MODE );
#endif
#endif
return pict ;
}
// ***************************************************************************************************************
/* Multi Platform Compatible FreeVec */
void MyFreeVec ( void * pt ){
if ( pt != NULL ){
#if defined( __amiga__ )
#if defined( __amigaos4__ )
IExec -> FreeVec ( pt );
#elif defined( __MORPHOS__ )
FreeVec ( pt );
#endif
#endif
}
}
Do someone understand why ?
Kindest Regards,
AmiDARK
Edited by Rigo on 2011/12/12 15:54:02 Edited by freddix on 2011/12/12 18:59:57
All we have to decide is what to do with the time that is given to us.
Re: DSI error at exit
Posted on:
2011/12/12 13:47
#2
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 3:03
From Norway
Group:
Registered Users
Quote:
/* Multi Platform Compatible AllocVec */ Way not compile whit -D__USE_INLINE__
gcc my_prog.c -o my_prog.exe -D__USE_INLINE__
no more "IExec->" or "IDOS ->" etc.
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: DSI error at exit
Posted on:
2011/12/12 13:57
#3
Quite a regular
Joined: 2008/11/3 12:06Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
I'd prefer this because it forces me to keep an eye on which functions I use because between AmigaOS4, MorphOS & older AmigaOS, sometimes, functions args are not the same ...
All we have to decide is what to do with the time that is given to us.
Re: DSI error at exit
Posted on:
2011/12/12 15:06
#4
Home away from home
Joined: 2006/12/4 23:15Last Login
: 10/14 16:04
Group:
Registered Users
@Freddix:
1. Please the [ code ] tag when posting code, it makes much easier to read.
2
Quote:
void * MyNewImageList ;
....
snip
....
MyNewImageList = MyAllocVec ( NewAmount * sizeof ( MyNewImageList ), MEMF_CLEAR );
MyewImagelist appewars to be a pointer to void, so will be size 4 bytes, is that what you want?
Re: DSI error at exit
Posted on:
2011/12/12 18:53
#5
Quite a regular
Joined: 2008/11/3 12:06Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
@BroadBlues : Yeah, sorry forgot the tag :( Concerning the void, I've already replaced the sizeof ... with 4 but I got the same result ... Kindest Regards, AmiDARK
All we have to decide is what to do with the time that is given to us.
Re: DSI error at exit
Posted on:
2011/12/12 19:48
#6
Just can't stay away
Joined: 2008/1/6 17:56Last Login
: 2023/4/18 20:37
From Pennsylvania, USA
Group:
Registered Users
@Since I don't know what's in the rest of your code, I can only suggest a couple of DebugPrintF() statements to see if the memory address (pointer) you get when you allocate the memory is the same as when you free the memory. If the pointer accidently gets altered, incremented or decremented in between that might produce a DSI error.
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450
Re: DSI error at exit
Posted on:
2011/12/12 20:13
#7
Just popping in
Joined: 2007/9/3 18:27Last Login
: 2013/9/7 11:41
From France
Group:
Registered Users
@freddix A crashlog could help. If the DSI is within your code at least you'll know the reason of the crash.
Re: DSI error at exit
Posted on:
2011/12/12 21:01
#8
Quite a regular
Joined: 2008/11/3 12:06Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
@Xenic :
Pointer is the same after created and just before release ...
@CentaurZ :
Here is the crash log :
Crash log for task "FlyingFeather.exe"
Generated by GrimReaper 53.2
Crash occured in module minigl . library at address 0x6F963318
Type of crash : DSI ( Data Storage Interrupt ) exception
Register dump :
GPR ( General Purpose Registers ):
0 : 6FA36E08 52B72C30 00000000 51BFCE70 00000001 00000020 14C89D04 00000000
8 : 00000001 51EE0000 6F9632A0 51EE0000 C36DBCCB 51EE1150 00000000 00000000
16 : 53991680 6FA45990 00000000 147E88C0 02270000 51CDCDE4 51CDCDEC 00000000
24 : 51CEAE68 00000000 00000001 51EE0000 51BDC000 00000000 00000020 51EDCAA8
FPR ( Floating Point Registers , NaN = Not a Number ):
0 : nan 0.188965 0 0.00312989
4 : 0 0 - 1 0
8 : 0 4.5036e+15 4.5036e+15 10
12 : 4.7463e-08 0.5 0 0
16 : 0 0 0 0
20 : 0 0 0 0
24 : 0 2.84809e-306 0 1.28823e-231
28 : 0 0 0 - 1.16121e+42
FPSCR ( Floating Point Status and Control Register ): 0xAE124000
SPRs ( Special Purpose Registers ):
Machine State ( msr ) : 0x0002F030
Condition ( cr ) : 0x44422024
Instruction Pointer ( ip ) : 0x6F963318
Xtended Exception ( xer ) : 0x20000008
Count ( ctr ) : 0x6F9632A0
Link ( lr ) : 0x6FA36E08
DSI Status ( dsisr ) : 0x00000000
Data Address ( dar ) : 0x00000020
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 0x6F963318 belongs to module "minigl.library" ( HUNK / Kickstart )
Stack trace :
module LIBS : minigl . library at 0x6F963318 ( section 5 @ 0x182F8 )
FlyingFeather . exe : DEDeleteImage ()+ 0x8C ( section 1 @ 0x13de8 )
FlyingFeather . exe : IMAGE_Destructor ()+ 0xE0 ( section 1 @ 0x14014 )
FlyingFeather . exe : DarkENGINE_End ()+ 0xAC ( section 1 @ 0x210cc )
FlyingFeather . exe : main ()+ 0x28 ( section 1 @ 0x22998 )
native kernel module newlib . library . kmod + 0x00002054
native kernel module newlib . library . kmod + 0x00002ce8
native kernel module newlib . library . kmod + 0x00002e64
FlyingFeather . exe : _start ()+ 0x170 ( section 1 @ 0x170 )
native kernel module dos . library . kmod + 0x00020a14
native kernel module kernel + 0x0003af4c
native kernel module kernel + 0x0003afcc
PPC disassembly :
6f963310 : 3ae00000 li r23 , 0
6f963314 : 3b200000 li r25 , 0
* 6f963318 : 83fe0000 lwz r31 , 0 ( r30 )
6f96331c : 3bbd0001 addi r29 , r29 , 1
6f963320 : 3bde0004 addi r30 , r30 , 4
System information :
CPU
Model : AMCC PPC440EP V1.3
CPU speed : 799 MHz
FSB speed : 133 MHz
Extensions :
Machine
Machine name : Sam440EP
Memory : 1048576 KB
Extensions : bus . pci
Expansion buses
PCI / AGP
00 : 00.0 Vendor 0x1014 Device 0x027F
00 : 0A.0 Vendor 0x12D8 Device 0x8150
00 : 0C.0 Vendor 0x1002 Device 0x5960
Range 0 : A8000000 - B0000000 ( PREF . MEM )
Range 1 : 00002000 - 00002100 ( IO )
Range 2 : B0000000 - B0010000 ( MEM )
00 : 0C.1 Vendor 0x1002 Device 0x5940
Range 0 : B8000000 - C0000000 ( PREF . MEM )
Range 1 : C0000000 - C0010000 ( MEM )
00 : 0E.0 Vendor 0x1095 Device 0x3114
Range 0 : 00002100 - 00002108 ( IO )
Range 1 : 00002108 - 00002110 ( IO )
Range 2 : 00002110 - 00002118 ( IO )
Range 3 : 00002118 - 00002120 ( IO )
Range 4 : 00002120 - 00002130 ( IO )
01 : 04.0 Vendor 0x1013 Device 0x6005
Range 0 : A0000000 - A0001000 ( MEM )
Range 1 : A0010000 - A0020000 ( MEM )
01 : 05.0 Vendor 0x1033 Device 0x0035
Range 0 : A0020000 - A0021000 ( MEM )
01 : 05.1 Vendor 0x1033 Device 0x0035
Range 0 : A0021000 - A0022000 ( MEM )
01 : 05.2 Vendor 0x1033 Device 0x00E0
Range 0 : A0022000 - A0022100 ( MEM )
01 : 06.0 Vendor 0x1283 Device 0x8212
Range 0 : 00001000 - 00001008 ( IO )
Range 1 : 00001008 - 00001010 ( IO )
Range 2 : 00001010 - 00001018 ( IO )
Range 3 : 00001018 - 00001020 ( IO )
Range 4 : 00001020 - 00001030 ( IO )
01 : 08.0 Vendor 0x1102 Device 0x0004
Range 0 : 00001040 - 00001060 ( IO )
01 : 08.1 Vendor 0x1102 Device 0x7003
Range 0 : 00001060 - 00001068 ( IO )
01 : 08.2 Vendor 0x1102 Device 0x4001
Range 0 : A0022800 - A0023000 ( MEM )
Range 1 : A0024000 - A0028000 ( MEM )
Libraries
0x53a83018 : ISO - 8859 - 15.charset V52.1
0x5fc8ef58 : french_ISO - 8859 - 15.language V52.1
0x021bd7f6 : exec . library V53.22
0x5ff62174 : vilintuisup . library V0.9
0x5ff62048 : cgxvideo . library V42.1
0x5ff6b0e0 : cybergraphics . library V43.0
0x53287258 : mglut . library V2.5
0x524c3378 : minigl . library V2.5
0x51f7f960 : Warp3D . library V53.7
0x520da718 : W3D_Avenger . library V53.1
0x520da298 : W3D_Napalm . library V53.1
0x520da618 : W3D_Permedia2 . library V52.36
0x520da598 : W3D_R200 . library V53.9
0x52025368 : W3D_Picasso96 . library V53.4
0x5294fae0 : slider . gadget V53.12
0x5294f900 : getfont . gadget V53.8
0x5294f7c0 : getfile . gadget V53.10
0x52be4dc8 : clicktab . gadget V53.38
0x5294f4a0 : arexx .class V53.3
0x52908190 : requester .class V53.18
0x5294f540 : space . gadget V53.6
0x539ff758 : chooser . gadget V53.18
0x5294f360 : penmap . image V53.5
0x5294f2c0 : bitmap . image V53.9
0x5294f220 : integer . gadget V53.10
0x5294d148 : screenblanker . library V53.3
0x5294f0e0 : checkbox . gadget V53.9
0x52be4328 : cs4281 . audio V5.5
0x524fa574 : device . audio V6.2
0x5fc80308 : listbrowser . gadget V53.49
0x55182020 : string . gadget V53.16
0x524d47b0 : scroller . gadget V53.11
0x524ffb68 : emu10kx . audio V6.7
0x539ff694 : filesave . audio V6.3
0x53338480 : jpeg . datatype V53.5
0x534c7ab8 : emulation . library V41.446
0x534514e0 : mathieeedoubbas . library V52.1
0x536c9aa4 : usergroup . library V4.30
0x536c38f0 : bsdsocket . library V4.292
0x539fe734 : xpkmaster . library V5.2
0x53a5f3fc : xadmaster . library V13.1
0x53770a5c : textclip . library V52.2
0x5fd7d03c : hid . usbfd V53.7
0x539569b0 : button . gadget V53.14
0x53956af0 : glyph . image V53.3
0x53935ca0 : window .class V53.42
0x53771248 : popupmenu .class V53.2
0x55182cc8 : popupmenu . library V53.5
0x539567d0 : label . image V53.12
0x53771078 : layout . gadget V53.19
0x53771150 : bevel . image V53.6
0x53956550 : drawlist . image V53.3
0x53a84f40 : png . datatype V53.6
0x538e4674 : picture . datatype V53.6
0x53935244 : asl . library V53.45
0x55182768 : timezone . library V53.6
0x53a73a78 : application . library V53.12
0x539ff05c : ft2 . library V53.1
0x53a5808c : workbench . library V53.37
0x55183ec0 : Picasso96API . library V2.356
0x53a65590 : gadtools . library V53.4
0x5fffbcac : commodities . library V53.1
0x551c4140 : datatypes . library V53.4
0x5fc9ac54 : png . iconmodule V52.1
0x5597a8cc : icon . library V53.13
0x5fded878 : version . library V53.7
0x551e6bc0 : iffparse . library V53.1
0x5ffb5ccc : locale . library V53.3
0x5ff8b41c : diskfont . library V53.4
0x5fd7d4a8 : petunia . library V53.3
0x5fd7d328 : diskcache . library V3.30
0x5fca3654 : dos . library V53.76
0x5ff62444 : usbprivate . library V53.11
0x5ff3e1bc : massstorage . usbfd V53.13
0x5ff3e128 : bootkeyboard . usbfd V52.3
0x5ff3e0a8 : bootmouse . usbfd V53.1
0x5ff622fc : hub . usbfd V53.8
0x5ff6224c : usbresource . library V53.11
0x5ff8a658 : hunk . library V53.4
0x5ff98354 : elf . library V53.14
0x5ff924d0 : intuition . library V53.32
0x5ff48150 : rtg . library V41.4355
0x5ff9b820 : ATIRadeon . chip V53.23
0x5ff9b7a4 : PCIGraphics . card V53.1
0x5ff9d7a0 : keymap . library V53.3
0x5ff88c40 : layers . library V53.6
0x5ffb4420 : graphics . library V53.4
0x5ff8a184 : nonvolatile . library V52.1
0x5ff9e318 : newlib . library V53.18
0x5ff991ac : utility . library V53.3
0x5ff9d0a8 : expansion . library V53.1
0x5331b1fe : rexxsyslib . library V45.7 ( Legacy )
Devices
0x551e63d4 : ahi . device V6.6
0x5333a4e8 : ppc440ep_eth . device V53.6
0x539fecd8 : diskimage . device V52.46
0x5fd7c5b8 : usbdisk . device V53.13
0x5ff99b10 : usbsys . device V53.11
0x5ff8acd0 : ehci . usbhcd V53.15
0x5ff8ac30 : ohci . usbhcd V53.18
0x5ff8ab90 : uhci . usbhcd V53.7
0x5ff8aa24 : sii3114ide . device V53.8
0x5ff8a7a4 : it8212ide . device V53.3
0x5fffb628 : console . device V53.1
0x5ff9a3f0 : ramdrive . device V52.6
0x5ff9d9ec : input . device V53.3
0x5fffb314 : keyboard . device V53.5
0x5ff9a2d0 : timer . device V53.1
Tasks
MiniGL watch - dog ( Waiting )
Stack : 0x5159c004 - 0x515abffc , pointer @ 0x515abec0 ( Cookie OK )
Signals : SigRec 0xc0001000 , SigWait 0x00000000
State : Process ( Waiting )
ahi . device Unit Process ( Waiting )
Stack : 0x51cab004 - 0x51cbaffc , pointer @ 0x51cbaf20 ( Cookie OK )
Signals : SigRec 0xf000c000 , SigWait 0x00000000
State : Process ( Waiting )
ClickToFront ( Waiting )
Stack : 0x529b9004 - 0x529c8ffc , pointer @ 0x529c8a80 ( Cookie OK )
Signals : SigRec 0xc000d000 , SigWait 0x00000000
State : Process ( Waiting )
input . device ( Waiting )
Stack : 0x5ff50000 - 0x5ff60000 , pointer @ 0x5ff5ff00 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000000
State : Task ( Waiting )
SFS DosList handler ( Waiting )
Stack : 0x5fc35004 - 0x5fc36ffc , pointer @ 0x5fc36f20 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000000
State : Process ( Waiting )
USB stack ( Waiting )
Stack : 0x5fec4000 - 0x5fec8000 , pointer @ 0x5fec7f20 ( Cookie OK )
Signals : SigRec 0xf8007000 , SigWait 0x00000000
State : Task ( Waiting )
OHCI Controller Task Unit 1 ( Waiting )
Stack : 0x5fde3000 - 0x5fdeb000 , pointer @ 0x5fdeaf20 ( Cookie OK )
Signals : SigRec 0xbc009000 , SigWait 0x00000000
State : Task ( Waiting )
EHCI Controller Task Unit 0 ( Waiting )
Stack : 0x5fdc3000 - 0x5fdcb000 , pointer @ 0x5fdcaf20 ( Cookie OK )
Signals : SigRec 0xbe009000 , SigWait 0x00000000
State : Task ( Waiting )
OHCI Controller Task Unit 0 ( Waiting )
Stack : 0x5fe07000 - 0x5fe0f000 , pointer @ 0x5fe0ef20 ( Cookie OK )
Signals : SigRec 0xbc009000 , SigWait 0x00000000
State : Task ( Waiting )
sii3114ide . device - chip 0 port 0 ( Waiting )
Stack : 0x5fe6f000 - 0x5fe77000 , pointer @ 0x5fe76f20 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x20000000
State : Task ( Waiting )
sii3114ide . device - chip 0 port 1 ( Waiting )
Stack : 0x5fe47000 - 0x5fe4f000 , pointer @ 0x5fe4ef20 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000000
State : Task ( Waiting )
page_sweep ( Waiting )
Stack : 0x5fe17004 - 0x5fe1effc , pointer @ 0x5fe1ee80 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000000
State : Task ( Waiting )
it8212ide . device - chip 0 port 0 ( Waiting )
Stack : 0x5fe9f000 - 0x5fea7000 , pointer @ 0x5fea6f20 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x20000000
State : Task ( Waiting )
ppc440ep_eth Unit 0 ( Waiting )
Stack : 0x532e4004 - 0x532f4ffc , pointer @ 0x532f4f20 ( Cookie OK )
Signals : SigRec 0xf6001000 , SigWait 0x00000000
State : Process ( Waiting )
hid . usbfd ( Waiting )
Stack : 0x5fd09004 - 0x5fd10ffc , pointer @ 0x5fd10ee0 ( Cookie OK )
Signals : SigRec 0xe0000000 , SigWait 0x00000100
State : Process ( Waiting )
HID Mouse ( Waiting )
Stack : 0x53521004 - 0x53530ffc , pointer @ 0x53530f20 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000000
State : Process ( Waiting )
DH0 ( Waiting )
Stack : 0x5fc2f004 - 0x5fc30ffc , pointer @ 0x5fc30eb0 ( Cookie OK )
Signals : SigRec 0xe0000100 , SigWait 0x10000000
State : Process ( Waiting )
ICD0 ( Waiting )
Stack : 0x53426004 - 0x53435ffc , pointer @ 0x53435f20 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
USB0 ( Waiting )
Stack : 0x536aa004 - 0x536b9ffc , pointer @ 0x536b9ee0 ( Cookie OK )
Signals : SigRec 0x00010100 , SigWait 0x00000000
State : Process ( Waiting )
RAM ( Waiting )
Stack : 0x55970004 - 0x55977ffc , pointer @ 0x55977c90 ( Cookie OK )
Signals : SigRec 0xc0000100 , SigWait 0x00000000
State : Process ( Waiting )
DH1 ( Waiting )
Stack : 0x573d4004 - 0x573d5ffc , pointer @ 0x573d5eb0 ( Cookie OK )
Signals : SigRec 0xe0000100 , SigWait 0x10000000
State : Process ( Waiting )
DH3 ( Waiting )
Stack : 0x5fc47004 - 0x5fc48ffc , pointer @ 0x5fc48eb0 ( Cookie OK )
Signals : SigRec 0xe0000100 , SigWait 0x10000000
State : Process ( Waiting )
DH2 ( Waiting )
Stack : 0x5fc41004 - 0x5fc42ffc , pointer @ 0x5fc42eb0 ( Cookie OK )
Signals : SigRec 0xe0000100 , SigWait 0x10000000
State : Process ( Waiting )
CD0 ( Waiting )
Stack : 0x5fc3b004 - 0x5fc3cffc , pointer @ 0x5fc3cf20 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
hid . usbfd ( Waiting )
Stack : 0x5fcbf004 - 0x5fcc6ffc , pointer @ 0x5fcc6ee0 ( Cookie OK )
Signals : SigRec 0xe0000000 , SigWait 0x00000100
State : Process ( Waiting )
HID Keyboard ( Waiting )
Stack : 0x5353d004 - 0x5354cffc , pointer @ 0x5354cf20 ( Cookie OK )
Signals : SigRec 0x90001000 , SigWait 0x00000000
State : Process ( Waiting )
reaper . task ( Waiting )
Stack : 0x55908004 - 0x5590fffc , pointer @ 0x5590fea0 ( Cookie OK )
Signals : SigRec 0x00007000 , SigWait 0x00000000
State : Process ( Waiting )
MainUSB0 ( Waiting )
Stack : 0x53696004 - 0x536a5ffc , pointer @ 0x536a5eb0 ( Cookie OK )
Signals : SigRec 0x40000100 , SigWait 0x00000000
State : Process ( Waiting )
dos_filedir_notify ( Waiting )
Stack : 0x5fc93004 - 0x5fc96ffc , pointer @ 0x5fc96ae0 ( Cookie OK )
Signals : SigRec 0x10000000 , SigWait 0x00000000
State : Process ( Waiting )
pager ( Waiting )
Stack : 0x55286004 - 0x552a5ffc , pointer @ 0x552a5f00 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000000
State : Process ( Waiting )
ENV ( Ready )
Stack : 0x573e0004 - 0x573e1ffc , pointer @ 0x573e1da0 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x80000100
State : Process ( Ready )
IDF0 ( Waiting )
Stack : 0x53493004 - 0x534a2ffc , pointer @ 0x534a2ed0 ( Cookie OK )
Signals : SigRec 0xa8000100 , SigWait 0x00000000
State : Process ( Waiting )
MassStorage Device Task ( Waiting )
Stack : 0x5fc83000 - 0x5fc8b000 , pointer @ 0x5fc8ae70 ( Cookie OK )
Signals : SigRec 0xf3009000 , SigWait 0x00000000
State : Task ( Waiting )
CON ( Waiting )
Stack : 0x52b4f004 - 0x52b5effc , pointer @ 0x52b5ede0 ( Cookie OK )
Signals : SigRec 0xa0000100 , SigWait 0x00000000
State : Process ( Waiting )
RANDOM ( Waiting )
Stack : 0x534af004 - 0x534beffc , pointer @ 0x534beef0 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
URL ( Waiting )
Stack : 0x53562004 - 0x535dcffc , pointer @ 0x535d8a90 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000100
State : Process ( Waiting )
console . device ( Waiting )
Stack : 0x5ff00000 - 0x5ff08000 , pointer @ 0x5ff07f70 ( Cookie OK )
Signals : SigRec 0xf0000000 , SigWait 0x00000000
State : Task ( Waiting )
CON ( Waiting )
Stack : 0x528ef004 - 0x528feffc , pointer @ 0x528fede0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x52960004 - 0x5296fffc , pointer @ 0x5296fde0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x529e5004 - 0x529f4ffc , pointer @ 0x529f4de0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x52a52004 - 0x52a61ffc , pointer @ 0x52a61de0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x52ad7004 - 0x52ae6ffc , pointer @ 0x52ae6de0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
AUDIO ( Waiting )
Stack : 0x534ef004 - 0x534feffc , pointer @ 0x534feec0 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x55924004 - 0x5592bffc , pointer @ 0x5592bde0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
RAW ( Waiting )
Stack : 0x55984004 - 0x5598bffc , pointer @ 0x5598bde0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
CON ( Waiting )
Stack : 0x559a0004 - 0x559a7ffc , pointer @ 0x559a7de0 ( Cookie OK )
Signals : SigRec 0x80000100 , SigWait 0x00000000
State : Process ( Waiting )
dos_nbmd_process ( Waiting )
Stack : 0x5ff20004 - 0x5ff21ffc , pointer @ 0x5ff21f20 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
dos_lock_handler ( Waiting )
Stack : 0x5ff1a004 - 0x5ff1bffc , pointer @ 0x5ff1bf00 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
RexxMaster [] ( Waiting )
Stack : 0x53250004 - 0x5325fffc , pointer @ 0x5325ff50 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000000
State : Process ( Waiting )
TEXTCLIP ( Waiting )
Stack : 0x5350d004 - 0x5351cffc , pointer @ 0x5351ceb0 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000100
State : Process ( Waiting )
compose . task ( Ready )
Stack : 0x538b9000 - 0x538c1000 , pointer @ 0x538c0f30 ( Cookie OK )
Signals : SigRec 0x00000021 , SigWait 0x00000020
State : Task ( Ready )
Workbench [ Workbench ] ( Ready )
Stack : 0x527d8004 - 0x527e7ffc , pointer @ 0x527e7ea0 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x80000000
State : Process ( Ready )
Workbench DosList Notify ( Waiting )
Stack : 0x5243e004 - 0x5244dffc , pointer @ 0x5244df40 ( Cookie OK )
Signals : SigRec 0x00003000 , SigWait 0x00000100
State : Process ( Waiting )
ramlib ( Waiting )
Stack : 0x551ec004 - 0x55204ffc , pointer @ 0x55204f20 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000100
State : Process ( Waiting )
ContextMenus Command Dispatcher [ ContextMenus Command Dispatcher ] ( Waiting )
Stack : 0x51f1d004 - 0x51f2cffc , pointer @ 0x51f2cf40 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000000
State : Process ( Waiting )
string . gadget server ( Waiting )
Stack : 0x52be9004 - 0x52bf8ffc , pointer @ 0x52bf8db0 ( Cookie OK )
Signals : SigRec 0x40000000 , SigWait 0x00000100
State : Process ( Waiting )
Workbench Clipboard Server ( Waiting )
Stack : 0x52505004 - 0x52514ffc , pointer @ 0x52514f00 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000100
State : Process ( Waiting )
RinghioServer ( Ready )
Stack : 0x52913004 - 0x52932ffc , pointer @ 0x52932370 ( Cookie OK )
Signals : SigRec 0xd8001000 , SigWait 0x10000100
State : Process ( Ready )
TCP / IP Control ( Ready )
Stack : 0x5333f004 - 0x5334effc , pointer @ 0x5334edc0 ( Cookie OK )
Signals : SigRec 0xf8009080 , SigWait 0x40000100
State : Process ( Ready )
screenblanker . library timing dispatcher ( Waiting )
Stack : 0x528a2004 - 0x528b1ffc , pointer @ 0x528b1ea0 ( Cookie OK )
Signals : SigRec 0x00000100 , SigWait 0x00000000
State : Process ( Waiting )
TCP / IP Superserver [ TCP / IP Superserver ] ( Waiting )
Stack : 0x53363004 - 0x53372ffc , pointer @ 0x53372a00 ( Cookie OK )
Signals : SigRec 0xd0000080 , SigWait 0x00000100
State : Process ( Waiting )
hub . usbfd ( Waiting )
Stack : 0x5fd67004 - 0x5fd6effc , pointer @ 0x5fd6ef00 ( Cookie OK )
Signals : SigRec 0x30000000 , SigWait 0x00000000
State : Task ( Waiting )
ScreenBlankerEngine ( Waiting )
Stack : 0x52a01004 - 0x52a10ffc , pointer @ 0x52a10be0 ( Cookie OK )
Signals : SigRec 0xd8001000 , SigWait 0x00000000
State : Process ( Waiting )
ContextMenus [] ( Waiting )
Stack : 0x5297c004 - 0x5298bffc , pointer @ 0x5298bc50 ( Cookie OK )
Signals : SigRec 0xe0001000 , SigWait 0x00000100
State : Process ( Waiting )
ASYNCWB ( Waiting )
Stack : 0x52a8a004 - 0x52a99ffc , pointer @ 0x52a99e70 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000100
State : Process ( Waiting )
AmiDock ( Waiting )
Stack : 0x52af3004 - 0x52b02ffc , pointer @ 0x52b029b0 ( Cookie OK )
Signals : SigRec 0x7f40d000 , SigWait 0x00000100
State : Process ( Waiting )
DefIcons ( Waiting )
Stack : 0x52a6e004 - 0x52a7dffc , pointer @ 0x52a7ddc0 ( Cookie OK )
Signals : SigRec 0x80009000 , SigWait 0x00000100
State : Process ( Waiting )
RAWBInfo ( Waiting )
Stack : 0x52a1d004 - 0x52a2cffc , pointer @ 0x52a2cec0 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000100
State : Process ( Waiting )
« IPrefs » ( Waiting )
Stack : 0x53a14004 - 0x53a23ffc , pointer @ 0x53a23530 ( Cookie OK )
Signals : SigRec 0x0000f000 , SigWait 0x20000100
State : Process ( Waiting )
ConClip ( Waiting )
Stack : 0x5329c004 - 0x532abffc , pointer @ 0x532abeb0 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000000
State : Process ( Waiting )
TCP / IP Configuration ( Waiting )
Stack : 0x5337f004 - 0x5338effc , pointer @ 0x5338ede0 ( Cookie OK )
Signals : SigRec 0xf8003000 , SigWait 0x00000100
State : Process ( Waiting )
TCP / IP Log ( Waiting )
Stack : 0x5339b004 - 0x533aaffc , pointer @ 0x533aaf00 ( Cookie OK )
Signals : SigRec 0x80003000 , SigWait 0x00000000
State : Process ( Waiting )
USB stack Process ( Waiting )
Stack : 0x536da004 - 0x536e9ffc , pointer @ 0x536e9ee0 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000100
State : Process ( Waiting )
datatypes . library ( Waiting )
Stack : 0x5381d004 - 0x5382cffc , pointer @ 0x5382cf10 ( Cookie OK )
Signals : SigRec 0x00001100 , SigWait 0x00000000
State : Process ( Waiting )
DST watcher ( Waiting )
Stack : 0x53946004 - 0x53955ffc , pointer @ 0x53955f20 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000000
State : Process ( Waiting )
application . library messageserver ( Waiting )
Stack : 0x5399e000 - 0x5399efa0 , pointer @ 0x5399ef10 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000000
State : Task ( Waiting )
hub . usbfd ( Waiting )
Stack : 0x5fd73004 - 0x5fd7affc , pointer @ 0x5fd7af00 ( Cookie OK )
Signals : SigRec 0x30000000 , SigWait 0x00000000
State : Task ( Waiting )
hub . usbfd ( Waiting )
Stack : 0x5fd5b004 - 0x5fd62ffc , pointer @ 0x5fd62f00 ( Cookie OK )
Signals : SigRec 0x30000000 , SigWait 0x00000000
State : Task ( Waiting )
FlyingFeather . exe ( Crashed )
Stack : 0x52b63004 - 0x52b72ffc , pointer @ 0x52b72c30 ( Cookie OK )
Signals : SigRec 0x00000010 , SigWait 0x10000100
State : Process ( Crashed )
ramlib . support ( Waiting )
Stack : 0x55221004 - 0x55239ffc , pointer @ 0x55239f00 ( Cookie OK )
Signals : SigRec 0x80005000 , SigWait 0x00000100
State : Process ( Waiting )
diskimage . device unit 4 ( Waiting )
Stack : 0x533f7004 - 0x5340affc , pointer @ 0x5340ae70 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000100
State : Process ( Waiting )
diskimage . device unit 0 ( Waiting )
Stack : 0x5343a004 - 0x5344dffc , pointer @ 0x5344de70 ( Cookie OK )
Signals : SigRec 0xc0000000 , SigWait 0x00000100
State : Process ( Waiting )
dos_signal_server ( Waiting )
Stack : 0x5ff26004 - 0x5ff27ffc , pointer @ 0x5ff27f10 ( Cookie OK )
Signals : SigRec 0x0000e000 , SigWait 0x00000000
State : Process ( Waiting )
Picasso96 ( Waiting )
Stack : 0x53a28004 - 0x53a37ffc , pointer @ 0x53a37da0 ( Cookie OK )
Signals : SigRec 0x80000000 , SigWait 0x00000100
State : Process ( Waiting )
dos_appdir_server ( Waiting )
Stack : 0x5ff2c004 - 0x5ff2dffc , pointer @ 0x5ff2dd40 ( Cookie OK )
Signals : SigRec 0x80001000 , SigWait 0x00000100
State : Process ( Waiting )
idle . task ( Ready )
Stack : 0x5ff89000 - 0x5ff8a000 , pointer @ 0x5ff89fd0 ( Cookie OK )
Signals : SigRec 0x00000000 , SigWait 0x00000000
State : Task ( Ready )
I don't know how to use it to know where the crash is.
One thing I can say is that if I put in // the line that call the function to release the memory bloc, I do not get the DSI error ...
Kindest Regards,
AmiDARK
All we have to decide is what to do with the time that is given to us.
Re: DSI error at exit
Posted on:
2011/12/12 21:15
#9
Just popping in
Joined: 2007/9/3 18:27Last Login
: 2013/9/7 11:41
From France
Group:
Registered Users
@freddix It looks like you are passing a NULL pointer to some function from minigl.library in DEDeleteImage() (the cause of the DSI is an access to 0x00000020). Now you have to find out why.
Re: DSI error at exit
Posted on:
2011/12/12 21:48
#10
Just popping in
Joined: 2007/7/30 22:55Last Login
: 10/22 20:20
From Sweden
Group:
Registered Users
Quote:
I don't know how to use it to know where the crash is.You can use Chris Youngs addr2line-ARexx.-script:
http://aminet.net/package/dev/debug/addr2line
Stack trace :
module LIBS : minigl . library at 0x6F963318 ( section 5 @ 0x182F8 )
FlyingFeather . exe : DEDeleteImage ()+ 0x8C ( section 1 @ 0x13de8 )
....
> addr2line . rexx FlyingFeather . exe 13de8
This should get you the correct sourcefile and line.
Re: DSI error at exit
Posted on:
2011/12/12 22:29
#11
Quite a regular
Joined: 2008/11/3 12:06Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
@All : Thank you :) I freed the memory that handle gl image ID before deleting images in my Image's Destructor() function. Now fixed. More to this, your informations helped me understand a bit more the crash log file. This may help me in future crash/issues :) Kindest Regards, AmiDARK
All we have to decide is what to do with the time that is given to us.
Currently Active Users Viewing This Thread:
2
(
0 members
and 2 Anonymous Users
)