[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PB 9.0.1 Build 7171 Possible Memory Leak

Posted on 2005-05-05
5
Medium Priority
?
677 Views
Last Modified: 2013-12-26
I have just started a new contract at a major passenger ferry company, and their Point-of-sale system which is written in PB 9.0.1 using PFC version 6 is experiencing intermittant failures.  Basically, the application is closing without warning, and with no errors.  Although we have been able to replicate the problem in a lab that mimics our production environment, there is as yet no detectable pattern which causes the failure.

The system is new to me (although powerbuilder is not) and integrates with a variety of hardware (custom keyboard, custom printer, cash drawer through com port 1, etc).  The team's feeling is that this is probably a memory leak.

Question 1: Is there any known memory leak issues with build 7171?  Are there any major outstanding issues with upgrading from build 7171 to build 7610?  I've checked the summary of all EBF's which are newer that build 7171, with no major clues as to the possible cause, and the application is so complex that it is almost impossible to get an idea of where the problem could be.

Question 2: Are there any GOOD memory leak detectors that could help determine the problem?

Question 3: Would the introduction of tracing via TraceOpen be of any help? (the thinking here is that if we could identify the last statement that was executed, this could give us a clue as to where the problem lies).

I've attached a high point value for this question, since all the developers here have been unable to resolve the issue, and my Sybase contacts have also been unable to address the issue.

Thanks for any help

Doug
0
Comment
Question by:malachite
  • 3
  • 2
5 Comments
 
LVL 18

Accepted Solution

by:
diasroshan earned 2000 total points
ID: 13949646
hi,

before i give any further suggestions i feel u need to apply the latest patch 7610 and check if the problem persists...

another query is... is this happenin on all the machines or only selected or a particular machine.... this wud help in narrowing down on the issue...
cud be OS related or probably u forgot to register Comm control ocx.... cud be a any reason...


Cheers,
Rosh
0
 

Author Comment

by:malachite
ID: 13952384
Hi Rosh

Yes, that's basically what Sybase said.  Unfortunately, there are a LARGE number (20+) of systems that are all configured in such a way as to share the PFC and PB runtime PBD's and DLL's.  A simple upgrade to 7610 is not so simple, although I am in the process now of attempting that very thing.

The shutdown occurs on all installed machines, but with seemingly no pattern (although obviously, there MUST be a pattern).  Sometimes the users can go for weeks without seeing it, other times it's happening several times a shift.  It's a major problem, because it forces a full reboot of the machine (not because you have to per se, but because the machines are set up in a way as to completely prevent the users from switching applications for security reasons).

I've gotten some anecdotal evidence that it may have to do with the code involved with swiping credit cards on our special keyboard (the keyboard has a built in card reader, that is used to swipe VISA, MC, etc).  I'll be looking into that code on monday.  I'm new to the system so I'll definitely be checking out all the code related to any special third party drivers or direct OS API calls.  

Either way, I'll be recompiling the app with 7610.  In your opinion, is 7610 a solid EBF build?  We're on build 7171, mainly because the team is very short-staffed and didn't have the time to do upgrades etc.

Thanks for the advice

Doug
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 13952842
hi,

if its a POS system then there is no doubt that lotta third party drivers/API calls are being used to interact with the peripherals like ur pole display,cash drawer, programmable keyboard etc... So look into these calls closely...

But i still suggest an upgrade to the latest patch of 7610...


Cheers,
Rosh
0
 

Author Comment

by:malachite
ID: 13960843
Hi Rosh

Just FYI, today I've finally got the most up-to-date source for the system in question, and will be doing a full compile under 7610, to PBD's (which is what we use).  I'll let you know the results when we've finished testing etc.  Testing will take a couple of days to prove that 7610 has indeed solved or not solved the issue.  If it does however not recur by the end of this week with the new build, I'll accept your answer :)

Salutations
Doug
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 13965485
hi,

that sounds just abt perfect...

all the best...

Cheers,
Rosh
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question