Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem? 1. Create a file with about 150 lines of http://www.somedomain.com/test.php 2. Find/Replace and type somedomain. in the Find field 3. Upon typing the period, the program crashes. If you never type the period, program doesn't crash. What is the expected output? What do you see instead? Expected: Find/Replace string Result: Process: Editra [77318] Path: /Applications/FTP/Editra.app/Contents/MacOS/Editra Identifier: org.editra.Editra Version: 0.7.20 (0.7.20) Code Type: X86 (Native) Parent Process: launchd [149] User ID: 501 Date/Time: 2013-02-22 03:37:17.856 -0600 OS Version: Mac OS X 10.8 (12A269) Report Version: 10 Interval Since Last Report: 349806 sec Crashes Since Last Report: 6 Per-App Interval Since Last Report: 349652 sec Per-App Crashes Since Last Report: 6 Anonymous UUID: 3273C438-5EAB-45B3-B601-ABD1AE99BF8C Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCoreUIImageRep bitmapData]: unrecognized selector sent to instance 0xa3bfc30' Application Specific Backtrace 1: 0 CoreFoundation 0x963d87ab __raiseError + 219 1 libobjc.A.dylib 0x947a6602 objc_exception_throw + 230 2 CoreFoundation 0x963dc41d -[NSObject(NSObject) doesNotRecognizeSelector:] + 253 3 CoreFoundation 0x96324ab7 ___forwarding___ + 487 4 CoreFoundation 0x96324862 _CF_forwarding_prep_0 + 50 5 CarbonSpellChecker 0x0af1e607 CSCMarkText + 174 6 HIToolbox 0x9a4b12b9 _ZN13CSpellChecker9DrawMarksE7CFRangeh + 295 7 HIToolbox 0x9a47b1b4 _ZN11CTextension14ExtraAdornmentE7CFRange + 74 8 HIToolbox 0x9a4a04d8 _ZN5CLine13AdornATSULineERK4Rects + 444 9 HIToolbox 0x9a4a05c4 _ZN5CLine7UniDrawERK4Rectsh + 228 10 HIToolbox 0x9a4a0601 _ZN5CLine4DrawERK4Rectsh + 53 11 HIToolbox 0x9a46a980 _ZN18CTextensionDisplay13DrawLineGroupERK10TSectLinesP15OpaqueRgnHandlet + 344 12 HIToolbox 0x9a46858a _ZN18CTextensionDisplay13DrawFrameTextEltPK4RectPS0_ + 610 13 HIToolbox 0x9a49e050 _ZN10CSelection17DrawATSUHighlightERK9TLongRectRK4Rectmml + 1768 14 HIToolbox 0x9a49e188 _ZN10CSelection10SelectRectERK9TLongRectlhhmml + 218 15 HIToolbox 0x9a49e9b9 _ZN10CSelection11SelectCaretEv + 243 16 HIToolbox 0x9a499a9b _ZN10CSelection11SelectRangeE16TCharOffsetRangecP4Rect + 379 17 HIToolbox 0x9a49d186 _ZN10CSelection4DrawEP4Rect + 902 18 HIToolbox 0x9a4995b1 _ZN10CSelection10SetSelStatEch + 365 19 HIToolbox 0x9a49ccfb _ZN10CSelection4IdleEv + 275 20 HIToolbox 0x9a479c8c _ZN11CTextension4IdleEv + 28 21 HIToolbox 0x9a46f025 TXNIdle + 185 22 HIToolbox 0x9a372ebe _ZN12TUnicodeText4IdleEv + 42 23 HIToolbox 0x9a374f67 _ZN12TUnicodeText18ClassIdleTimerProcEP16__EventLoopTimerPv + 17 24 HIToolbox 0x9a288a7c TimerVector + 22 25 CoreFoundation 0x962f00d6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22 26 CoreFoundation 0x962efa75 __CFRunLoopDoTimer + 709 27 CoreFoundation 0x962d4892 __CFRunLoopRun + 1730 28 CoreFoundation 0x962d3d6a CFRunLoopRunSpecific + 378 29 CoreFoundation 0x962d3bdb CFRunLoopRunInMode + 123 30 HIToolbox 0x9a2788aa RunCurrentEventLoopInMode + 242 31 HIToolbox 0x9a278619 ReceiveNextEventCommon + 374 32 HIToolbox 0x9a3dd86c ReceiveNextEvent + 79 33 libwx_macud-2.8.0.dylib 0x042cbe3e _ZN5wxApp13MacDoOneEventEv + 84 34 libwx_macud-2.8.0.dylib 0x042e63de _ZN11wxEventLoop8DispatchEv + 32 35 libwx_macud-2.8.0.dylib 0x043a267d _ZN17wxEventLoopManual3RunEv + 97 36 libwx_macud-2.8.0.dylib 0x043787fe _ZN9wxAppBase8MainLoopEv + 76 37 _core_.so 0x040a38dc _ZN7wxPyApp8MainLoopEv + 52 38 _core_.so 0x040f103a _Z15wxIntersectRectP6wxRectS0_ + 221600 39 Python 0x005c6341 PyEval_EvalFrameEx + 20769 40 Python 0x005c840a PyEval_EvalCodeEx + 2042 41 Python 0x0053d632 PyFunction_SetClosure + 1890 42 Python 0x0050a9c5 PyObject_Call + 85 43 Python 0x0051d376 PyMethod_New + 2358 44 Python 0x0050a9c5 PyObject_Call + 85 45 Python 0x005c49f6 PyEval_EvalFrameEx + 14294 46 Python 0x005c7433 PyEval_EvalFrameEx + 25107 47 Python 0x005c7433 PyEval_EvalFrameEx + 25107 48 Python 0x005c7433 PyEval_EvalFrameEx + 25107 49 Python 0x005c840a PyEval_EvalCodeEx + 2042 50 Python 0x005c8597 PyEval_EvalCode + 87 51 Python 0x005ecac8 PyRun_FileExFlags + 168 52 Python 0x005bb67e PyAST_FromNode + 8302 53 Python 0x005c66b1 PyEval_EvalFrameEx + 21649 54 Python 0x005c840a PyEval_EvalCodeEx + 2042 55 Python 0x005c6633 PyEval_EvalFrameEx + 21523 56 Python 0x005c840a PyEval_EvalCodeEx + 2042 57 Python 0x005c8597 PyEval_EvalCode + 87 58 Python 0x005ecac8 PyRun_FileExFlags + 168 59 Python 0x005eda03 PyRun_SimpleFileExFlags + 867 60 Python 0x005edb88 PyRun_SimpleFile + 40 61 Editra 0x00005976 start + 16394 62 Editra 0x00005fb6 main + 1557 63 Editra 0x00001a6e start + 258 64 Editra 0x00001995 start + 41 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x963d8fc7 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7 1 libobjc.A.dylib 0x947a6602 objc_exception_throw + 230 2 com.apple.CoreFoundation 0x962d3e0c CFRunLoopRunSpecific + 540 3 com.apple.CoreFoundation 0x962d3bdb CFRunLoopRunInMode + 123 4 com.apple.HIToolbox 0x9a2788aa RunCurrentEventLoopInMode + 242 5 com.apple.HIToolbox 0x9a278619 ReceiveNextEventCommon + 374 6 com.apple.HIToolbox 0x9a3dd86c ReceiveNextEvent + 79 7 libwx_macud-2.8.0.dylib 0x042cbe3e wxApp::MacDoOneEvent() + 84 8 libwx_macud-2.8.0.dylib 0x042e63de wxEventLoop::Dispatch() + 32 9 libwx_macud-2.8.0.dylib 0x043a267d wxEventLoopManual::Run() + 97 10 libwx_macud-2.8.0.dylib 0x043787fe wxAppBase::MainLoop() + 76 11 _core_.so 0x040a38dc wxPyApp::MainLoop() + 52 12 _core_.so 0x040f103a wxIntersectRect(wxRect*, wxRect*) + 221600 13 org.python.python 0x005c6341 PyEval_EvalFrameEx + 20769 14 org.python.python 0x005c840a PyEval_EvalCodeEx + 2042 15 org.python.python 0x0053d632 PyFunction_SetClosure + 1890 16 org.python.python 0x0050a9c5 PyObject_Call + 85 17 org.python.python 0x0051d376 PyMethod_New + 2358 18 org.python.python 0x0050a9c5 PyObject_Call + 85 19 org.python.python 0x005c49f6 PyEval_EvalFrameEx + 14294 20 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 21 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 22 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 23 org.python.python 0x005c840a PyEval_EvalCodeEx + 2042 24 org.python.python 0x005c8597 PyEval_EvalCode + 87 25 org.python.python 0x005ecac8 PyRun_FileExFlags + 168 26 org.python.python 0x005bb67e PyAST_FromNode + 8302 27 org.python.python 0x005c66b1 PyEval_EvalFrameEx + 21649 28 org.python.python 0x005c840a PyEval_EvalCodeEx + 2042 29 org.python.python 0x005c6633 PyEval_EvalFrameEx + 21523 30 org.python.python 0x005c840a PyEval_EvalCodeEx + 2042 31 org.python.python 0x005c8597 PyEval_EvalCode + 87 32 org.python.python 0x005ecac8 PyRun_FileExFlags + 168 33 org.python.python 0x005eda03 PyRun_SimpleFileExFlags + 867 34 org.python.python 0x005edb88 PyRun_SimpleFile + 40 35 org.editra.Editra 0x00005976 start + 16394 36 org.editra.Editra 0x00005fb6 main + 1557 37 org.editra.Editra 0x00001a6e start + 258 38 org.editra.Editra 0x00001995 start + 41 Thread 1: 0 libsystem_kernel.dylib 0x95aa90ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x981b104c _pthread_workq_return + 45 2 libsystem_c.dylib 0x981b0e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x98198cca start_wqthread + 30 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x95aa99ae kevent + 10 1 libdispatch.dylib 0x984aacc5 _dispatch_mgr_invoke + 993 2 libdispatch.dylib 0x984aa7fd _dispatch_mgr_thread + 53 Thread 3: 0 libsystem_kernel.dylib 0x95aa90ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x981b104c _pthread_workq_return + 45 2 libsystem_c.dylib 0x981b0e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x98198cca start_wqthread + 30 Thread 4: 0 libsystem_kernel.dylib 0x95aa7eb6 __accept_nocancel + 10 1 libsystem_kernel.dylib 0x95aa6e91 accept + 39 2 _socket.so 0x06a7584b init_sockobject + 5595 3 org.python.python 0x005c6317 PyEval_EvalFrameEx + 20727 4 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 5 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 6 org.python.python 0x005c7433 PyEval_EvalFrameEx + 25107 7 org.python.python 0x005c840a PyEval_EvalCodeEx + 2042 8 org.python.python 0x0053d632 PyFunction_SetClosure + 1890 9 org.python.python 0x0050a9c5 PyObject_Call + 85 10 org.python.python 0x0051d376 PyMethod_New + 2358 11 org.python.python 0x0050a9c5 PyObject_Call + 85 12 org.python.python 0x005c028e PyEval_CallObjectWithKeywords + 78 13 org.python.python 0x0060916c _PyObject_GC_Del + 2748 14 libsystem_c.dylib 0x981ae557 _pthread_start + 344 15 libsystem_c.dylib 0x98198cee thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000001 ebx: 0x00000005 ecx: 0x00000000 edx: 0x00000000 edi: 0x947a652d esi: 0x09d84f20 ebp: 0xbfffbd08 esp: 0xbfffbd00 ss: 0x00000023 efl: 0x00000286 eip: 0x963d8fc7 cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0x017ae000 Logical CPU: 1 IMPORTANT!!! Please answer these questions for any and ALL bug reports What version of the product are you using? On what operating system? 0.7.20 on Mac OS X 10.8 What method of install was your version installed with (Binary/Source)? Binary If from source: What version of python and wxPython are you using? N/A Please provide any additional information below. I have noticed this crash when finding and replacing strings that include some type of symbol in documents with around 100+ lines. It doen't matter if Regular Expression search is turned on or off.
Original issue reported on code.google.com by ad...@pixeleffect.com on 22 Feb 2013 at 9:44
ad...@pixeleffect.com
Have not seen this happen before. Do you have a sample text file and search term that can be used to reproduce the issue?
Original comment by CodyPrec...@gmail.com on 23 Feb 2013 at 8:30
CodyPrec...@gmail.com
Original issue reported on code.google.com by
ad...@pixeleffect.com
on 22 Feb 2013 at 9:44