thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Access Violation upon Code Completion in PyScripter on WinXP #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Installation of package "IPKISS" from
http://www.photonics.intec.ugent.be/research/facilities/design/ipkiss/ipkiss-1.5
.win32.exe
http://www.photonics.intec.ugent.be/research/facilities/design/ipkiss/default.ht
m

2. In pyscripter editor enter following two lines and press keyboard
shortcut for code completion while cursor is placed after "ipk."
(CTRL+SPACE in setup here):

import ipkiss.all as ipk
ipk.

----------------
What is the expected output? What do you see instead?

Expected: Code completion list box -or- warning if code parsing fails.
Seen: Application Error "Access violation" (see below)

----------------
What version of the product are you using? On what operating system?

- PyScripter 1.9.9.7
- WinXP SP2
- Python 2.6.2
- Numpy 1.3.0
- ipython 0.9.1
- matplotlib 0.98.5.3 (for py26)
- RPyC 2.60
- "IPKISS" (see above): 1.5

----------------
Please provide any additional information below.

Access violation details:

Exception class: EAccessViolation
Exception message: Access violation at address 00805560 in module
'PyScripter.exe'. Read of address 00000000.
Exception address: 00805560
------------------------------------------------------------------------------
PyScripter version : 1.9.9.7
Python DLL : python26.dll
Python Engine : peInternal
------------------------------------------------------------------------------
Stack list, generated 17.07.2009 14:31:27
(00404560){PyScripter.exe} [00805560] uCommonFunctions.ComparePythonIdents
(Line 1149, "uCommonFunctions.pas" + 0) + $0
(004045D3){PyScripter.exe} [008055D3] uCommonFunctions.ComparePythonIdents
(Line 1165, "uCommonFunctions.pas" + 3) + $6
(0009550D){PyScripter.exe} [0049650D] WideStrings.TWideStringList.QuickSort
+ $2D
(0009561D){PyScripter.exe} [0049661D]
WideStrings.TWideStringList.CustomSort + $25
(003AB5AC){PyScripter.exe} [007AC5AC]
frmEditor.TEditorForm.SynCodeCompletionExecute (Line 2305, "frmEditor.pas"
+ 74) + $A
(0030E86F){PyScripter.exe} [0070F86F]
SynCompletionProposal.TSynBaseCompletionProposal.ExecuteEx (Line 2453,
"SynCompletionProposal.pas" + 5) + $1D
(0030FA83){PyScripter.exe} [00710A83]
SynCompletionProposal.TSynCompletionProposal.ExecuteEx (Line 3297,
"SynCompletionProposal.pas" + 5) + $10
(0030FC70){PyScripter.exe} [00710C70]
SynCompletionProposal.TSynCompletionProposal.DoExecute (Line 3380,
"SynCompletionProposal.pas" + 18) + $22
(0030FEFD){PyScripter.exe} [00710EFD]
SynCompletionProposal.TSynCompletionProposal.ActivateCompletion (Line 3488,
"SynCompletionProposal.pas" + 1) + $A
(003A9646){PyScripter.exe} [007AA646]
frmEditor.TEditorForm.doProcessCommandHandler (Line 1588, "frmEditor.pas" +
43) + $9
(001AEEC8){PyScripter.exe} [005AFEC8]
SynEdit.TCustomSynEdit.NotifyHookedCommandHandlers (Line 10052,
"SynEdit.pas" + 8) + $1F
(000238AF){PyScripter.exe} [004248AF] Classes.TCollection.GetItem + $B
(001A8642){PyScripter.exe} [005A9642]
SynEdit.TCustomSynEdit.CommandProcessor (Line 6908, "SynEdit.pas" + 7) + $E
(0019F132){PyScripter.exe} [005A0132] SynEdit.TCustomSynEdit.KeyDown (Line
2070, "SynEdit.pas" + 20) + $E
(0006D794){PyScripter.exe} [0046E794] Controls.TWinControl.DoKeyDown + $90
(0006D7B6){PyScripter.exe} [0046E7B6] Controls.TWinControl.WMKeyDown + $A
(0006831B){PyScripter.exe} [0046931B] Controls.TControl.WndProc + $2BB
(000E5BB0){PyScripter.exe} [004E6BB0] TntForms.GetMessageForNT (Line 777,
"TntForms.pas" + 10) + $9
(0006C1C5){PyScripter.exe} [0046D1C5] Controls.TWinControl.WndProc + $499
(00022940){PyScripter.exe} [00423940] Classes.TThreadList.UnlockList + $4
(00038ED8){PyScripter.exe} [00439ED8] Graphics.FreeMemoryContexts + $98
(0006B950){PyScripter.exe} [0046C950] Controls.TWinControl.MainWndProc + $2C
(0006B965){PyScripter.exe} [0046C965] Controls.TWinControl.MainWndProc + $41
(0002DC7C){PyScripter.exe} [0042EC7C] Classes.StdWndProc + $14
(0006C1C5){PyScripter.exe} [0046D1C5] Controls.TWinControl.WndProc + $499
(001A748E){PyScripter.exe} [005A848E] SynEdit.TCustomSynEdit.WndProc (Line
6204, "SynEdit.pas" + 22) + $4
(0006B950){PyScripter.exe} [0046C950] Controls.TWinControl.MainWndProc + $2C
(0002DC7C){PyScripter.exe} [0042EC7C] Classes.StdWndProc + $14
(00081E80){PyScripter.exe} [00482E80] Forms.TApplication.ProcessMessage + $F4
(00081EC2){PyScripter.exe} [00482EC2] Forms.TApplication.HandleMessage + $A
(000820E2){PyScripter.exe} [004830E2] Forms.TApplication.Run + $96
(00429200){PyScripter.exe} [0082A200] PyScripter.PyScripter (Line 129, "" +
6) + $7
------------------------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 2"
Processor: Intel, Intel(R) Core(TM)2 Duo CPU     E4400  @ 2.00GHz, 2000 MHz
MMX SSE SSE2 SSE3 SSSE3 64 bits DEP
Memory: 2047; free 1127
Display  : 1920x1200 pixels, 32 bpp
------------------------------------------------------------------------------
List of loaded modules:
...
[00400000] C:\Programme\PyScripter\PyScripter.exe
           1.9.9.7 - 1.9.9.7
...
[03E50000] C:\Programme\Python26\DLLs\_multiprocessing.pyd
<1E1D0000> (no module version info)
[03E60000] C:\Programme\Python26\lib\site-packages\numpy\core\_dotblas.pyd
<68B40000> (no module version info)
...
[1D1A0000] C:\Programme\Python26\DLLs\_ctypes.pyd
           (no module version info)
[1E000000] C:\WINDOWS\system32\python26.dll
           2.6.2150.1013 - 2.6.2
           Python Core
...
[63B00000] C:\Programme\Python26\lib\site-packages\numpy\lib\_compiled_base.pyd
           (no module version info)
[64800000] C:\Programme\Python26\lib\site-packages\numpy\core\_sort.pyd
           (no module version info)
...
[69200000] C:\Programme\Python26\lib\site-packages\numpy\core\scalarmath.pyd
           (no module version info)
[69B80000] C:\Programme\Python26\lib\site-packages\numpy\core\multiarray.pyd
           (no module version info)
[6B040000] C:\Programme\Python26\lib\site-packages\numpy\fft\fftpack_lite.pyd
           (no module version info)
...
[6F0C0000] C:\Programme\Python26\lib\site-packages\numpy\random\mtrand.pyd
           (no module version info)
[6FB00000] C:\Programme\Python26\lib\site-packages\numpy\linalg\lapack_lite.pyd
           (no module version info)
[70C40000] C:\Programme\Python26\lib\site-packages\numpy\core\umath.pyd
           (no module version info)
...
------------------------------------------------------------------------------
Active Controls hierarchy:
TSynEdit "SynEdit"
TSpTBXTabSheet "tbshSource"
TSpTBXTabControl "ViewsTabControl"
TPanel "FGPanel"
TEditorForm "EditorForm_6"
TSpTBXTabSheet "SpTBXTabSheet7"
TSpTBXTabControl "TabControl"
TPanel "BGPanel"
TPyIDEMainForm "PyIDEMainForm"
------------------------------------------------------------------------------

Original issue reported on code.google.com by satel...@optis.ch on 17 Jul 2009 at 12:43

GoogleCodeExporter commented 9 years ago
Fixed in 1.9.9.8.

Original comment by pyscripter on 2 Jan 2010 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 30 Sep 2010 at 3:06