[Pyobjc-dev] [ pyobjc-Bugs-841191 ] printing an NSView hangs.
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-11-13 04:57:59
|
Bugs item #841191, was opened at 2003-11-13 15:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=841191&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tobias Sargeant (tobiasjs) Assigned to: Nobody/Anonymous (nobody) Summary: printing an NSView hangs. Initial Comment: If an NSView subclass has a knowsPageRange: method, attempting to print it causes a hang. The printing process never gets as far as calling the method, as far as I can tell. gdb isn't too helpful, as it seems to cause a segfault that isn't otherwise seen. This is the traceback at the fault, however: Program received signal EXC_BAD_ACCESS, Could not access memory. 0x9083122c in objc_msgSend () (gdb) where #0 0x9083122c in objc_msgSend () #1 0x00284df4 in pythonify_c_value (type=0xbfffbbd0 "", datum=0xbfffbbb0) at Modules/objc/objc_support.m:681 #2 0x002965c4 in method_stub (cif=0xbfffbbd0, resp=0xbfffbb80, args=0xbfffbaa0, userdata=0xa0001304) at Modules/objc/libffi_support.m:388 #3 0x00297a44 in ffi_closure_helper_DARWIN (closure=0x3b5480, rvalue=0xbfffbb80, pgr=0x40, pfr=0xa0001304) at /Users/toby/Desktop/pyobjc-1.0/libffi- src/src/powerpc/ffi_darwin.c:696 #4 0x00297dd4 in ffi_closure_ASM () #5 0x92f89354 in -[NSView(NSPrinting) _knowsPagesFirst:last:] () #6 0x92f89070 in -[NSView(NSPrinting) _setUpOperation: helpedBy:] () #7 0x92f88bc0 in -[NSView(NSPrinting) _realPrintPSCode: helpedBy:] () #8 0x92f88b18 in -[NSConcretePrintOperation _doActualViewPrinting] () #9 0x930cf1c0 in -[NSConcretePrintOperation runOperation] () #10 0x00297d0c in ffi_call_DARWIN () ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=841191&group_id=14534 |