[CC for [email protected] ]

Hello Sebastien, Herbert, *


Tracing a bit, I think I'm a bit closer to the crash (see the trace below).

and I'd vote for one paramter uninitialized. It's late, but next time, I'll put two breakpoint : one in salatslayout.cxx:222 and one in line 233

For the one interested, I put Sebastien changes in salatslayout.cxx here : <http://eric.bachard.free.fr/mac/aquavcl/patches/salatslayout/ 07_02_07/salatslayout.cxx>


Thanks :-)

Eric Bachard


"""""""""""  the log, just before the crash """"""""""""""

ATSUGlyphGetScreenMetrics ok
avant glyph advs : mnglyphcount : 9- mnCharCount: 8
Reading glyph adv at index 0
Char Index for mpCharWidths: 107
Reading glyph adv at index 1
Char Index for mpCharWidths: 108
Reading glyph adv at index 2
Char Index for mpCharWidths: 109
Reading glyph adv at index 3
Char Index for mpCharWidths: 110
Reading glyph adv at index 4
Char Index for mpCharWidths: 111
Reading glyph adv at index 5
Char Index for mpCharWidths: 112
Reading glyph adv at index 6
Char Index for mpCharWidths: 113
Reading glyph adv at index 7
Char Index for mpCharWidths: 114
Reading glyph adv at index 8
Char Index for mpCharWidths: 115
Fin InitGIA : 1
-->AdjustLayout
-->FillDXArray
-->LayoutText - mnTextOfs:116
ATSUCreateTextLayoutWithTextPtr OK

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000006
0x917465bb in SelectAndVendDataForGlyphVector ()
(gdb)
Single stepping until exit from function _Z31SelectAndVendDataForGlyphVectorP14ATSGlyphVectormhhPPvPm,
which has no line number information.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000006
0x917465bb in SelectAndVendDataForGlyphVector ()
(gdb)
Single stepping until exit from function _Z31SelectAndVendDataForGlyphVectorP14ATSGlyphVectormhhPPvPm,
which has no line number information.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000006
0x917465bb in SelectAndVendDataForGlyphVector ()
(gdb)
Single stepping until exit from function _Z31SelectAndVendDataForGlyphVectorP14ATSGlyphVectormhhPPvPm,
which has no line number information.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000006
0x917465bb in SelectAndVendDataForGlyphVector ()
(gdb)
Single stepping until exit from function _Z31SelectAndVendDataForGlyphVectorP14ATSGlyphVectormhhPPvPm,
which has no line number information.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000006
0x917465bb in SelectAndVendDataForGlyphVector ()
(gdb)



Le 7 févr. 07 à 21:41, Sébastien PLISSON a écrit :

Hi,

I have the following crash with m202 and salatslayout modified for Aqua porting.

Any idea ?

Thanks
Pli Pli

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c
0x9174e5d8 in StyleAntiAliased ()
(gdb) bt
#0  0x9174e5d8 in StyleAntiAliased ()
#1  0x9174e530 in PositionDeviceGlyphs ()
#2  0x9174c7a4 in TTextLineLayout::EnsureLayoutIsUpToDate ()
#3  0x91761f68 in TTextLineLayout::DrawText ()
#4  0x91761ee4 in ATSUDrawText ()
#5 0x012377e0 in ATSLayout::DrawText (this=0x2c80ea0, [EMAIL PROTECTED]) at /Users/splisson/src680-m202/vcl/aqua/ source/gdi/salatslayout.cxx:349
#6  0x010b756c in OutputDevice::ImplDrawTextDirect ()
#7  0x010b936c in OutputDevice::DrawText ()
#8  0x010b9ed8 in OutputDevice::ImplDrawText ()
#9  0x010ba68c in OutputDevice::DrawText ()
#10 0x011fc720 in FixedText::ImplDraw ()
#11 0x011fca30 in FixedText::Paint ()
#12 0x011ad2c4 in Window::ImplCallPaint ()
#13 0x011ad390 in Window::ImplCallPaint ()
#14 0x011ad390 in Window::ImplCallPaint ()
#15 0x011ad548 in Window::ImplHandlePaintHdl ()
#16 0x0101c488 in Timer::ImplTimerCallbackProc ()
#17 0x01230534 in HandleOOoSalTimerEvent ()
#18 0x93207554 in DispatchEventToHandlers ()
#19 0x93206cac in SendEventToEventTargetInternal ()
#20 0x93206b28 in SendEventToEventTargetWithOptions ()
#21 0x9320de9c in ToolboxEventDispatcherHandler ()
#22 0x932077a4 in DispatchEventToHandlers ()
#23 0x93206cac in SendEventToEventTargetInternal ()
#24 0x9320da60 in SendEventToEventTarget ()
#25 0x01240130 in AquaSalInstance::Yield () at /Users/splisson/ src680-m202/vcl/aqua/source/gdi/salatslayout.cxx:1080
#26 0x01015828 in Application::Yield ()
#27 0x0114e050 in Dialog::Execute ()
#28 0x048a2f90 in component_getFactory ()
#29 0x0489d590 in typeinfo for com::sun::star::uno::DeploymentException ()
#30 0x00015fbc in desktop::Desktop::Main ()
#31 0x0101bae0 in ImplSVMain ()
#32 0x0101bdc0 in MainRunLoopForThreadedApps ()
#33 0x907f0550 in __CFRunLoopDoTimer ()
#34 0x907dcec8 in __CFRunLoopRun ()
#35 0x907dc47c in CFRunLoopRunSpecific ()
#36 0x93208740 in RunCurrentEventLoopInMode ()
#37 0x93207dd4 in ReceiveNextEventCommon ()
#38 0x9324cee4 in AcquireNextEventInMode ()
#39 0x9324ccd4 in RunApplicationEventLoop ()
#40 0x0101be90 in ImplSVMainHook ()
#41 0x0101bd44 in SVMain ()
#42 0x00004200 in main ()
#43 0x00002d7c in start ()

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to