I don't know if this is useful information, since Dev C++ is not currently
under development and such, but I got this weird error with a nice looking
reporting tool when I locked my system while Dev C++ was open:
System Error. Code: 1309. An attempt has been made to operate on an
impersonation token by a thread that is not currently impersonating a client.
Here is the complete bug report (minus the lines that personally identify me):
date/time : 2009-12-16, 09:35:07, 411ms
operating system : Windows XP Service Pack 3 build 2600
system language : English
system up time : 2 hours 40 minutes
program up time : 6 minutes 23 seconds
processors : 2x Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz
physical memory : 1103/2005 MB (free/total)
free disk space : (C:) 44.45 GB
display mode : 1024x768, 32 bit
process id : $a38
allocated memory : 23.94 MB
executable : devcpp.exe
exec. date/time : 2009-09-04 15:36
version : 7.0.0.92
compiled with : Delphi 6
madExcept version : 3.0h
callstack crc : $b6166349, $82e60f36, $c21ace67
exception number : 1
exception class : EOSError
exception message : System Error. Code: 1309. An attempt has been made to
operate on an impersonation token by a thread that is not currently
impersonating a client.
I don't know if this is useful
information, since Dev C++ is not
currently under development and such,
but I got this weird error with a nice
looking reporting tool when I locked
my system while Dev C++ was open:
I would not hold your breath, but the place to post this is in the "Bugs" list
on the "Tracker" menu at the top of this forum. You never know, someone may
pick it up, but as you can see from your log, Dev-C++ is developed in Delphi,
and anyone who might be interested almost by definition is not a Delphi
programmer.
I was debugging a program in Dev C++
that has been crashing, and then I was
in the IDE and I locked my computer
and this error came up.
You did well to get Dev-C++'s debug interface to run at all! It is probably
buggier than your own code!, and barely functional. Dev-C++'s debugger is the most compelling reason to migrate to VC++ 2008 Express (or the new 2010
Express beta).
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know if this is useful information, since Dev C++ is not currently
under development and such, but I got this weird error with a nice looking
reporting tool when I locked my system while Dev C++ was open:
System Error. Code: 1309. An attempt has been made to operate on an
impersonation token by a thread that is not currently impersonating a client.
Here is the complete bug report (minus the lines that personally identify me):
date/time : 2009-12-16, 09:35:07, 411ms
operating system : Windows XP Service Pack 3 build 2600
system language : English
system up time : 2 hours 40 minutes
program up time : 6 minutes 23 seconds
processors : 2x Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz
physical memory : 1103/2005 MB (free/total)
free disk space : (C:) 44.45 GB
display mode : 1024x768, 32 bit
process id : $a38
allocated memory : 23.94 MB
executable : devcpp.exe
exec. date/time : 2009-09-04 15:36
version : 7.0.0.92
compiled with : Delphi 6
madExcept version : 3.0h
callstack crc : $b6166349, $82e60f36, $c21ace67
exception number : 1
exception class : EOSError
exception message : System Error. Code: 1309. An attempt has been made to
operate on an impersonation token by a thread that is not currently
impersonating a client.
main thread ($2c4):
4001529e rtl60.bpl Sysutils RaiseLastOSError
400152cf rtl60.bpl Sysutils Win32Check
40111809 vcl60.bpl Controls TMouse.GetCursorPos
005ab978 devcpp.exe editor 1693 TEditor.DebugHintTimer
400d6037 vcl60.bpl Extctrls TTimer.Timer
400d5f1b vcl60.bpl Extctrls TTimer.WndProc
7e4196c2 user32.dll DispatchMessageA
400f582f vcl60.bpl Forms TApplication.ProcessMessage
400f5866 vcl60.bpl Forms TApplication.HandleMessage
400f5a86 vcl60.bpl Forms TApplication.Run
005b3b36 devcpp.exe devcpp 259 initialization
thread $278 (TdevMonitorThread):
7c90df48 ntdll.dll NtWaitForMultipleObjects
7c80958a kernel32.dll WaitForMultipleObjectsEx
7c80a110 kernel32.dll WaitForMultipleObjects
004b6a5b devcpp.exe devMonitorThread 194 TdevMonitorThread.Execute
0044983b devcpp.exe madExcept HookedTThreadExecute
0044971d devcpp.exe madExcept CallThreadProcSafe
00449787 devcpp.exe madExcept ThreadExceptFrame
modules:
00400000 devcpp.exe 7.0.0.92 C:\Program Files\Dev-Cpp
02440000 wxdsgn.bpl 7.0.0.95 C:\Program Files\Dev-Cpp\plugins\wxdsgn
10000000 hccutils.DLL 6.14.10.4837 C:\WINDOWS\system32
40000000 rtl60.bpl 6.0.6.243 C:\Program Files\Dev-Cpp
400b0000 vcl60.bpl 6.0.6.240 C:\Program Files\Dev-Cpp
5ad70000 uxtheme.dll 6.0.2900.5512 C:\WINDOWS\system32
605d0000 mslbui.dll 5.1.2600.5512 C:\WINDOWS\system32
71aa0000 WS2HELP.dll 5.1.2600.5512 C:\WINDOWS\system32
71ab0000 WS2_32.dll 5.1.2600.5512 C:\WINDOWS\system32
71ad0000 wsock32.dll 5.1.2600.5512 C:\WINDOWS\system32
71b20000 mpr.dll 5.1.2600.5512 C:\WINDOWS\system32
73000000 winspool.drv 5.1.2600.5512 C:\WINDOWS\system32
74720000 MSCTF.dll 5.1.2600.5512 C:\WINDOWS\system32
755c0000 msctfime.ime 5.1.2600.5512 C:\WINDOWS\system32
76390000 imm32.dll 5.1.2600.5512 C:\WINDOWS\system32
763b0000 comdlg32.dll 6.0.2900.5512 C:\WINDOWS\system32
76780000 SHFolder.dll 6.0.2900.5512 C:\WINDOWS\system32
76b40000 winmm.dll 5.1.2600.5512 C:\WINDOWS\system32
77120000 oleaut32.dll 5.1.2600.5512 C:\WINDOWS\system32
773d0000 comctl32.dll 6.0.2900.5512 C:\WINDOWS\WinSxS\X86_Microsoft.Windows
.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83
774e0000 ole32.dll 5.1.2600.5512 C:\WINDOWS\system32
77b40000 Apphelp.dll 5.1.2600.5512 C:\WINDOWS\system32
77c00000 version.dll 5.1.2600.5512 C:\WINDOWS\system32
77c10000 msvcrt.dll 7.0.2600.5512 C:\WINDOWS\system32
77dd0000 advapi32.dll 5.1.2600.5755 C:\WINDOWS\system32
77e70000 RPCRT4.dll 5.1.2600.5795 C:\WINDOWS\system32
77f10000 GDI32.dll 5.1.2600.5698 C:\WINDOWS\system32
77f60000 SHLWAPI.dll 6.0.2900.5512 C:\WINDOWS\system32
77fe0000 Secur32.dll 5.1.2600.5753 C:\WINDOWS\system32
7c800000 kernel32.dll 5.1.2600.5781 C:\WINDOWS\system32
7c900000 ntdll.dll 5.1.2600.5755 C:\WINDOWS\system32
7c9c0000 shell32.dll 6.0.2900.5512 C:\WINDOWS\system32
7df70000 oledlg.dll 5.1.2600.5512 C:\WINDOWS\system32
7e410000 user32.dll 5.1.2600.5512 C:\WINDOWS\system32
7e4b0000 hhctrl.ocx 5.2.3790.4110 C:\WINDOWS\system32
processes:
000 Idle
004 System normal
29c smss.exe normal C:\WINDOWS\system32
2cc csrss.exe
2e4 winlogon.exe high C:\WINDOWS\system32
310 services.exe normal C:\WINDOWS\system32
31c lsass.exe normal C:\WINDOWS\system32
3e4 svchost.exe normal C:\WINDOWS\system32
428 svchost.exe
48c svchost.exe normal C:\WINDOWS\System32
4dc svchost.exe
57c svchost.exe
5b8 ccSetMgr.exe normal C:\Program Files\Common Files\Symantec Shared
7a4 ccEvtMgr.exe normal C:\Program Files\Common Files\Symantec Shared
094 SPBBCSvc.exe normal C:\Program Files\Common Files\Symantec Shared\SPBBC
0dc spoolsv.exe normal C:\WINDOWS\system32
190 svchost.exe
1e8 ASFAgent.exe normal C:\Program Files\Intel\ASF Agent
208 atchksrv.exe normal C:\Program Files\Intel\AMT
214 awhost32.exe normal C:\Program Files\Symantec\pcAnywhere
264 DefWatch.exe normal C:\Program Files\Symantec AntiVirus
2ac WinVncEv.exe normal C:\SvcTools\VNC
3f4 Iaantmon.exe normal C:\Program Files\Intel\Intel Matrix Storage Manager
470 LMS.exe normal C:\Program Files\Intel\AMT
4e0 ntmulti.exe normal C:\Program Files\lotus\notes
52c SavRoam.exe normal C:\Program Files\Symantec AntiVirus
614 lnchr.exe idle C:\SvcTools\7.5.257\bin
684 Rtvscan.exe normal C:\Program Files\Symantec AntiVirus
6c4 UNS.exe normal C:\Program Files\Intel\AMT
764 ViewpointService.exe normal C:\Program Files\Viewpoint\Common
77c WinVNC4.exe normal C:\Program Files\RealVNC\VNC4
840 alg.exe
be0 swmeter.exe idle C:\SvcTools\pkg\swmeter
fb0 Explorer.EXE normal C:\WINDOWS
610 hkcmd.exe normal C:\WINDOWS\system32
69c igfxpers.exe normal C:\WINDOWS\system32
870 igfxsrvc.exe normal C:\WINDOWS\system32
8d0 Iaanotif.exe normal C:\Program Files\Intel\Intel Matrix Storage Manager
a40 atchk.exe normal C:\Program Files\Intel\AMT
600 ccApp.exe normal C:\Program Files\Common Files\Symantec Shared
ac8 VPTray.exe normal C:\PROGRA~1\SYMANT~1
ad8 lnchr.exe idle C:\SvcTools\7.5.257\bin
a00 aim6.exe normal C:\Program Files\AIM6
b84 ctfmon.exe normal C:\WINDOWS\system32
a10 aolsoftware.exe normal C:\Program Files\AIM6
f90 pcsws.exe normal C:\PROGRA~1\IBM\CLIENT~1\Emulator
4b8 PCSCM.EXE normal C:\Program Files\IBM\Client Access\Emulator
d84 pcsws.exe normal C:\PROGRA~1\IBM\CLIENT~1\Emulator
ca4 NLNOTES.EXE normal C:\Program Files\lotus\notes
ec4 ntaskldr.EXE normal C:\Program Files\lotus\notes
f64 nxpcdmn.EXE normal C:\Program Files\lotus\notes
b04 NOTEPAD.EXE normal C:\WINDOWS\system32
724 Explorer.EXE high C:\WINDOWS
6d4 cwbunnav.exe normal C:\Program Files\IBM\Client Access
d5c javaw.exe normal C:\Program Files\IBM\Client Access\jre\bin
6fc cwbunnav.exe normal C:\Program Files\IBM\Client Access
ee8 notepad.exe normal C:\WINDOWS\system32
f0c notepad.exe normal C:\WINDOWS\system32
a38 devcpp.exe normal C:\Program Files\Dev-Cpp
hardware:
+ Computer
- ACPI Multiprocessor PC
+ Disk drives
- ST380815AS
+ Display adapters
- Intel(R) Q35 Express Chipset Family (driver 6.14.10.4837)
- Intel(R) Q35 Express Chipset Family (driver 6.14.10.4837)
+ DVD/CD-ROM drives
- PBDS DVD+-RW DS-8W1P
+ Human Interface Devices
- HID-compliant consumer control device
- HID-compliant consumer control device
- HID-compliant device
- USB Human Interface Device
- USB Human Interface Device
- USB Human Interface Device
+ IDE ATA/ATAPI controllers
- Intel(R) ICH9 SATA AHCI Controller (driver 7.6.1.1002)
- Primary IDE Channel
- Secondary IDE Channel
- Standard Dual Channel PCI IDE Controller
+ Keyboards
- HID Keyboard Device
+ Mice and other pointing devices
- HID-compliant mouse
+ Monitors
- Dell E178FP (driver 1.0.0.0)
- Dell E178FP (driver 1.0.0.0)
- Dell E178FP (driver 1.0.0.0)
+ Network adapters
- Intel(R) 82566DM-2 Gigabit Network Connection (driver 9.8.20.0)
+ Ports (COM & LPT)
- Communications Port (COM1)
- ECP Printer Port (LPT1)
- Intel(R) Active Management Technology - SOL (COM3) (driver 5.4.0.1065)
+ Processors
- Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz
- Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz
+ Sound, video and game controllers
- Audio Codecs
- Legacy Audio Drivers
- Legacy Video Capture Devices
- Media Control Devices
- SoundMAX Integrated Digital HD Audio (driver 5.10.1.5491)
- Video Codecs
+ System devices
- ACPI Fixed Feature Button
- ACPI Power Button
- Direct memory access controller
- High precision event timer
- Intel(R) 82801 PCI Bridge - 244E
- Intel(R) ICH9 Family PCI Express Root Port 1 - 2940 (driver 8.3.0.1011)
- Intel(R) ICH9 Family SMBus Controller - 2930 (driver 8.3.0.1008)
- Intel(R) ICH9DO LPC Interface Controller - 2914 (driver 8.3.0.1011)
- Intel(R) Management Engine Interface (driver 3.0.30.1086)
- Intel(R) Q35 Express Chipset Processor to I/O Controller - 29B0 (driver 8.3.0.1011)
- ISAPNP Read Data Port
- Logical Disk Manager
- Microcode Update Device
- Microsoft ACPI-Compliant System
- Microsoft System Management BIOS Driver
- Microsoft UAA Bus Driver for High Definition Audio
- Motherboard resources
- Numeric data processor
- PCI bus
- Plug and Play Software Device Enumerator
- Printer Port Logical Interface
- Programmable interrupt controller
- System board
- System CMOS/real time clock
- System speaker
- System timer
- Terminal Server Device Redirector
- Terminal Server Keyboard Driver
- Terminal Server Mouse Driver
- Volume Manager
+ Universal Serial Bus controllers
- Generic USB Hub
- Intel(R) ICH9 Family USB Universal Host Controller - 2934 (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB Universal Host Controller - 2935 (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB Universal Host Controller - 2936 (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB Universal Host Controller - 2937 (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB Universal Host Controller - 2938 (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A (driver 8.3.0.1011)
- Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C (driver 8.3.0.1011)
- USB Composite Device
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
- USB Root Hub
disassembling:
40015294 loc_40015294:
40015294 mov , ebx
40015297 mov eax, edx
40015299 call -$f2ba ($40005fe4) ; System.@RaiseExcept (rtl60.bpl)
40015299
4001529e > xor eax, eax
400152a0 pop edx
400152a1 pop ecx
400152a2 pop ecx
400152a3 mov fs:, edx
400152a6 push $400152bb
error details:
I was debugging a program in Dev C++ that has been crashing, and then I was in
the IDE and I locked my computer and this error came up.
I would not hold your breath, but the place to post this is in the "Bugs" list
on the "Tracker" menu at the top of this forum. You never know, someone may
pick it up, but as you can see from your log, Dev-C++ is developed in Delphi,
and anyone who might be interested almost by definition is not a Delphi
programmer.
You did well to get Dev-C++'s debug interface to run at all! It is probably
buggier than your own code!, and barely functional. Dev-C++'s debugger is
the most compelling reason to migrate to VC++ 2008 Express (or the new 2010
Express beta).
Clifford