It is currently Fri Apr 03, 2020 4:54 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Could someone test this please ?
PostPosted: Wed Jul 28, 2004 4:51 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Apr 26, 2003 4:47 am
Posts: 218
Location: Dullsville..population: me
Hi, Just trying to track down a bug in PB, so I can have another list ready for Fred when he returns :twisted:

It seems that any use of commands in exec.library will cause the program to hang or even crash the Amiga on ending.

Code:
;## 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


Even something very simple like this fails on exit..

Code:
 If OpenExecLibrary_(36)
    Forbid_()
    Permit_()
 Endif
End


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]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye