1. Oracle 12C
2. Delphi 11.3
First of all, on client side my customer was facing a problem after days the system is running and doing one task that executes every minute, a NET. Invalid pointer error appears.
Then I deciden to try a change and free the query object each minute. Then, when closing the application I'm facing a memory leak error in OraNetClassesUni.O0O0OQCOQ0.O0QQOOCOQ0.
--------------------------------2023/5/5 20:29:04--------------------------------
A memory block has been leaked. The size is: 212
This block was allocated by thread 0x2C5C, and the stack trace (return addresses) at the time was:
FE8551
FF2117
FF227E
1F23B66 [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.O0O0OQCOQ0.O0QQOOCOQ0]
1F379AE [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.O000Q0QOQ0.O0OC0COOQ0]
1F314A1 [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.OO00Q0COQ0.OOQO0CQOQ0]
1F3129B [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.OO00Q0COQ0.OCC00CQOQ0]
1F30FB1 [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.OO00Q0COQ0.OQCC0CQOQ0]
1F34060 [OraNetClassesUni][OraNetClassesUni][OraNetClassesUni.OO00Q0COQ0.OCQ0QCQOQ0]
1ED7E02 [OraNumberUni][OraNumberUni][OraNumberUni.TOCINumber.ToInt]
FF0B1E
The block is currently used for an object of class: Unknown
The allocation number is: 10803336
Current memory dump of 256 bytes starting at pointer address F6469D00:
01 00 00 00 C0 00 00 00 00 52 00 30 00 38 00 34 00 37 00 20 00 20 00 20 00 20 00 20 00 20 00 20
00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20
00 20 00 20 00 20 00 33 00 20 00 20 00 20 00 30 00 20 00 20 00 20 00 20 00 20 00 36 00 2E 00 35
00 35 00 30 00 30 00 45 00 2B 00 30 00 31 00 6D 00 67 00 2F 00 64 00 6C 00 20 00 20 00 20 00 20
00 20 00 20 00 20 00 20 00 2D 00 32 00 2E 00 30 00 30 00 30 00 30 00 45 00 2D 00 30 00 31 00 35
00 31 00 42 00 4E 00 49 00 49 00 20 00 30 00 36 00 31 00 30 00 31 00 37 00 30 00 39 00 32 00 30
00 35 00 38 00 37 00 0D E8 7C 78 F6 80 80 80 80 80 80 80 80 80 80 80 80 00 00 00 00 01 8C 46 F6
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 89 C3 00 51 85 FE 00 17 21 FF 00 7E 22 FF 00
. . . . À . . . . R . 0 . 8 . 4 . 7 . . . . . . .
. . . . . . . . . . . . . . . .
. . . . 3 . . . . 0 . . . . . . 6 . . . 5
. 5 . 0 . 0 . E . + . 0 . 1 . m . g . / . d . l . . . .
. . . . . - . 2 . . . 0 . 0 . 0 . 0 . E . - . 0 . 1 . 5
. 1 . B . N . I . I . . 0 . 6 . 1 . 0 . 1 . 7 . 0 . 9 . 2 . 0
. 5 . 8 . 7 . . è | x ö € € € € € € € € € € € € . . . . . Œ F ö
. . . . . . . . . . . . . . . . D ‰ Ã . Q … þ . . ! ÿ . ~ " ÿ .
Is there any known bug in the oracle connector.
The full report is attached.