Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: "Argument out of range" popup while closing application.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
nilesh shinde

Posts: 47
Registered: 10/5/13
"Argument out of range" popup while closing application.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 3, 2016 10:25 AM
Hi,

My application is giving "Argument out of range" popup message while closing it. Application works fine, but during termination it shows message box with message "Argument out of range". Application requires termination by killing its process. This problem is observed only on some test machines.

Below are some stack traces collected when this error message comes. I am not sure in which condition this error is getting shown. Please provide me some details around why such message shown?

Also in stack trace 2, what are finalize calls (BrowseutilunitFinalize,LoginFinalize)?

Trace 1:

KERNELBASE!RaiseException+48
rtl190!SystemClassesTReaderReadBuffer$qqrio+88
rtl190!SystemClassesTReaderRead$qqrpvi+27

Trace 2:

KERNELBASE!RaiseException+48
rtl190!SystemGenericsCollections%TList__1$p30SystemClassesTCollectionItem%GetItem$qqri+20
MyApp!BrowseutilunitFinalize+1a5c
MyApp!LoginFinalize+25900
vcl190!VclFormsTCustomFormCloseQuery$qqrv+5b
MyApp!Word_2kFinalize+1091d6
MyApp!Word_2kFinalize+109470
MyApp!Word_2kFinalize+122931
MyApp!Word_2kFinalize+128670
vcl190!VclControlsTWinControlMainWndProc$qqrr24WinapiMessagesTMessage+2f
rtl190!SystemClassesTDataModuleWriteHeight$qqrp22SystemClassesTWriter+22
user32!_InternalCallWinProc+2b
user32!UserCallWinProcCheckWow+18e
user32!CallWindowProcW+8d
MyApp!Word_2kFinalize+e3f0a
rtl190!SystemClassesTDataModuleWriteHeight$qqrp22SystemClassesTWriter+22
user32!_InternalCallWinProc+2b
user32!UserCallWinProcCheckWow+18e
user32!DispatchMessageWorker+473
user32!DispatchMessageW+10
vcl190!VclFormsTApplicationProcessMessage$qqrr6tagMSG+f8
0x80000000`00000000
0x80000000`00000000

Thanks,
Nilesh

Edited by: nilesh shinde on Feb 3, 2016 9:32 PM

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02