uninitialized MEMPTR error

Project:PDF Include project
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I am creating 800 invoices in a batch which inserts one external pdf page in each invoice. after about 250 I get the following error: "DLL procedure uncompress pdf_inc.p using an uninitialized MEMPTR. (3233)". After a ctrl-c it took a long time for it to go back to the login screen. I logged back in and got the error on the first invoice. I logged out of my terminal session, started a new one and could restart the process. It gets the error on the same invoice on a full run. I printed a small batch including the invoice it crashed on and it worked fine. Progress 91E on AIX.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

I found the issue. I was calling the pdf generation from a batch program and it loaded pdf_inc.p as a super procedure each time, thus filling up memory. Progress gave me some code to track it. I then removed the argument from pdf_inc.i and this made it a session procedure which it could see each time the program was called and it didn't reload it.