[bug #52973] [gui] printing causes crash

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #52973] [gui] printing causes crash

dsdsdsds
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #52973] [gui] printing causes crash

dsdsdsds
Update of bug #52973 (project gnustep):

             Assigned to:                    None => FredKiefer            
             Open/Closed:                    Open => Analyzed              

    _______________________________________________________

Follow-up Comment #1:

Did you update GNUstep base on these machines to the latest change? In reply
to your previous bug report I made a commit yesterday and this should fix the
described bug.
Could you please update gui and recompile your applications after that.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
Reply | Threaded
Open this post in threaded view
|

[bug #52973] [gui] printing causes crash

dsdsdsds
Update of bug #52973 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                Analyzed => Closed                

    _______________________________________________________

Follow-up Comment #2:

After your commit, I confirm it works again.
I opened the bug before seeing your fix.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-gnustep mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-gnustep