Hi!
Recently, but not yet reproducible, I get the following errors when the cursor is near a math inset. Sometimes I'm just hovering with the mouse and not even typing anything.
Is this a known bug? (Couldn't find it on Bugzilla)
Shall I add it to Bugzilla or shall I try a patch first. I read recently that someone is rewriting the cursor-cache code, so maybe it's not that interesting to report bugs for vanilla-cvs.
/Andreas
Apple bug report: (I have a couple of those, just ask ;-)
Date/Time: 2004-10-13 13:12:20 +0200 OS Version: 10.3.5 (Build 7M34) Report Version: 2
Command: LyX Path: /Applications/LyX.app/Contents/MacOS/LyX Version: 1.4.0 (???) PID: 19670 Thread: 0
Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xffffffe0
Thread 0 Crashed:
0 com.18james.lyx 0x00083540 Row::pos() const + 0 (lyxrow.C:50)
1 com.18james.lyx 0x0009986c Paragraph::getRow(int) const + 0x4c (stl_iterator.h:602)
2 com.18james.lyx 0x000b5294 LyXText::cursorY(CursorSlice const&) const + 0x34 (cursor_slice.h:76)
3 com.18james.lyx 0x0010a308 InsetText::getCursorPos(LCursor const&, int&, int&) const + 0x44 (dociterator.h:68)
4 com.18james.lyx 0x00042c9c (anonymous namespace)::bruteFind(LCursor&, int, int, int, int, int, int) + 0x310 (cursor.C:143)
5 com.18james.lyx 0x000460d4 LCursor::goUpDown(bool) + 0x2ac (cursor.C:988)
6 com.18james.lyx 0x000453f4 LCursor::up() + 0x9c (cursor.C:772)
7 com.18james.lyx 0x001ce9c8 MathNestInset::priv_dispatch(LCursor&, FuncRequest&) + 0x9fc (math_nestinset.C:479)
8 com.18james.lyx 0x0020141c MathGridInset::priv_dispatch(LCursor&, FuncRequest&) + 0x13f8 (math_gridinset.C:1210)
9 com.18james.lyx 0x001454d0 MathHullInset::priv_dispatch(LCursor&, FuncRequest&) + 0x968 (math_hullinset.C:1062)
10 com.18james.lyx 0x000433c0 LCursor::dispatch(FuncRequest const&) + 0x304 (dispatchresult.h:24)
11 com.18james.lyx 0x0006fde4 LyXFunc::dispatch(FuncRequest const&, bool) + 0x575c (dispatchresult.h:24)
12 com.18james.lyx 0x00069090 LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) + 0xabc (basic_string.h:253)
13 com.18james.lyx 0x00008178 BufferView::Pimpl::workAreaKeyPress(boost::shared_ptr<LyXKeySym>, key_modifier::state) + 0x54 (shared_count.hpp:379)
14 com.18james.lyx 0x0060cce8 0x1000 + 0x60bce8
15 com.18james.lyx 0x006bb8a4 0x1000 + 0x6ba8a4
16 com.18james.lyx 0x0032d3d8 QContentPane::keyPressEvent(QKeyEvent*) + 0xe4 (shared_count.hpp:379)
17 com.18james.lyx 0x0021ac04 QWidget::event(QEvent*) + 0x338 (QLImage.C:52)
18 com.18james.lyx 0x001ab01c QApplication::internalNotify(QObject*, QEvent*) + 0x2fc (qt_helpers.C:188)
19 com.18james.lyx 0x001aa540 QApplication::notify(QObject*, QEvent*) + 0x37c (qt_helpers.C:188)
20 com.18james.lyx 0x0020f55c QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x3334 (lcolorcache.C:40)
21 com.apple.HIToolbox 0x927d1fc8 DispatchEventToHandlers + 0x150
22 com.apple.HIToolbox 0x927d223c SendEventToEventTargetInternal + 0x174
23 com.apple.HIToolbox 0x927d66bc SendEventToEventTargetWithOptions + 0x28
24 com.apple.HIToolbox 0x9280b07c HandleKeyboardEvent(OpaqueEventRef*, unsigned long) + 0x160
25 com.apple.HIToolbox 0x927e2c94 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x1f8
26 com.apple.HIToolbox 0x927d2084 DispatchEventToHandlers + 0x20c
27 com.apple.HIToolbox 0x927d223c SendEventToEventTargetInternal + 0x174
28 com.apple.HIToolbox 0x927e46e4 SendEventToEventTarget + 0x28
29 com.18james.lyx 0x0020c208 qt_mac_send_event(unsigned, OpaqueEventRef*, OpaqueWindowPtr*) + 0xf0 (lcolorcache.C:40)
30 com.18james.lyx 0x003317a4 QEventLoop::processEvents(unsigned) + 0xc8 (QAskForTextDialog.C:87)
31 com.18james.lyx 0x00322b54 QEventLoop::processEvents(unsigned, int) + 0x84 (lengthcombo.C:63)
32 com.18james.lyx 0x000d50b0 LyXScreen::showCursor(BufferView&) + 0x24 (screen.C:146)
33 com.18james.lyx 0x000d5710 LyXScreen::redraw(BufferView&) + 0x238 (screen.C:277)
34 com.18james.lyx 0x000085d4 BufferView::Pimpl::update() + 0xc4 (BufferView_pimpl.C:614)
35 com.18james.lyx 0x0006fe70 LyXFunc::dispatch(FuncRequest const&, bool) + 0x57e8 (lyxfunc.C:1445)
36 com.18james.lyx 0x00069090 LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) + 0xabc (basic_string.h:253)
37 com.18james.lyx 0x00008178 BufferView::Pimpl::workAreaKeyPress(boost::shared_ptr<LyXKeySym>, key_modifier::state) + 0x54 (shared_count.hpp:379)
38 com.18james.lyx 0x0060cce8 0x1000 + 0x60bce8
39 com.18james.lyx 0x006bb8a4 0x1000 + 0x6ba8a4
40 com.18james.lyx 0x0032d3d8 QContentPane::keyPressEvent(QKeyEvent*) + 0xe4 (shared_count.hpp:379)
41 com.18james.lyx 0x0021ac04 QWidget::event(QEvent*) + 0x338 (QLImage.C:52)
42 com.18james.lyx 0x001ab01c QApplication::internalNotify(QObject*, QEvent*) + 0x2fc (qt_helpers.C:188)
43 com.18james.lyx 0x001aa540 QApplication::notify(QObject*, QEvent*) + 0x37c (qt_helpers.C:188)
44 com.18james.lyx 0x0020f55c QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x3334 (lcolorcache.C:40)
45 com.apple.HIToolbox 0x927d1fc8 DispatchEventToHandlers + 0x150
46 com.apple.HIToolbox 0x927d223c SendEventToEventTargetInternal + 0x174
47 com.apple.HIToolbox 0x927d66bc SendEventToEventTargetWithOptions + 0x28
48 com.apple.HIToolbox 0x9280b07c HandleKeyboardEvent(OpaqueEventRef*, unsigned long) + 0x160
49 com.apple.HIToolbox 0x927e2c94 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x1f8
50 com.apple.HIToolbox 0x927d2084 DispatchEventToHandlers + 0x20c
51 com.apple.HIToolbox 0x927d223c SendEventToEventTargetInternal + 0x174
52 com.apple.HIToolbox 0x927e46e4 SendEventToEventTarget + 0x28
53 com.18james.lyx 0x0020c208 qt_mac_send_event(unsigned, OpaqueEventRef*, OpaqueWindowPtr*) + 0xf0 (lcolorcache.C:40)
54 com.18james.lyx 0x003317a4 QEventLoop::processEvents(unsigned) + 0xc8 (QAskForTextDialog.C:87)
55 com.18james.lyx 0x003229cc QEventLoop::enterLoop() + 0x78 (lengthcombo.C:63)
56 com.18james.lyx 0x003228b8 QEventLoop::exec() + 0x40 (lengthcombo.C:63)
57 com.18james.lyx 0x001575e0 lyx_gui::start(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) + 0x3c0 (lyx_gui.C:247)
58 com.18james.lyx 0x0005d178 LyX::priv_exec(int&, char**) + 0x938 (stl_construct.h:137)
59 com.18james.lyx 0x0005c47c LyX::exec(int&, char**) + 0x23c (scoped_ptr.hpp:94)
60 com.18james.lyx 0x000025bc main + 0x60 (main.C:44)
61 com.18james.lyx 0x0000228c _start + 0x188 (crt.c:267)
62 dyld 0x8fe1a558 _dyld_start + 0x64
PPC Thread State: srr0: 0x00083540 srr1: 0x0000f930 vrsave: 0x00000000 cr: 0x24024228 xer: 0x00000004 lr: 0x0009986c ctr: 0x0010a2c4 r0: 0x000b5294 r1: 0xbfffbcf0 r2: 0xffffffe0 r3: 0xffffffe0 r4: 0x0bfde208 r5: 0x00000000 r6: 0xbfffbf14 r7: 0x00000000 r8: 0x00000000 r9: 0x0bfde208 r10: 0x000cec98 r11: 0x00784de8 r12: 0x0010a2c4 r13: 0x00000000 r14: 0x00000001 r15: 0xbfffd380 r16: 0xbfffde10 r17: 0x00000001 r18: 0x00000001 r19: 0x00000000 r20: 0x00002f58 r21: 0x0000001d r22: 0x000002a1 r23: 0x00002f57 r24: 0x00000000 r25: 0xbfffbe80 r26: 0xbfffbf14 r27: 0x108cf50c r28: 0x00000000 r29: 0x00000000 r30: 0xbfffbd80 r31: 0x000429a4
Binary Images Description:
0x1000 - 0x779fff com.18james.lyx 1.4.0 (???) /Applications/LyX.app/Contents/MacOS/LyX
0x88dd0000 - 0x88ddcfff com.apple.agl 2.5 (AGL-2.5) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.5 (299.32) /System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.5 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/ CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2 /System/Library/Frameworks/CoreAudio.framework/Versions/A/ CoreAudio
0x907c7000 - 0x907d6fff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.3 /System/Library/PrivateFrameworks/DiskArbitration.framework/ Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/ApplicationServices
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/ Versions/A/DesktopServicesPriv
0x90c40000 - 0x90c5afff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib
0x90c80000 - 0x90ce2fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGLU.dylib
0x90d20000 - 0x90d3bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/ Versions/A/SystemConfiguration
0x90d60000 - 0x90d60fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90d80000 - 0x90d8bfff com.apple.opengl 1.3.3 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x911d2000 - 0x9120afff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LaunchServices.framework/Versions/A/ LaunchServices
0x912e0000 - 0x912fdfff com.apple.audio.SoundManager 3.8 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound
0x91320000 - 0x91337fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91360000 - 0x9141efff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ColorSync.framework/Versions/A/ColorSync
0x914a0000 - 0x914b3fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914c1000 - 0x9152afff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/AE.framework/Versions/A/AE
0x91720000 - 0x917b3fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91820000 - 0x91830fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91850000 - 0x9186afff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x918d0000 - 0x918dcfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Help.framework/Versions/A/Help
0x91900000 - 0x9190dfff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x91930000 - 0x9197efff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print
0x919c0000 - 0x91a33fff com.apple.NavigationServices 3.3.2 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91acd000 - 0x91b04fff com.apple.CFNetwork 1.2.1 (7) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91b20000 - 0x91b2bfff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b50000 - 0x91b6afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/ libPDFRIP.A.dylib
0x91bc0000 - 0x91bd3fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91bf0000 - 0x91d85fff com.apple.QuickTime 6.5.1 /System/Library/Frameworks/QuickTime.framework/Versions/A/ QuickTime
0x92056000 - 0x92066fff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x920f0000 - 0x92116fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x92140000 - 0x92327fff com.apple.security 2.3 (176) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92cca000 - 0x92d1afff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.26 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x93a20000 - 0x93a34fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x93a50000 - 0x93a54fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9404e000 - 0x940dbfff com.apple.ink.framework 101.1.3 (55.10) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Ink.framework/Versions/A/Ink
0x940f0000 - 0x94108fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94640000 - 0x94649fff libz.1.dylib /usr/lib/libz.1.dylib
0x946e0000 - 0x9473ffff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/SearchKit.framework/Versions/A/SearchKit
0x949ba000 - 0x949c5fff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI
0x95b50000 - 0x95c32fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x95ca0000 - 0x95d62fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x95dc0000 - 0x95deefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x95f30000 - 0x9601efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96bf0000 - 0x96c7ffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ATS.framework/Versions/A/ATS
0x970f0000 - 0x970f8fff libbsm.dylib /usr/lib/libbsm.dylib