KristenXu / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 1 forks source link

OSX Crash #625

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
  Sadly I'm not sure.  It may be linked to working with large files.

What is the expected output? What do you see instead?
Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.QD                    0x9009bae2 
SelectAndVendDataForGlyphVector(ATSGlyphVector*, unsigned long, unsigned char, 
unsigned char, void**, unsigned long*) + 655
1   com.apple.QD                    0x9009bc6f 
ATSUDirectGetLayoutDataArrayPtrFromTextLayout + 129
2   libwx_macud-2.8.0.dylib         0x12e45501 
wxMacCoreGraphicsContext::GetPartialTextExtents(wxString const&, 
wxArrayDouble&) const + 375
3   libwx_macud-2.8.0.dylib         0x12ee3eb1 
wxDC::DoGetPartialTextExtents(wxString const&, wxArrayInt&) const + 197
4   libwx_macud_stc-2.8.0.dylib     0x145d02c3 SurfaceImpl::MeasureWidths(Font&, 
char const*, int, int*) + 99
5   libwx_macud_stc-2.8.0.dylib     0x145ecee7 Editor::LayoutLine(int, Surface*, 
ViewStyle&, LineLayout*, int) + 1837
6   libwx_macud_stc-2.8.0.dylib     0x145f7c3a Editor::Paint(Surface*, 
PRectangle) + 1560
7   libwx_macud_stc-2.8.0.dylib     0x145d3c95 ScintillaWX::DoPaint(wxDC*, 
wxRect) + 315
8   libwx_macud_stc-2.8.0.dylib     0x145dab16 
wxStyledTextCtrl::OnPaint(wxPaintEvent&) + 148
9   libwx_macud-2.8.0.dylib         0x12dfd85e 
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 108
10  libwx_macud-2.8.0.dylib         0x12dfe5ca 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 140
11  libwx_macud-2.8.0.dylib         0x12dfe722 
wxEvtHandler::ProcessEvent(wxEvent&) + 256
12  libwx_macud-2.8.0.dylib         0x12e9746f wxWindow::MacDoRedraw(void*, 
long) + 1203
13  libwx_macud-2.8.0.dylib         0x12e95c8c wxWindow::wxWindow(wxWindow*, 
int, wxPoint const&, wxSize const&, long, wxString const&) + 1800
14  libwx_macud-2.8.0.dylib         0x12e9634d 
wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 
197
15  com.apple.HIToolbox             0x90586ecf 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1567
16  com.apple.HIToolbox             0x90586196 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 411
17  com.apple.HIToolbox             0x90585ff5 SendEventToEventTargetWithOptions 
+ 58
18  com.apple.HIToolbox             0x905ae131 HIView::SendDraw(short, 
OpaqueGrafPtr*, __HIShape const*, CGContext*) + 475
19  com.apple.HIToolbox             0x905ada85 
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, 
CGContext*, unsigned char, float) + 713
20  com.apple.HIToolbox             0x905adcf8 
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, 
CGContext*, unsigned char, float) + 1340
21  com.apple.HIToolbox             0x905adcf8 
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, 
CGContext*, unsigned char, float) + 1340
22  com.apple.HIToolbox             0x905adcf8 
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, 
CGContext*, unsigned char, float) + 1340
23  com.apple.HIToolbox             0x905adcf8 
HIView::RecursiveDrawComposited(__HIShape const*, unsigned long, HIView*, 
CGContext*, unsigned char, float) + 1340
24  com.apple.HIToolbox             0x905acaab HIView::DrawComposited(short, 
OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 873
25  com.apple.HIToolbox             0x905ac6f1 HIView::Draw(short, 
OpaqueGrafPtr*, unsigned long) + 83
26  com.apple.HIToolbox             0x905ac641 HIView::Render(unsigned long, 
CGContext*) + 45
27  com.apple.HIToolbox             0x905b5a94 FlushWindowObject(WindowData*, 
void**, unsigned char) + 754
28  com.apple.HIToolbox             0x905b97af _FlushWindow + 78
29  com.apple.HIToolbox             0x905b975a HIWindowFlush + 34
30  libwx_macud-2.8.0.dylib         0x12e8ae5d 
wxTopLevelWindowMac::MacPerformUpdates() + 143
31  libwx_macud_stc-2.8.0.dylib     0x145eb9ff Editor::ScrollTo(int, bool) + 103
32  libwx_macud_stc-2.8.0.dylib     0x145dab98 
wxStyledTextCtrl::OnMouseWheel(wxMouseEvent&) + 68
33  libwx_macud-2.8.0.dylib         0x12dfd85e 
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 108
34  libwx_macud-2.8.0.dylib         0x12dfe5ca 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 140
35  libwx_macud-2.8.0.dylib         0x12dfe722 
wxEvtHandler::ProcessEvent(wxEvent&) + 256
36  libwx_macud-2.8.0.dylib         0x12e8c797 
wxMacTopLevelMouseEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 743
37  libwx_macud-2.8.0.dylib         0x12e8d106 
wxMacTopLevelEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 
1360
38  com.apple.HIToolbox             0x90586ecf 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1567
39  com.apple.HIToolbox             0x90586196 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 411
40  com.apple.HIToolbox             0x905a8a07 SendEventToEventTarget + 52
41  com.apple.HIToolbox             0x905ba543 
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 1257
42  com.apple.HIToolbox             0x90587320 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
2672
43  com.apple.HIToolbox             0x90586196 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 411
44  com.apple.HIToolbox             0x905a8a07 SendEventToEventTarget + 52
45  libwx_macud-2.8.0.dylib         0x12e20bee wxApp::MacHandleOneEvent(void*) + 
34
46  libwx_macud-2.8.0.dylib         0x12e20cb6 wxApp::MacDoOneEvent() + 120
47  libwx_macud-2.8.0.dylib         0x12e3b232 wxEventLoop::Dispatch() + 32
48  libwx_macud-2.8.0.dylib         0x12ef72ed wxEventLoopManual::Run() + 97
49  libwx_macud-2.8.0.dylib         0x12ecd4a2 wxAppBase::MainLoop() + 76
50  _core_.so                       0x12bf88bc wxPyApp::MainLoop() + 52
51  _core_.so                       0x12c46036 wxIntersectRect(wxRect*, wxRect*) 
+ 221628
52  org.python.python               0x00609716 PyObject_Call + 77
53  org.python.python               0x006ac698 PyEval_EvalFrameEx + 7861
54  org.python.python               0x006b108f PyEval_EvalCodeEx + 1967
55  org.python.python               0x0063687c PyFunction_SetClosure + 1699
56  org.python.python               0x00609716 PyObject_Call + 77
57  org.python.python               0x0061a6fb PyMethod_New + 2376
58  org.python.python               0x00609716 PyObject_Call + 77
59  org.python.python               0x006acfd6 PyEval_EvalFrameEx + 10227
60  org.python.python               0x006b08b0 PyEval_EvalFrameEx + 24781
61  org.python.python               0x006b08b0 PyEval_EvalFrameEx + 24781
62  org.python.python               0x006b08b0 PyEval_EvalFrameEx + 24781
63  org.python.python               0x006b108f PyEval_EvalCodeEx + 1967
64  org.python.python               0x006b1246 PyEval_EvalCode + 87
65  org.python.python               0x006d5add PyRun_FileExFlags + 305
66  org.python.python               0x006a5539 PyAST_FromNode + 8235
67  org.python.python               0x006b0675 PyEval_EvalFrameEx + 24210
68  org.python.python               0x006b108f PyEval_EvalCodeEx + 1967
69  org.python.python               0x006ae800 PyEval_EvalFrameEx + 16413
70  org.python.python               0x006b108f PyEval_EvalCodeEx + 1967
71  org.python.python               0x006b1246 PyEval_EvalCode + 87
72  org.python.python               0x006d5add PyRun_FileExFlags + 305
73  org.python.python               0x006d5f29 PyRun_SimpleFileExFlags + 818
74  org.python.python               0x006d60a0 PyRun_SimpleFile + 40
75  org.editra.Editra               0x00007b9f start + 23863
76  org.editra.Editra               0x00008091 main + 297
77  org.editra.Editra               0x00001f63 start + 251
78  org.editra.Editra               0x00001e91 start + 41

What version of the product are you using? On what operating system?
  Editra 0.6.20, OSX 10.6.6

What method of install was your version installed with (Binary/Source)?
  Downloaded by the previous version of Editra, so official binary

Original issue reported on code.google.com by auria...@gmail.com on 3 Mar 2011 at 9:17

GoogleCodeExporter commented 8 years ago
Hi,

What where you doing while this happened?

What kind of file(s) where you editing?

Original comment by CodyPrec...@gmail.com on 4 Mar 2011 at 2:17

GoogleCodeExporter commented 8 years ago
OK I managed to reproduce.

Open the file attached in Editra, and scroll down to the end; instant crash

Original comment by auria...@gmail.com on 4 Mar 2011 at 3:07

Attachments:

GoogleCodeExporter commented 8 years ago
I can't reproduce the crash on my Windows machine but will also try on my Mac 
when I get a chance.

Likely caused by the control characters that are inserted into the text at the 
end of that file.

Original comment by CodyPrec...@gmail.com on 4 Mar 2011 at 11:56