CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 01:27:11 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=161.396443,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=717.099912,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=48.240813,nginx;desc="NGINX";dur=0.549913,glb;desc="GLB";dur=100.49492
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=s9qHL9CGjIZtNZ3qEuPNmTXntYgknfmZcNPKhqf%2BD%2Bhkj3vGP4PYf89scSpHPIuwv5TS8s0eNrLHwPJnXM5uaFsWn4TQadVQh7LTcg9W0%2Bhg%2F3ydPoSWpBNdw2vw0TDAfAalmJ8LDdj9ifLs%2BFi3zgspRHjj99vIvyKAQokMSql6tETz4rgLt%2FexFOqC7nVrpeEs9W7xjH6lVjNcjUs5AholLDEXzVJN37bJ3MsTk2DJfm7xdH%2FX%2FTRzf07Xa4K22hsGwG1N2ZgAIxGkoulbZg%3D%3D--rVvH4pFdXIOkv6Tk--ZK0LY0K2CEKae62jdD8tpQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1567200165.1753925230; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 01:27:10 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 01:27:10 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BE7C:373DAE:129A47:1C48C5:688AC66E
strftime crashes with a blessed format · Issue #22498 · Perl/perl5 · GitHub

No one assignedNo typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 587
Closed
Labels
Description
This is a bug report for perl from ntyni@debian.org,
generated with the help of perlbug 1.43 running under perl 5.41.3.
Description
We're seeing a regression in the Tickit-Console test suite with Perl
5.40.0, tracked as https://bugs.debian.org/1078152 . I got it down to
an issue in POSIX::strftime(), which crashes with a blessed format on
5.40.0 and current blead.
Bisection shows it regressed with v5.39.7-73-g1957c60d05:
commit 1957c60d0591397316cff390fd9a8419e8bd09fb
Author: Karl Williamson <khw@cpan.org>
Date: Tue Jan 23 08:58:09 2024 -0700
locale.c: Change API for static strftime-related functions
Steps to Reproduce
$ perl -MPOSIX -e 'strftime((bless {}, 'Foo'), localtime());'
Out of memory in perl:util:safesysmalloc
On blead with DEBUGGING:
$ ./perl -Ilib -MPOSIX -e 'strftime((bless {}, 'Foo'), localtime());'
perl: locale.c:8231: S_sv_strftime_common: Assertion `PL_valid_types_PVX[SvTYPE(_svcur) & SVt_MASK]' failed.
Expected behavior
No crash.
Flags
- category=core
- severity=medium
Perl configuration
Site configuration information for perl 5.41.3:
Configured by ntyni at Sun Aug 11 06:06:56 BST 2024.
Summary of my perl5 (revision 5 version 41 subversion 3) configuration:
Commit id: edf2fff56f98dc54047777f039e24c6d91b56d35
Platform:
osname=linux
osvers=6.9.7-amd64
archname=x86_64-linux
uname='linux carme 6.9.7-amd64 #1 smp preempt_dynamic debian 6.9.7-1 (2024-06-27) x86_64 gnulinux '
config_args='-des -Dusedevel -DDEBUGGING'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='13.3.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64
libs=-lpthread -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
libc=/lib/x86_64-linux-gnu/libc.so.6
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.38'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
---
@INC for perl 5.41.3:
lib
/usr/local/lib/perl5/site_perl/5.41.3/x86_64-linux
/usr/local/lib/perl5/site_perl/5.41.3
/usr/local/lib/perl5/5.41.3/x86_64-linux
/usr/local/lib/perl5/5.41.3
---
Environment for perl 5.41.3:
HOME=/home/ntyni
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE=fi_FI.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
PERL_BADLANG (unset)
SHELL=/bin/zsh
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.