Could someone test this please ?
Posted: Wed Jul 28, 2004 4:51 pm
Hi, Just trying to track down a bug in PB, so I can have another list ready for Fred when he returns
It seems that any use of commands in exec.library will cause the program to hang or even crash the Amiga on ending.
Even something very simple like this fails on exit..
I`ve got an idea of why it fails, because a new exec lib converted with FDConvert still has these problems.
I guess cos the lib is converted automatically, PB tries to close exec.library when the code reaches the end statement..then wipes out it`s internal pointer to execbase and can`t cleanup and remove itself properly.
And just out of interest, how many people on here still use PB on the Amiga?[/code]
It seems that any use of commands in exec.library will cause the program to hang or even crash the Amiga on ending.
Code: Select all
;## Compile this without debugger support and run from a CLI
If OpenExecLibrary_(36)
PrintN("Exec =>v36")
*mymsgport.MsgPort=CreateMsgPort_()
Delay(100)
If *mymsgport
DeleteMsgPort_(*mymsgport)
Endif
PrintN("Closing....")
Endif
End
Code: Select all
If OpenExecLibrary_(36)
Forbid_()
Permit_()
Endif
End
I guess cos the lib is converted automatically, PB tries to close exec.library when the code reaches the end statement..then wipes out it`s internal pointer to execbase and can`t cleanup and remove itself properly.
And just out of interest, how many people on here still use PB on the Amiga?[/code]