CARVIEW |
Select Language
HTTP/2 200
date: Sat, 09 Aug 2025 09:46:10 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=271.67774,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=820.365965,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=52.053044,nginx;desc="NGINX";dur=1.31385,glb;desc="GLB";dur=99.81983
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: 321f992
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=xG3NX6lOT5AxzZbihX2uJaIOt%2BSJacymHwbIDS0iGW2jxTkVq40BIBtw1xCsjA%2BCxr05Ji0ELbSfIaHtVXVGh%2FSrc1KXfZI5o%2BKy9DfQwqjC4H%2BPF8qMhN1NYmEeRAIrXBchJrRx7u%2F075IRmOwMDBeI%2BeGs2xTH9ZpJ0WAQHbmYL8RmKG5HISc%2F1CywEFHvRDL5yIi1XyxbEDlwG5iC5R6cwdtjIMgLVMX4aHwxfyt5t2SvQHU808NCkuj3eClFUAOnAy8XWBrMJW7R3edQ4A%3D%3D--N71m1yGbuDAveIMA--SExRbYbjnvwH%2Fq7B9JAVEA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1785704897.1754732769; Path=/; Domain=github.com; Expires=Sun, 09 Aug 2026 09:46:09 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 09 Aug 2026 09:46:09 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9EFA:F38AF:A7DF9:D734B:689718E1
Recursive call to mortal_getenv() causes deadlock · Issue #18341 · Perl/perl5 · GitHub
No one assignedNo labelsNo typeNo projectsNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 589
Closed
Milestone
Description
I've just built blead with a configuration that I've been building quite regularly back in the days:
./Configure -des -Uinstallusrbinperl -Dusethreads -DDEBUGGING=both -Doptimize=-ggdb3 -Dprefix=/home/mhx/perl/blead-mem -Dusedevel -Uversiononly -Aappend:ccflags="-DPERL_MEM_LOG -DPERL_MEM_LOG_STDERR -DPERL_MEM_LOG_ENV -DPERL_MEM_LOG_ENV_FD -DPERL_MEM_LOG_TIMESTAMP -DPERL_TRACK_MEMPOOL -DPERL_POISON -DDEBUG_LEAKING_SCALARS -DDEBUG_LEAKING_SCALARS_FORK_DUMP -DPERL_DEBUGGING_MSTATS -Wall -Wextra"
I'm pretty certain not all of this is needed for to reproduce the issue, but at least some of the MEM_LOG
stuff is from a quick glance at the stack trace below.
The first time miniperl
gets run during the build, it hangs immediately. Here's a stack trace:
(gdb) bt
#0 0x00007ffff7f8852b in __lll_lock_wait () from /lib64/libpthread.so.0
#1 0x00007ffff7f811e3 in pthread_mutex_lock () from /lib64/libpthread.so.0
#2 0x00005555557300d2 in Perl_mortal_getenv (str=0x555555b92fff "PERL_MEM_LOG") at inline.h:2608
#3 0x0000555555740882 in S_mem_log_common (mlt=MLT_NEW_SV, n=0, typesize=0, type_name=0x555555b919e8 "", sv=0x555555c89ea8,
oldalloc=0x0, newalloc=0x0, filename=0x555555ba2368 "sv.c", linenumber=9366,
funcname=0x555555bb5a58 <__FUNCTION__.24917> "Perl_newSVpv") at util.c:5011
#4 0x0000555555740fcc in Perl_mem_log_new_sv (sv=0x555555c89ea8, filename=0x555555ba2368 "sv.c", linenumber=9366,
funcname=0x555555bb5a58 <__FUNCTION__.24917> "Perl_newSVpv") at util.c:5150
#5 0x00005555557b40b5 in S_new_SV (my_perl=0x555555c862a0, file=0x555555ba2368 "sv.c", line=9366,
func=0x555555bb5a58 <__FUNCTION__.24917> "Perl_newSVpv") at sv.c:342
#6 0x00005555557fc810 in Perl_newSVpv (my_perl=0x555555c862a0, s=0x7fffffffe30e "en_US.UTF-8", len=0) at sv.c:9366
#7 0x000055555595709b in Perl_mortal_getenv (str=0x555555c44a27 "LANG") at inline.h:2613
#8 0x000055555595bab1 in Perl_init_i18nl10n (my_perl=0x555555c862a0, printwarn=1) at locale.c:3336
#9 0x00005555555d792d in perl_construct (my_perl=0x555555c862a0) at perl.c:430
#10 0x0000555555995871 in main (argc=1, argv=0x7fffffffdae8, env=0x7fffffffdaf8) at miniperlmain.c:111
I did a quick blame and reverted 24f3e84 and that fixed the deadlock. I didn't take a closer look yet, hopefully @khwilliamson has an idea :)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.