Skip Menu |
 

This queue is for tickets about the Tcl-pTk CPAN distribution.

Report information
The Basics
Id: 131286
Status: open
Priority: 0/
Queue: Tcl-pTk

People
Owner: Nobody in particular
Requestors: welleozean [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: Fail Installing Tcl::pTk on MacOS Mojave Perl 5.30 with Thread
Date: Sat, 28 Dec 2019 21:35:58 +0100
To: bug-Tcl-pTk [...] rt.cpan.org
From: welle ozean <welleozean [...] googlemail.com>
Download (untitled) / with headers
text/plain 822b
Installing Tcl::pTk crashes the system (black screen -> macOS login) cpanm Tcl::pTk Tcl has been correctly installed. From the logfile: PERL_DL_NONLAZY=1 "/Users/wc/perl5/perlbrew/perls/perl-5.30.0_WITH_THREADS/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 2019-12-28 21:29:14.319 perl[53976:344096] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted 2019-12-28 21:29:14.319 perl[53976:344094] HIToolbox: received notification of WindowServer event port death. 2019-12-28 21:29:14.319 perl[53976:344094] port matched the WindowServer port created in BindCGSToRunLoop make: *** [test_dynamic] Hangup: 1
Hi Welle,

I have not used my Macs in a while or have done much work on Tcl::pTk, and might not be able to anytime soon.

I have encountered the kind of issue you describe before, but not when using Tcl::pTk, nor in a reproducible manner. It is when the system process called "WindowServer" crashes. To my knowledge this can be caused by things like an issue in macOS itself, an issue in a driver (particularly graphics drivers, or third-party drivers not included in macOS), or a hardware problem. But I doubt Tcl::pTk does anything low-level enough to be directly responsible, and I'm not sure whether Tcl/Tk could be responsible.

You may be able to find more information by examining the crash report from the Console app (under "System Diagnostic Reports", look for the WindowServer report with the time that the crash occurred).

Your issue is reproducible, correct? Does it happen on multiple machines? It appears the crash occurs when tests are run (which cpanm normally does when installing). Does the issue only occur when tests are run (i.e. running `make test` from the Tcl::pTk distribution directory), or do similar issues occur when using the installed Tcl::pTk and/or using Tcl/Tk directly?
Subject: Re: [rt.cpan.org #131286] Fail Installing Tcl::pTk on MacOS Mojave Perl 5.30 with Thread
Date: Mon, 13 Jan 2020 09:18:54 +0100
To: bug-Tcl-pTk [...] rt.cpan.org
From: welle ozean <welleozean [...] googlemail.com>
Download (untitled) / with headers
text/plain 1.8k
Hi Christopher, thank you for your reply. Indeed, it must be something with the machine, i.e. with my new setup (now I have a dual boot, Mojave+Catalina). I am not able to install Tcl::pTk with any version of Perl I have tried, so it has nothing to do with the threaded version of Perl. I can confirm that an already installed Tcl::pTk version as well as direct Tcl/Tk work fine on the same machine. The crash happens during tests (I could not make out which test exactly, unfortunately). Am Di., 31. Dez. 2019 um 15:01 Uhr schrieb Christopher Alexander Chavez via RT <bug-Tcl-pTk@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=131286 > > > Hi Welle, > > I have not used my Macs in a while or have done much work on Tcl::pTk, and > might not be able to anytime soon. > > I have encountered the kind of issue you describe before, but not when > using > Tcl::pTk, nor in a reproducible manner. It is when the system process > called > "WindowServer" crashes. To my knowledge this can be caused by things like > an > issue in macOS itself, an issue in a driver (particularly graphics > drivers, or > third-party drivers not included in macOS), or a hardware problem. But I > doubt > Tcl::pTk does anything low-level enough to be directly responsible, and > I'm not > sure whether Tcl/Tk could be responsible. > > You may be able to find more information by examining the crash report > from the > Console app (under "System Diagnostic Reports", look for the WindowServer > report with the time that the crash occurred). > > Your issue is reproducible, correct? Does it happen on multiple machines? > It > appears the crash occurs when tests are run (which cpanm normally does when > installing). Does the issue only occur when tests are run (i.e. running > `make > test` from the Tcl::pTk distribution directory), or do similar issues occur > when using the installed Tcl::pTk and/or using Tcl/Tk directly? > >
Any updates on this issue? Did it resolve itself?

I find many similar-sounding reports of Tcl/Tk (specifically when using Tkinter, the Python Tcl/Tk wrapper) causing WindowServer to crash after updating to macOS 10.14.6 (usually with the error "CGSTrackingRegionSetIsEnabled returned CG error…"). Despite the number of people encountering the issue, apparently no one investigated it deeply enough to determine the cause beyond calling it a macOS issue (which I agree it likely is). If this issue is still a problem for you, I would be curious exactly which model of Mac you observed the issue for.
Subject: Re: [rt.cpan.org #131286] Fail Installing Tcl::pTk on MacOS Mojave Perl 5.30 with Thread
Date: Thu, 28 May 2020 13:02:16 +0200
To: bug-Tcl-pTk [...] rt.cpan.org
From: welle ozean <welleozean [...] googlemail.com>
Download (untitled) / with headers
text/plain 1.1k
Hi Christopher, this is my Mac: [image: Screenshot 2020-05-28 at 09.39.52.png] Note that I have a dual boot with Catalina. Perl is installed with perlbrew: perl-5.30.0_WITH_THREADS Otherwise, installation of Tcl::pTk keeps failing (last time it just froze the computer). Again, perl 5.26 without threads, it is installed fine. Welle Am Do., 21. Mai 2020 um 23:00 Uhr schrieb Christopher Alexander Chavez via RT <bug-Tcl-pTk@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=131286 > > > Any updates on this issue? Did it resolve itself? > > I find many similar-sounding reports of Tcl/Tk (specifically when using > Tkinter, the Python Tcl/Tk wrapper) causing WindowServer to crash after > updating to macOS 10.14.6 (usually with the error > "CGSTrackingRegionSetIsEnabled > returned CG error…"). Despite the number of people encountering the issue, > apparently no one investigated it deeply enough to determine the cause > beyond > calling it a macOS issue (which I agree it likely is). If this issue is > still a > problem for you, I would be curious exactly which model of Mac you > observed the > issue for. > >
Screenshot 2020-05-28 at 09.39.52.png


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.