<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums Topic: Slow Startup</title>
		<link>http://pnotepad.org/forums/topic/680</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Tue, 09 Feb 2010 02:45:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/topic/680" rel="self" type="application/rss+xml" />

		<item>
			<title>gnom1gnom on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2539</link>
			<pubDate>Fri, 30 Oct 2009 13:16:05 +0000</pubDate>
			<dc:creator>gnom1gnom</dc:creator>
			<guid isPermaLink="false">2539@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
do you have any news about this issue? Is there anything I can do to help you out?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gnom1gnom on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2495</link>
			<pubDate>Wed, 14 Oct 2009 10:44:48 +0000</pubDate>
			<dc:creator>gnom1gnom</dc:creator>
			<guid isPermaLink="false">2495@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;AcXtrnal.dll was there because I tried running PN is XP compatible mode before and I forgot to switch this option off.&#60;/p&#62;
&#60;p&#62;Here is the stack trace without this option:&#60;br /&#62;
ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
KERNELBASE.dll!OpenRegKey+0x236c&#60;br /&#62;
KERNELBASE.dll!OpenRegKey+0x2536&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0xe&#60;br /&#62;
KERNELBASE.dll!CompareStringW+0x38&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSectionEx+0xdf&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSection+0x12&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;br /&#62;
KERNELBASE.dll!FindFirstFileExW+0x515&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0x52&#60;/p&#62;
&#60;p&#62;ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
KERNELBASE.dll!OpenRegKey+0x236c&#60;br /&#62;
KERNELBASE.dll!OpenRegKey+0x2536&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0xe&#60;br /&#62;
KERNELBASE.dll!CompareStringW+0x38&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSectionEx+0xdf&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSection+0x12&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;br /&#62;
KERNELBASE.dll!FindFirstFileExW+0x515&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0x52&#60;/p&#62;
&#60;p&#62;ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x88d&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
win32k.sys!memset+0x7a27&#60;br /&#62;
win32k.sys!memset+0x7ac9&#60;br /&#62;
win32k.sys!memset+0x60f4&#60;br /&#62;
win32k.sys!memset+0x61f9&#60;br /&#62;
win32k.sys!memset+0x7bf5&#60;br /&#62;
ntoskrnl.exe!KeSynchronizeExecution+0x3a43&#60;br /&#62;
wow64win.dll+0x3fc2a&#60;br /&#62;
wow64win.dll+0x1ac48&#60;br /&#62;
wow64.dll!Wow64SystemServiceEx+0xd7&#60;br /&#62;
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x24&#60;br /&#62;
wow64.dll!Wow64SystemServiceEx+0x1ce&#60;br /&#62;
wow64.dll!Wow64LdrpInitialize+0x429&#60;br /&#62;
ntdll.dll!RtlResetRtlTranslations+0x1b08&#60;br /&#62;
ntdll.dll!RtlResetRtlTranslations+0xc63&#60;br /&#62;
ntdll.dll!LdrInitializeThunk+0xe&#60;br /&#62;
USER32.dll!DispatchMessageW+0x5c&#60;br /&#62;
pn.exe+0x64627&#60;/p&#62;
&#60;p&#62;I'm not sure if the last one appeared just before PN opened or just after...&#60;br /&#62;
Yes I open PN by double-clicking.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simon on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2488</link>
			<pubDate>Tue, 13 Oct 2009 16:57:11 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2488@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;What's very strange here is that these stacks don't look like they include any code running actually in PN.exe or any of the wow64.dll or similar references I'd expect to see on a 64-bit OS. PN doesn't call FindCloseChangeNotification anywhere internally, so it doesn't look like it's directly PN that's causing it. I also don't see any references to AcXtrnal.dll when using PN on my system.&#60;/p&#62;
&#60;p&#62;That being said I'll see if I can produce something with some debug output to help track the cause down.&#60;/p&#62;
&#60;p&#62;Finally, I presume that you're starting PN just by double-clicking on a shortcut or similar?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gnom1gnom on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2486</link>
			<pubDate>Tue, 13 Oct 2009 15:42:35 +0000</pubDate>
			<dc:creator>gnom1gnom</dc:creator>
			<guid isPermaLink="false">2486@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I copied the pdb files.&#60;br /&#62;
The stack changes during startup - I tried to copy it as fast as I can (I had managed to do it couple of times before PN showed up):&#60;br /&#62;
ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
AcXtrnal.DLL+0x9e7a&#60;br /&#62;
KERNELBASE.dll!CreateFileW+0x3e8&#60;br /&#62;
ntdll.dll!RtlInitUnicodeString+0x164&#60;br /&#62;
ntdll.dll!RtlAllocateHeap+0xac&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xbb&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlFreeHeap+0x7e&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlGetGroupSecurityDescriptor+0xf3&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xa0&#60;br /&#62;
ntdll.dll!RtlImageNtHeader+0x73a&#60;br /&#62;
ntdll.dll!RtlUniform+0x28&#60;br /&#62;
AcXtrnal.DLL+0x9480&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;/p&#62;
&#60;p&#62;ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
AcXtrnal.DLL+0x9e7a&#60;br /&#62;
KERNELBASE.dll!CreateFileW+0x3e8&#60;br /&#62;
ntdll.dll!RtlInitUnicodeString+0x164&#60;br /&#62;
ntdll.dll!RtlAllocateHeap+0xac&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xbb&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlFreeHeap+0x7e&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlGetGroupSecurityDescriptor+0xf3&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xa0&#60;br /&#62;
ntdll.dll!RtlImageNtHeader+0x73a&#60;br /&#62;
ntdll.dll!RtlUniform+0x28&#60;br /&#62;
AcXtrnal.DLL+0x9480&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;/p&#62;
&#60;p&#62;ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
AcXtrnal.DLL+0x9e7a&#60;br /&#62;
KERNELBASE.dll!CreateFileW+0x3e8&#60;br /&#62;
ntdll.dll!RtlInitUnicodeString+0x164&#60;br /&#62;
ntdll.dll!RtlAllocateHeap+0xac&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xbb&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlFreeHeap+0x7e&#60;br /&#62;
AcXtrnal.DLL+0xa25d&#60;br /&#62;
ntdll.dll!RtlGetGroupSecurityDescriptor+0xf3&#60;br /&#62;
ntdll.dll!RtlValidateHeap+0xa0&#60;br /&#62;
ntdll.dll!RtlImageNtHeader+0x73a&#60;br /&#62;
ntdll.dll!RtlUniform+0x28&#60;br /&#62;
AcXtrnal.DLL+0x9480&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;/p&#62;
&#60;p&#62;ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
kernel32.dll!RegOpenKeyExW+0x5db&#60;br /&#62;
kernel32.dll!RegOpenKeyExW+0x497&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0x52&#60;br /&#62;
KERNELBASE.dll!CompareStringW+0x38&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSectionEx+0xdf&#60;br /&#62;
ntdll.dll!RtlUniform+0x28&#60;br /&#62;
AcXtrnal.DLL+0x9480&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;/p&#62;
&#60;p&#62;Notice that this line is at the bottom of each stack state: KERNELBASE.dll!FindCloseChangeNotification+0x69.&#60;/p&#62;
&#60;p&#62;Hope this helps!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simon on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2484</link>
			<pubDate>Tue, 13 Oct 2009 13:20:15 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2484@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hmm, ok so we're not showing any PN code there. I'm not sure if that's because we're not in PN yet or because there are no symbols for pn.exe. Would you mind trying with the PDB files from here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.googlecode.com/files/pdb20101010.zip&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.googlecode.com/files/pdb20101010.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Just drop the files into the PN directory so that pn.pdb is in the same place as pn.exe and try Process Explorer again. If this doesn't help then I'll keep working on a custom build to track down the problem.&#60;/p&#62;
&#60;p&#62;Thanks for your help in diagnosing this!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gnom1gnom on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2481</link>
			<pubDate>Mon, 12 Oct 2009 19:07:35 +0000</pubDate>
			<dc:creator>gnom1gnom</dc:creator>
			<guid isPermaLink="false">2481@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;This issue started suddenly - I installed Windows 7 Ultimate x64 from scratch and as usual installed PN (2.0.10.1010). Than suddenly it started happening - I don't recall installing any new program or update.&#60;/p&#62;
&#60;p&#62;I deleted c:\users\your_user_name\appdata\roaming\echo software\pn2 as you suggested, but it doesn't help. Disabling CTags doesn't help too.&#60;/p&#62;
&#60;p&#62;Here's PN's stack:&#60;br /&#62;
ntoskrnl.exe!SeAccessCheckWithHint+0xb4a&#60;br /&#62;
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x682&#60;br /&#62;
ntoskrnl.exe!KeWaitForSingleObject+0x19f&#60;br /&#62;
ntoskrnl.exe!PsIsSystemProcess+0x68&#60;br /&#62;
ntoskrnl.exe!KeStackAttachProcess+0x11b9&#60;br /&#62;
ntoskrnl.exe!ObReferenceObjectByPointerWithTag+0x22b&#60;br /&#62;
kernel32.dll!SortCloseHandle+0x2db8&#60;br /&#62;
kernel32.dll!GetDurationFormatEx+0xd8ce&#60;br /&#62;
kernel32.dll!RegOpenKeyExW+0x497&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0x52&#60;br /&#62;
KERNELBASE.dll!CompareStringW+0x38&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSectionEx+0xdf&#60;br /&#62;
ntdll.dll!RtlUniform+0x28&#60;br /&#62;
ntdll.dll!RtlInitializeCriticalSection+0x12&#60;br /&#62;
KERNELBASE.dll!FindCloseChangeNotification+0x69&#60;br /&#62;
KERNELBASE.dll!FindFirstFileExW+0x515&#60;br /&#62;
KERNELBASE.dll!CompareStringEx+0x52
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simon on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2478</link>
			<pubDate>Mon, 12 Oct 2009 16:29:39 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2478@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Is it the same? Does your PN start after 30 seconds or just stay stopped? Finally, if I make a custom build of PN that ouputs some timing information would either of you help by running it and uploading the results?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gnom1gnom on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2471</link>
			<pubDate>Mon, 12 Oct 2009 09:15:19 +0000</pubDate>
			<dc:creator>gnom1gnom</dc:creator>
			<guid isPermaLink="false">2471@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;It seems that I have the same problem - &#60;a href=&#34;http://pnotepad.org/forums/topic/687&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/topic/687&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Pich on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2454</link>
			<pubDate>Wed, 30 Sep 2009 12:31:26 +0000</pubDate>
			<dc:creator>Pich</dc:creator>
			<guid isPermaLink="false">2454@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;thank you for your answer. I've unistalled PN2, I've completely deleted the folder:&#60;/p&#62;
&#60;p&#62; c:\documents and settings\your_user_name\application data\echo software\pn2&#60;/p&#62;
&#60;p&#62;I've downloaded the latest stable version of PN2 and I've installed it.&#60;/p&#62;
&#60;p&#62;No change. Several seconds ( 30 seconds ) in program startup and CPU load at maximum.&#60;/p&#62;
&#60;p&#62;No other extensions are installed. Maybe there can be some problems in interactions between PN2 and windows API...but it's only an idea...&#60;/p&#62;
&#60;p&#62;Thank you&#60;/p&#62;
&#60;p&#62;Pich
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simon on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2450</link>
			<pubDate>Tue, 29 Sep 2009 18:40:39 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">2450@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, I'd definitely like to work out what this is to avoid it happening in the future. I'm not sure what might be causing it. The first thing to try is removing things from the user settings directory:&#60;/p&#62;
&#60;p&#62;Vista/7: c:\users\your_user_name\appdata\roaming\echo software\pn2&#60;br /&#62;
XP: c:\documents and settings\your_user_name\application data\echo software\pn2&#60;/p&#62;
&#60;p&#62;Here are what the files mean:&#60;/p&#62;
&#60;p&#62;*.acd: Autocomplete history files&#60;br /&#62;
*.cscheme: Compiled scheme details, delete these and they'll be recreated next run&#60;br /&#62;
installClipCache.xml: Text clip details, will be recreated from defaults but you'll lose any customisations&#60;br /&#62;
toolbar.dat: Toolbar configuration&#60;/p&#62;
&#60;p&#62;I can't think what would be causing the slowdown here, but try this and see if that helps. If not, we'll look at other options.&#60;/p&#62;
&#60;p&#62;Out of interest do you have any extensions installed, like PyPN?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Pich on "Slow Startup"</title>
			<link>http://pnotepad.org/forums/topic/680#post-2442</link>
			<pubDate>Mon, 28 Sep 2009 08:06:34 +0000</pubDate>
			<dc:creator>Pich</dc:creator>
			<guid isPermaLink="false">2442@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi to all,&#60;/p&#62;
&#60;p&#62;i've noticed a problem with programmer's notepad.&#60;br /&#62;
I have version 2.0.10.1010, but I've noticed this in earlier versions too.&#60;br /&#62;
I'm using it on Windows XP professional.&#60;/p&#62;
&#60;p&#62;Sometimes happens that the startup of the programmers notepad is sloooow ( one minute or two on a P4 3 GHz - 1GB RAM ) and I don't know how to fix this.&#60;br /&#62;
Months ago I've completely cleaned all references of the program in the registry and in the new installation all went ok ( few milliseconds and the programmers notepad was up ). After a while something happened and the startup became surprisingly slow...&#60;/p&#62;
&#60;p&#62;Any idea?&#60;/p&#62;
&#60;p&#62;Thank you&#60;/p&#62;
&#60;p&#62;Pich
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
