Print Thread
Minidump files
#45451 12/27/12 01:03 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
Hi Marco,

i have a question, i don't know if this is the correct place to ask it.

We have several programs writen in delphi using DOA. In the last year we discovered that if the program crashes due to the fact that there is a field missing. The program starts to generate "minidump" files. They have names like:

H_minidump_default_pid_8784_tid_x1BBC_2012_12_27_13_41_38.dmp

the fist character is often a strange ascii, not a normal character.

The problem is that the program does not end. It disappears from the taskbar. Taskmanger shows it in memory. The program keeps on generating minidump files every second until the process is killed in memory.

I can't discover what causes this. We had this in our delphi7 versions last year. That disapeared when we upgraded to a newer doa version 4.1. Know we have te same problem in delphixe2 using the 4.1 doa version. This is probably an coincedence.

Do you have any idea? Can you point me in the right direction?

Kind regards

Ruud


Last edited by Ruudbern; 12/27/12 01:05 PM.
Re: Minidump files
Ruudbern #45453 12/27/12 03:38 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
Extra info:

It happens when a dataset is activated that contains en sql where a field is missing. It results in an ora-00904 invalid id. It happens before "application.run" in the project file. If the same happens after application.run during normal program execution than the error is handled correct.

It has something to do with some windows proces. Before our application shows its (doa)error dialog. Windows shows a dialog. With the choice to close the program or to debug. If i choose close then the normal dialog is shown het the ora error.

The solution in this case is of cours ad the field, but we already had thousends of minidump file because a customer dit not run as script during an update....

Hope you can help.

Kind regards

Ruud

Re: Minidump files
Ruudbern #45462 12/28/12 10:21 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
My guess is that you have a data module or auto-created form with a TOracleDataSet instance with Active = True. The missing field will lead to an exception when Active is set to True when instantiating the form/data module. To prevent this you can perhaps activate the dataset in a more controlled manner, after the application is completely initialized.

You can set TOracleDataSet.DesignActivation to True to enable active datasets at design-time, but disable implicit activation at run-time.


Marco Kalter
Allround Automations
Re: Minidump files
Marco Kalter #45470 12/29/12 12:57 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
Hi Marco

thanks for looking in to this. I am setting the dataset active to true myself. And you are right, i can do this later.... But sometimes the same happens after a long time of inactivity. An oracle error occurs and the generations of minidump files starts.

I don't understand what mechanisme causes the generation of these files. Is it a feature comming with delphi? Is it doa? Is it oracle? Windows? Do you have any idea?

More important can i turn it off? I don't want to fill the harddisk at a customer site with these files.

any help is apreciated,

thanks in advance.

Ruud

Last edited by Ruudbern; 12/29/12 12:59 PM.
Re: Minidump files
Ruudbern #45473 12/31/12 10:30 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
Unfortunately I have no real clue what could cause the minidump.


Marco Kalter
Allround Automations
Re: Minidump files
Marco Kalter #45490 01/02/13 01:19 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
Hi Marco,

i scanned some dlls en found in orageneric11.dll':

"MiniDumpWriteDump Error orrured %d %s_%s_pid_%d_tid_x%X_%d_%d_%d_%d_%d_%d_"

This is the exact patern as found in the the minidump file name.
We communicate thrue doa to oracle. Can you help me?
Or should i contact oracle to ask what could cause this?

Kind Regards

Ruud


Re: Minidump files
Ruudbern #45491 01/02/13 02:06 PM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
The orageneric11.dll is a library from your Oracle Client installation, so you could contact Oracle Support, but the error message does not seem very useful.


Marco Kalter
Allround Automations
Re: Minidump files
Marco Kalter #46120 02/15/13 04:10 PM
Joined: Feb 2013
Posts: 1
C
Member
Offline
Member
C
Joined: Feb 2013
Posts: 1
Hi Ruudbern,

I have the same problem as you have.
Did you find the solution of your problem ?
How to disabled the generation of these minidump on Oracle ?

Regards,

Chareon.

Re: Minidump files
Chareon #46877 04/19/13 09:30 PM
Joined: Jul 2002
Posts: 71
R
Member
OP Offline
Member
R
Joined: Jul 2002
Posts: 71
Hi,

upgrade oracle client to 11.2.0.3 fixed the problem.

Regards

Ruud


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.035s Queries: 14 (0.010s) Memory: 2.5339 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-02 13:48:59 UTC
Valid HTML 5 and Valid CSS