Re: Crash in fitCursor

2004-12-04 Thread Alfredo Braunstein
Andreas Vox wrote:

> Hi!
> 
> After a long time I updated my 1.4.0cvs and played around a little.
> Are we allowed to report bugs for the new coord code yet? :-)

Yes please ;-)

Regards, Alfredo




Crash in fitCursor

2004-12-04 Thread Andreas Vox
Hi!
After a long time I updated my 1.4.0cvs and played around a little.
Are we allowed to report bugs for the new coord code yet? :-)
I haven't managed to reproduce the following crash so far, but maybe  
someone
wants to take a look.

It happend when I changed the document class from Docbook to  
article(komascript)
and setting it as the document defaults.
The document contained only a 10x10 table.

/Andreas
-- snip --
Date/Time:  2004-12-04 23:42:00 +0100
OS Version: 10.3.6 (Build 7R28)
Report Version: 2
Command: LyX
Path:/Applications/LyX.app/Contents/MacOS/LyX
Version: ??? (???)
PID: 20855
Thread:  0
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0xab812400
Thread 0 Crashed:
0   <<>> 	0xab812400 0 + 0xab812400
1   ??? 	0x00044f74 LCursor::getDim(int&, int&) const +  
0x28 (cursor.C:349)
2   ??? 	0x7a70 BufferView::Pimpl::fitCursor() +  
0x44 (BufferView_pimpl.C:591)
3   ??? 	0x7c88 BufferView::Pimpl::update(bool,  
bool) + 0x1b8 (BufferView_pimpl.C:616)
4   ??? 	0x0007177c LyXFunc::dispatch(FuncRequest  
const&) + 0x57fc (lyxfunc.C:1469)
5   ??? 	0x0023ce38  
lyx::frontend::ControlDocument::dispatchParams() + 0xb8  
(basic_string.h:253)
6   ??? 	0x00188b50 lyx::frontend::Dialog::apply() +  
0x8c (Dialog.C:129)
7   ??? 	0x00188768 lyx::frontend::Dialog::OKButton() +  
0x20 (Dialog.C:45)
8   ??? 	0x0038b32c  
lyx::frontend::QDialogView::qt_invoke(int, QUObject*) + 0x88  
(QDialogView_moc.C:94)
9   ??? 	0x001be404  
QObject::activate_signal(QConnectionList*, QUObject*) + 0xdc  
(ControlCommandBuffer.C:136)
10  ??? 	0x001be2ec QObject::activate_signal(int) +  
0x110 (ControlCommandBuffer.C:136)
11  ??? 	0x002224c4 QWidget::event(QEvent*) + 0x228  
(QLImage.C:55)
12  ??? 	0x001b16b8  
QApplication::internalNotify(QObject*, QEvent*) + 0x2fc  
(qt_helpers.C:206)
13  ??? 	0x001b0d2c QApplication::notify(QObject*,  
QEvent*) + 0x4cc (qt_helpers.C:206)
14  ??? 	0x002156b4  
QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*,  
OpaqueEventRef*, void*) + 0x1b5c (lcolorcache.C:40)
15  com.apple.HIToolbox 	0x927d1fa0 DispatchEventToHandlers + 0x150
16  com.apple.HIToolbox 	0x927d2214 SendEventToEventTargetInternal +  
0x174
17  com.apple.HIToolbox 	0x927e46bc SendEventToEventTarget + 0x28
18  ??? 	0x002f0a3c  
qt_window_event(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) +  
0x140 (lengthcombo.C:63)
19  com.apple.HIToolbox 	0x927d1fa0 DispatchEventToHandlers + 0x150
20  com.apple.HIToolbox 	0x927d2214 SendEventToEventTargetInternal +  
0x174
21  com.apple.HIToolbox 	0x927e46bc SendEventToEventTarget + 0x28
22  com.apple.HIToolbox 	0x927f2d3c  
HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned  
short) + 0x144
23  com.apple.HIToolbox 	0x92913524 HandleMouseEvent(OpaqueEventRef*) +  
0x170
24  com.apple.HIToolbox 	0x927e2c5c  
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,  
OpaqueEventRef*, void*) + 0x1e8
25  com.apple.HIToolbox 	0x927d205c DispatchEventToHandlers + 0x20c
26  com.apple.HIToolbox 	0x927d2214 SendEventToEventTargetInternal +  
0x174
27  com.apple.HIToolbox 	0x927e46bc SendEventToEventTarget + 0x28
28  ??? 	0x00213b38 qt_mac_send_event(unsigned,  
OpaqueEventRef*, OpaqueWindowPtr*) + 0xf0 (lcolorcache.C:40)
29  ??? 	0x00339b4c QEventLoop::processEvents(unsigned)  
+ 0xc8 (QAskForTextDialog.C:87)
30  ??? 	0x0032ace4 QEventLoop::enterLoop() + 0x78  
(lengthcombo.C:63)
31  ??? 	0x0032abd0 QEventLoop::exec() + 0x40  
(lengthcombo.C:63)
32  ??? 	0x0015d7f4  
lyx_gui::start(std::basic_string,  
std::allocator > const&, std::vector, std::allocator >,  
std::allocator,  
std::allocator > > > const&) + 0x4f0 (lyx_gui.C:245)
33  ??? 	0x0005e89c LyX::priv_exec(int&, char**) +  
0x95c (stl_construct.h:137)
34  ??? 	0x0005db7c LyX::exec(int&, char**) + 0x23c  
(scoped_ptr.hpp:93)
35  ??? 	0x226c main + 0x60 (main.C:44)
36  ??? 	0x1f3c _start + 0x188 (crt.c:267)
37  dyld	0x8fe1a558 _dyld_start + 0x64

PPC Thread State:
  srr0: 0xab812400 srr1: 0x4200f930vrsave: 0x
cr: 0x24024228  xer: 0x2004   lr: 0x000498e8  ctr: 0xab812400
r0: 0x0c86e860   r1: 0xbfffe0e0   r2: 0x357b   r3: 0x12b171d0
r4: 0xbfffe1d0   r5: 0xbfffe1d4   r6: 0xa00010fc   r7: 0xbfffdf68
r8: 0x001b   r9: 0x10e7cbc0  r10: 0x001010c0  r11: 0x
   r12: 0xab812400  r13: 0x0001  r14: 0x0001  r15: 0xbfffea60
   r16: 0x0003  r17: 0x0001  r18: 0xbfffe248  r19: 0xbfffe260
   r20: 0x0b54a9c0  r21: 0x0001  r22: 0xbfffe230  r23: 0xbfffe23c
   r24: 0xbfffe270  r25: 0xbfffe27c