Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
97 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 97

more...

Headlines

 
  Register To Post  

DSI error at exit
Quite a regular
Quite a regular


See User information
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 UpdateImagesListsint NewAmountvoid ActualImageListint OldAmount ){
  
void MyNewImageList;
  
int AmountToCopySizeToCopy;
  
MyNewImageList NULL;
  
AmountToCopy 0;
  if ( 
NewAmount ){
    
// Crée la nouvelle liste.
    
MyNewImageList MyAllocVecNewAmount sizeofMyNewImageList ), 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 ){
      
MyCopyMemoryActualImageListAmountToCopy sizeofMyNewImageList ), MyNewImageList );
     }
   }
  
// On supprime l'ancienne liste si elle existe.
  
if ( ActualImageList != NULL ){
    if ( 
OldAmount != ){
      
MyFreeVecActualImageList );
    }
   }
  return 
MyNewImageList;
 }


MyAllocVec & MyFreeVec for correctly. Here are the functions :
// ***************************************************************************************************************
/*                                                                           Multi Platform Compatible AllocVec */
void MyAllocVecint MyVecSizeint MODE ){
  
void pict NULL;
  
#if defined( __amiga__ )
    #if defined( __amigaos4__ )
      
pict IExec->AllocVecMyVecSizeMODE );
     
#elif defined( __MORPHOS__ )
      
pict AllocVecMyVecSizeMODE );
     
#endif
   #endif
  
return pict;
 }

// ***************************************************************************************************************
/*                                                                            Multi Platform Compatible FreeVec */
void MyFreeVecvoid pt ){
  if ( 
pt != NULL ){
    
#if defined( __amiga__ )
      #if defined( __amigaos4__ )
        
IExec->FreeVecpt );
       
#elif defined( __MORPHOS__ )
        
FreeVecpt );
       
#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.
Go to top
Re: DSI error at exit
Home away from home
Home away from home


See User information
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.
Go to top
Re: DSI error at exit
Quite a regular
Quite a regular


See User information
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.
Go to top
Re: DSI error at exit
Home away from home
Home away from home


See User information
@Freddix:

1. Please the [ code ] tag when posting code, it makes much easier to read.

2
Quote:

void MyNewImageList;
....
snip
....
MyNewImageList MyAllocVecNewAmount sizeofMyNewImageList ), MEMF_CLEAR );



MyewImagelist appewars to be a pointer to void, so will be size 4 bytes, is that what you want?

Go to top
Re: DSI error at exit
Quite a regular
Quite a regular


See User information
@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.
Go to top
Re: DSI error at exit
Just can't stay away
Just can't stay away


See User information
@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

Go to top
Re: DSI error at exit
Just popping in
Just popping in


See User information
@freddix

A crashlog could help. If the DSI is within your code at least you'll know the reason of the crash.

Go to top
Re: DSI error at exit
Quite a regular
Quite a regular


See User information
@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 Interruptexception

Register dump
:
GPR (General Purpose Registers):
   
06FA36E08 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 RegistersNaN 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
:
DATA00000000 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
:
 
6f9633103ae00000   li                r23,0
 6f963314
3b200000   li                r25,0
*6f96331883fe0000   lwz               r31,0(r30)
 
6f96331c3bbd0001   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 100002000 00002100 (IO
   
Range 2B0000000 B0010000 (MEM
  
00:0C.1 Vendor 0x1002 Device 0x5940 
   Range 0
B8000000 C0000000 (PREF.MEM
   
Range 1C0000000 C0010000 (MEM
  
00:0E.0 Vendor 0x1095 Device 0x3114 
   Range 0
00002100 - 00002108 (IO
   
Range 1: 00002108 - 00002110 (IO
   
Range 200002110 - 00002118 (IO
   
Range 3: 00002118 - 00002120 (IO
   
Range 400002120 00002130 (IO
  
01:04.0 Vendor 0x1013 Device 0x6005 
   Range 0
A0000000 A0001000 (MEM
   
Range 1A0010000 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 200001010 - 00001018 (IO
   
Range 3: 00001018 - 00001020 (IO
   
Range 400001020 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 1A0024000 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
  
Stack0x5159c004 0x515abffcpointer 0x515abec0 (Cookie OK
  
SignalsSigRec 0xc0001000SigWait 0x00000000 
  State
Process (Waiting
 
ahi.device Unit Process (Waiting
  
Stack0x51cab004 0x51cbaffcpointer 0x51cbaf20 (Cookie OK
  
SignalsSigRec 0xf000c000SigWait 0x00000000 
  State
Process (Waiting
 
ClickToFront (Waiting
  
Stack0x529b9004 0x529c8ffcpointer 0x529c8a80 (Cookie OK
  
SignalsSigRec 0xc000d000SigWait 0x00000000 
  State
Process (Waiting
 
input.device (Waiting
  
Stack0x5ff50000 0x5ff60000pointer 0x5ff5ff00 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000000 
  State
Task (Waiting
 
SFS DosList handler (Waiting
  
Stack0x5fc35004 0x5fc36ffcpointer 0x5fc36f20 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000000 
  State
Process (Waiting
 
USB stack (Waiting
  
Stack0x5fec4000 0x5fec8000pointer 0x5fec7f20 (Cookie OK
  
SignalsSigRec 0xf8007000SigWait 0x00000000 
  State
Task (Waiting
 
OHCI Controller Task Unit 1 (Waiting
  
Stack0x5fde3000 0x5fdeb000pointer 0x5fdeaf20 (Cookie OK
  
SignalsSigRec 0xbc009000SigWait 0x00000000 
  State
Task (Waiting
 
EHCI Controller Task Unit 0 (Waiting
  
Stack0x5fdc3000 0x5fdcb000pointer 0x5fdcaf20 (Cookie OK
  
SignalsSigRec 0xbe009000SigWait 0x00000000 
  State
Task (Waiting
 
OHCI Controller Task Unit 0 (Waiting
  
Stack0x5fe07000 0x5fe0f000pointer 0x5fe0ef20 (Cookie OK
  
SignalsSigRec 0xbc009000SigWait 0x00000000 
  State
Task (Waiting
 
sii3114ide.device chip 0 port 0 (Waiting
  
Stack0x5fe6f000 0x5fe77000pointer 0x5fe76f20 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x20000000 
  State
Task (Waiting
 
sii3114ide.device chip 0 port 1 (Waiting
  
Stack0x5fe47000 0x5fe4f000pointer 0x5fe4ef20 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000000 
  State
Task (Waiting
 
page_sweep (Waiting
  
Stack0x5fe17004 0x5fe1effcpointer 0x5fe1ee80 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000000 
  State
Task (Waiting
 
it8212ide.device chip 0 port 0 (Waiting
  
Stack0x5fe9f000 0x5fea7000pointer 0x5fea6f20 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x20000000 
  State
Task (Waiting
 
ppc440ep_eth Unit 0 (Waiting
  
Stack0x532e4004 0x532f4ffcpointer 0x532f4f20 (Cookie OK
  
SignalsSigRec 0xf6001000SigWait 0x00000000 
  State
Process (Waiting
 
hid.usbfd (Waiting
  
Stack0x5fd09004 0x5fd10ffcpointer 0x5fd10ee0 (Cookie OK
  
SignalsSigRec 0xe0000000SigWait 0x00000100 
  State
Process (Waiting
 
HID Mouse (Waiting
  
Stack0x53521004 0x53530ffcpointer 0x53530f20 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000000 
  State
Process (Waiting
 
DH0 (Waiting
  
Stack0x5fc2f004 0x5fc30ffcpointer 0x5fc30eb0 (Cookie OK
  
SignalsSigRec 0xe0000100SigWait 0x10000000 
  State
Process (Waiting
 
ICD0 (Waiting
  
Stack0x53426004 0x53435ffcpointer 0x53435f20 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
USB0 (Waiting
  
Stack0x536aa004 0x536b9ffcpointer 0x536b9ee0 (Cookie OK
  
SignalsSigRec 0x00010100SigWait 0x00000000 
  State
Process (Waiting
 
RAM (Waiting
  
Stack0x55970004 0x55977ffcpointer 0x55977c90 (Cookie OK
  
SignalsSigRec 0xc0000100SigWait 0x00000000 
  State
Process (Waiting
 
DH1 (Waiting
  
Stack0x573d4004 0x573d5ffcpointer 0x573d5eb0 (Cookie OK
  
SignalsSigRec 0xe0000100SigWait 0x10000000 
  State
Process (Waiting
 
DH3 (Waiting
  
Stack0x5fc47004 0x5fc48ffcpointer 0x5fc48eb0 (Cookie OK
  
SignalsSigRec 0xe0000100SigWait 0x10000000 
  State
Process (Waiting
 
DH2 (Waiting
  
Stack0x5fc41004 0x5fc42ffcpointer 0x5fc42eb0 (Cookie OK
  
SignalsSigRec 0xe0000100SigWait 0x10000000 
  State
Process (Waiting
 
CD0 (Waiting
  
Stack0x5fc3b004 0x5fc3cffcpointer 0x5fc3cf20 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
hid.usbfd (Waiting
  
Stack0x5fcbf004 0x5fcc6ffcpointer 0x5fcc6ee0 (Cookie OK
  
SignalsSigRec 0xe0000000SigWait 0x00000100 
  State
Process (Waiting
 
HID Keyboard (Waiting
  
Stack0x5353d004 0x5354cffcpointer 0x5354cf20 (Cookie OK
  
SignalsSigRec 0x90001000SigWait 0x00000000 
  State
Process (Waiting
 
reaper.task (Waiting
  
Stack0x55908004 0x5590fffcpointer 0x5590fea0 (Cookie OK
  
SignalsSigRec 0x00007000SigWait 0x00000000 
  State
Process (Waiting
 
MainUSB0 (Waiting
  
Stack0x53696004 0x536a5ffcpointer 0x536a5eb0 (Cookie OK
  
SignalsSigRec 0x40000100SigWait 0x00000000 
  State
Process (Waiting
 
dos_filedir_notify (Waiting
  
Stack0x5fc93004 0x5fc96ffcpointer 0x5fc96ae0 (Cookie OK
  
SignalsSigRec 0x10000000SigWait 0x00000000 
  State
Process (Waiting
 
pager (Waiting
  
Stack0x55286004 0x552a5ffcpointer 0x552a5f00 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000000 
  State
Process (Waiting
 
ENV (Ready
  
Stack0x573e0004 0x573e1ffcpointer 0x573e1da0 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x80000100 
  State
Process (Ready
 
IDF0 (Waiting
  
Stack0x53493004 0x534a2ffcpointer 0x534a2ed0 (Cookie OK
  
SignalsSigRec 0xa8000100SigWait 0x00000000 
  State
Process (Waiting
 
MassStorage Device Task (Waiting
  
Stack0x5fc83000 0x5fc8b000pointer 0x5fc8ae70 (Cookie OK
  
SignalsSigRec 0xf3009000SigWait 0x00000000 
  State
Task (Waiting
 
CON (Waiting
  
Stack0x52b4f004 0x52b5effcpointer 0x52b5ede0 (Cookie OK
  
SignalsSigRec 0xa0000100SigWait 0x00000000 
  State
Process (Waiting
 
RANDOM (Waiting
  
Stack0x534af004 0x534beffcpointer 0x534beef0 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
URL (Waiting
  
Stack0x53562004 0x535dcffcpointer 0x535d8a90 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000100 
  State
Process (Waiting
 
console.device (Waiting
  
Stack0x5ff00000 0x5ff08000pointer 0x5ff07f70 (Cookie OK
  
SignalsSigRec 0xf0000000SigWait 0x00000000 
  State
Task (Waiting
 
CON (Waiting
  
Stack0x528ef004 0x528feffcpointer 0x528fede0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x52960004 0x5296fffcpointer 0x5296fde0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x529e5004 0x529f4ffcpointer 0x529f4de0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x52a52004 0x52a61ffcpointer 0x52a61de0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x52ad7004 0x52ae6ffcpointer 0x52ae6de0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
AUDIO (Waiting
  
Stack0x534ef004 0x534feffcpointer 0x534feec0 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x55924004 0x5592bffcpointer 0x5592bde0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
RAW (Waiting
  
Stack0x55984004 0x5598bffcpointer 0x5598bde0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
CON (Waiting
  
Stack0x559a0004 0x559a7ffcpointer 0x559a7de0 (Cookie OK
  
SignalsSigRec 0x80000100SigWait 0x00000000 
  State
Process (Waiting
 
dos_nbmd_process (Waiting
  
Stack0x5ff20004 0x5ff21ffcpointer 0x5ff21f20 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
dos_lock_handler (Waiting
  
Stack0x5ff1a004 0x5ff1bffcpointer 0x5ff1bf00 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
RexxMaster [] (Waiting
  
Stack0x53250004 0x5325fffcpointer 0x5325ff50 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000000 
  State
Process (Waiting
 
TEXTCLIP (Waiting
  
Stack0x5350d004 0x5351cffcpointer 0x5351ceb0 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000100 
  State
Process (Waiting
 
compose.task (Ready
  
Stack0x538b9000 0x538c1000pointer 0x538c0f30 (Cookie OK
  
SignalsSigRec 0x00000021SigWait 0x00000020 
  State
Task (Ready
 
Workbench [Workbench] (Ready
  
Stack0x527d8004 0x527e7ffcpointer 0x527e7ea0 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x80000000 
  State
Process (Ready
 
Workbench DosList Notify (Waiting
  
Stack0x5243e004 0x5244dffcpointer 0x5244df40 (Cookie OK
  
SignalsSigRec 0x00003000SigWait 0x00000100 
  State
Process (Waiting
 
ramlib (Waiting
  
Stack0x551ec004 0x55204ffcpointer 0x55204f20 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000100 
  State
Process (Waiting
 
ContextMenus Command Dispatcher [ContextMenus Command Dispatcher] (Waiting
  
Stack0x51f1d004 0x51f2cffcpointer 0x51f2cf40 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000000 
  State
Process (Waiting
 
string.gadget server (Waiting
  
Stack0x52be9004 0x52bf8ffcpointer 0x52bf8db0 (Cookie OK
  
SignalsSigRec 0x40000000SigWait 0x00000100 
  State
Process (Waiting
 
Workbench Clipboard Server (Waiting
  
Stack0x52505004 0x52514ffcpointer 0x52514f00 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000100 
  State
Process (Waiting
 
RinghioServer (Ready
  
Stack0x52913004 0x52932ffcpointer 0x52932370 (Cookie OK
  
SignalsSigRec 0xd8001000SigWait 0x10000100 
  State
Process (Ready
 
TCP/IP Control (Ready
  
Stack0x5333f004 0x5334effcpointer 0x5334edc0 (Cookie OK
  
SignalsSigRec 0xf8009080SigWait 0x40000100 
  State
Process (Ready
 
screenblanker.library timing dispatcher (Waiting
  
Stack0x528a2004 0x528b1ffcpointer 0x528b1ea0 (Cookie OK
  
SignalsSigRec 0x00000100SigWait 0x00000000 
  State
Process (Waiting
 
TCP/IP Superserver [TCP/IP Superserver] (Waiting
  
Stack0x53363004 0x53372ffcpointer 0x53372a00 (Cookie OK
  
SignalsSigRec 0xd0000080SigWait 0x00000100 
  State
Process (Waiting
 
hub.usbfd (Waiting
  
Stack0x5fd67004 0x5fd6effcpointer 0x5fd6ef00 (Cookie OK
  
SignalsSigRec 0x30000000SigWait 0x00000000 
  State
Task (Waiting
 
ScreenBlankerEngine (Waiting
  
Stack0x52a01004 0x52a10ffcpointer 0x52a10be0 (Cookie OK
  
SignalsSigRec 0xd8001000SigWait 0x00000000 
  State
Process (Waiting
 
ContextMenus [] (Waiting
  
Stack0x5297c004 0x5298bffcpointer 0x5298bc50 (Cookie OK
  
SignalsSigRec 0xe0001000SigWait 0x00000100 
  State
Process (Waiting
 
ASYNCWB (Waiting
  
Stack0x52a8a004 0x52a99ffcpointer 0x52a99e70 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000100 
  State
Process (Waiting
 
AmiDock (Waiting
  
Stack0x52af3004 0x52b02ffcpointer 0x52b029b0 (Cookie OK
  
SignalsSigRec 0x7f40d000SigWait 0x00000100 
  State
Process (Waiting
 
DefIcons (Waiting
  
Stack0x52a6e004 0x52a7dffcpointer 0x52a7ddc0 (Cookie OK
  
SignalsSigRec 0x80009000SigWait 0x00000100 
  State
Process (Waiting
 
RAWBInfo (Waiting
  
Stack0x52a1d004 0x52a2cffcpointer 0x52a2cec0 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000100 
  State
Process (Waiting
 
« IPrefs » (Waiting
  
Stack0x53a14004 0x53a23ffcpointer 0x53a23530 (Cookie OK
  
SignalsSigRec 0x0000f000SigWait 0x20000100 
  State
Process (Waiting
 
ConClip (Waiting
  
Stack0x5329c004 0x532abffcpointer 0x532abeb0 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000000 
  State
Process (Waiting
 
TCP/IP Configuration (Waiting
  
Stack0x5337f004 0x5338effcpointer 0x5338ede0 (Cookie OK
  
SignalsSigRec 0xf8003000SigWait 0x00000100 
  State
Process (Waiting
 
TCP/IP Log (Waiting
  
Stack0x5339b004 0x533aaffcpointer 0x533aaf00 (Cookie OK
  
SignalsSigRec 0x80003000SigWait 0x00000000 
  State
Process (Waiting
 
USB stack Process (Waiting
  
Stack0x536da004 0x536e9ffcpointer 0x536e9ee0 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000100 
  State
Process (Waiting
 
datatypes.library (Waiting
  
Stack0x5381d004 0x5382cffcpointer 0x5382cf10 (Cookie OK
  
SignalsSigRec 0x00001100SigWait 0x00000000 
  State
Process (Waiting
 
DST watcher (Waiting
  
Stack0x53946004 0x53955ffcpointer 0x53955f20 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000000 
  State
Process (Waiting
 
application.library messageserver (Waiting
  
Stack0x5399e000 0x5399efa0pointer 0x5399ef10 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000000 
  State
Task (Waiting
 
hub.usbfd (Waiting
  
Stack0x5fd73004 0x5fd7affcpointer 0x5fd7af00 (Cookie OK
  
SignalsSigRec 0x30000000SigWait 0x00000000 
  State
Task (Waiting
 
hub.usbfd (Waiting
  
Stack0x5fd5b004 0x5fd62ffcpointer 0x5fd62f00 (Cookie OK
  
SignalsSigRec 0x30000000SigWait 0x00000000 
  State
Task (Waiting
 
FlyingFeather.exe (Crashed
  
Stack0x52b63004 0x52b72ffcpointer 0x52b72c30 (Cookie OK
  
SignalsSigRec 0x00000010SigWait 0x10000100 
  State
Process (Crashed
 
ramlib.support (Waiting
  
Stack0x55221004 0x55239ffcpointer 0x55239f00 (Cookie OK
  
SignalsSigRec 0x80005000SigWait 0x00000100 
  State
Process (Waiting
 
diskimage.device unit 4 (Waiting
  
Stack0x533f7004 0x5340affcpointer 0x5340ae70 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000100 
  State
Process (Waiting
 
diskimage.device unit 0 (Waiting
  
Stack0x5343a004 0x5344dffcpointer 0x5344de70 (Cookie OK
  
SignalsSigRec 0xc0000000SigWait 0x00000100 
  State
Process (Waiting
 
dos_signal_server (Waiting
  
Stack0x5ff26004 0x5ff27ffcpointer 0x5ff27f10 (Cookie OK
  
SignalsSigRec 0x0000e000SigWait 0x00000000 
  State
Process (Waiting
 
Picasso96 (Waiting
  
Stack0x53a28004 0x53a37ffcpointer 0x53a37da0 (Cookie OK
  
SignalsSigRec 0x80000000SigWait 0x00000100 
  State
Process (Waiting
 
dos_appdir_server (Waiting
  
Stack0x5ff2c004 0x5ff2dffcpointer 0x5ff2dd40 (Cookie OK
  
SignalsSigRec 0x80001000SigWait 0x00000100 
  State
Process (Waiting
 
idle.task (Ready
  
Stack0x5ff89000 0x5ff8a000pointer 0x5ff89fd0 (Cookie OK
  
SignalsSigRec 0x00000000SigWait 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.
Go to top
Re: DSI error at exit
Just popping in
Just popping in


See User information
@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.

Go to top
Re: DSI error at exit
Just popping in
Just popping in


See User information
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.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top
Re: DSI error at exit
Quite a regular
Quite a regular


See User information
@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.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project