Am 31.07.2005 um 11:02 schrieb CV:
On Jul 30, 2005, at 7:48 PM, Stefan Pantke wrote:
Just discovered this ugly issue in RB 5.5: My app prints a 20 pages
report, which takes some seconds. If I press ESC while the print
progress dialog is visible, it crashes hard.
Debugger doesn't catch anything, OS X reports a hard crash.
Does someone know, if this is a bug? Might this be fixed in 2K5?
I tried this with my main app and it didn't crash. It implemented
the Cancel button on the system progress dialog and terminated the
print preparation gracefully. Same behavior in both IDE and
compiled app. This was on rb5.5 and OS10.3.
Thank for your help! Unfortunately, this behavior is fully
deterministic at my side.
Just to learn a bit more, did you prepared several pages and/or
did you inserted any code to trap the cancel process?
I simply don't know, how a cancel operation is handled correctly.
Here is a traceback:
>>>
Thread 0 Crashed:
0 libPDFRIP.A.dylib 0x945a5f6c
PDFContentStreamSetBaseCTM + 16
1 libPDFRIP.A.dylib 0x945a5ebc pdf_DrawGlyphs + 72
2 com.apple.CoreGraphics 0x903decc8
CGContextDelegateDrawGlyphs + 108
3 com.apple.CoreGraphics 0x903dec18 drawGlyphs + 284
4 com.apple.CoreGraphics 0x903dea30
CGContextShowGlyphsWithAdvances + 208
5 com.apple.CoreGraphics 0x903de4e8 CGContextShowGlyphs
+ 244
6 libConverter.dylib 0xeab17320
CGContextShowGlyphsWithSpaceExtra(CGContext*, unsigned short*, short,
float, unsigned short, short) + 348
7 libConverter.dylib 0xeab17194 cgString(ConVars*,
unsigned short*, short, float, unsigned short, short, float,
RGBColor*) + 648
8 libConverter.dylib 0xeab16eb4 cgTextString
(ConVars*, TextBufferEntry*, float, unsigned char, RGBColor*) + 744
9 libConverter.dylib 0xeab16bb4 cgLineOut(ConVars*,
TextBufferEntry*, float, unsigned char) + 268
10 libConverter.dylib 0xeab167cc DumpCGTextBuffer
(ConVars*) + 960
11 libConverter.dylib 0xeab0ee00 QDtoCGLineProc + 180
12 com.apple.QD 0x916d027c LineTo + 56
13 RBFramework 0x00676c14 0x5b1a00 + 807444
14 RBFramework 0x006e5048 0x5b1a00 + 1259080
15 main 0x004906a4
ResultWindow.ResultWindow.PrintListBoxUsingDictAndFilter%%
o<ResultWindow>o<Graphics>o<ListBox>o<Dictionary>s + 3000
16 main 0x0048ecf0
ResultWindow.ResultWindow.DoStartPrinting%%o<ResultWindow> + 6140
17 main 0x0049b7ec
ResultWindow.ResultWindow.FilePrint_Action%b%o<ResultWindow> + 76
18 RBFramework 0x0065df04 0x5b1a00 + 705796
19 RBFramework 0x0064ad24 0x5b1a00 + 627492
<<<
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|