[bug #52973] [gui] printing causes crash

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/bugs/?52973>

                 Summary: [gui] printing causes crash
                 Project: GNUstep
            Submitted by: rmottola
            Submitted on: Thu 25 Jan 2018 11:31:17 AM UTC
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

on two different machines, printing causes a crash as soon as "print" is
selected from the menu. Different applications tested.
One setup has GCC and one Clang.

Here an trace, which shows a corrupt stack with an endless loop:

2018-01-24 01:30:47.670 PRICE[48747:2281698832] Creating a default
printer since no default printer has been set in CUPS.
2018-01-24 01:30:47.929 PRICE[48747:2281698832] NSPrintScalingFactor was
nil in NSPrintInfo

Program received signal SIGSEGV, Segmentation fault.
0x0ef0d82e in objc_msg_lookup (receiver=0x21056920, op=0x21056154)
    at /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libobjc/sendmsg.c:443
443     /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libobjc/sendmsg.c: No such
file or directory.
        in /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libobjc/sendmsg.c
(gdb) bt   
#0  0x0ef0d82e in objc_msg_lookup (receiver=0x21056920, op=0x21056154)
    at /usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libobjc/sendmsg.c:443
#1  0x01051654 in +[GSCUPSPrincipalClass gsPrintOperationClass]
(self=0x21056120, _cmd=0x2bd43198)
    at GSCUPSPrincipalClass.m:59
#2  0x0bd6d0f5 in +[GSPrintOperation allocWithZone:]
(self=0x21056920,_cmd=0x2bd431a0,
    zone=0x2cc2ba40) at GSPrintOperation.m:78
#3  0x0bd6d11f in +[GSPrintOperation allocWithZone:]
(self=0x21056920,_cmd=0x2bd431a0,
    zone=0x2cc2ba40) at GSPrintOperation.m:78
#4  0x0bd6d11f in +[GSPrintOperation allocWithZone:]
(self=0x21056920,_cmd=0x2bd431a0,
    zone=0x2cc2ba40) at GSPrintOperation.m:78
#5  0x0bd6d11f in +[GSPrintOperation allocWithZone:]
(self=0x21056920,_cmd=0x2bd431a0,
    zone=0x2cc2ba40) at GSPrintOperation.m:78
#6  0x0bd6d11f in +[GSPrintOperation allocWithZone:]
(self=0x21056920,_cmd=0x2bd431a0,
    zone=0x2cc2ba40) at GSPrintOperation.m:78

<forever>






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52973>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.