print crash with weird stacktrace

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

print crash with weird stacktrace

Riccardo Mottola-5
Hi,

when I try to "Print" by using the Print command from the menu in any
application I tried, I get a bad crash. I have cups installed.
I have no printer configured, just the GSDummyPrinter. I remember being
able to "print preview" to PS easily.
I can reproduce this on two different setup: OpenBSD with GCC and
FreeBSD with Clang.

What's wrong?

Riccardo

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>

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

Re: print crash with weird stacktrace

Fred Kiefer
I just committed a patch that should fix the issue. Could you please give it a try.

Fred

> Am 24.01.2018 um 01:50 schrieb Riccardo Mottola <[hidden email]>:
>
> Hi,
>
> when I try to "Print" by using the Print command from the menu in any
> application I tried, I get a bad crash. I have cups installed.
> I have no printer configured, just the GSDummyPrinter. I remember being
> able to "print preview" to PS easily.
> I can reproduce this on two different setup: OpenBSD with GCC and
> FreeBSD with Clang.
>
> What's wrong?
>
> Riccardo
>
> 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>
>
> _______________________________________________
> Gnustep-dev mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


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