Skip to content

App::Stacktrace fails to install on Rocky-Linux-9. #4

@Harsha-Yalagach

Description

@Harsha-Yalagach

Environment
OS: Rocky Linux 9.3 (Blue Onyx)
Perl: v5.32.1

When I run cpanm -App::Stacktrace, it fails with following output:

--> Working on App::Stacktrace
Fetching http://www.cpan.org/authors/id/J/JJ/JJORE/App-Stacktrace-0.09.tar.gz ... OK
Configuring App-Stacktrace-0.09 ... OK
Building and testing App-Stacktrace-0.09 ... FAIL
! Installing App::Stacktrace failed. See /home/XXX/.cpanm/work/1712315865.18269/build.log for details. Retry with --force to force install it.

Excerpt from build.log

t/basic.t ................. ok
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
# [Thread debugging using libthread_db enabled]
# Using host libthread_db library "/lib64/libthread_db.so.1".
# 0x00007fec73944dc9 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=0x0, exceptfds=0x0, timeout=timeout@entry=0x7ffef01aaaa0)at ../sysdeps/unix/sysv/linux/select.c:69
# 69    int r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds,
# /tmp/QWu8J6jDA2.gdb:1761: Error in sourced command file:
# Cannot access memory at address 0xffffffffe80cea30
# [Inferior 1 (process 18400) detached]

#   Failed test at t/unthreaded.t line 55.
#                   '[Thread debugging using libthread_db enabled]
# Using host libthread_db library "/lib64/libthread_db.so.1".
# 0x00007fec73944dc9 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=0x0, exceptfds=0x0, timeout=timeout@entry=0x7ffef01aaaa0)at ../sysdeps/unix/sysv/linux/select.c:69
# 69    int r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds,
# /tmp/QWu8J6jDA2.gdb:1761: Error in sourced command file:
# Cannot access memory at address 0xffffffffe80cea30
# [Inferior 1 (process 18400) detached]
# '
#     doesn't match '(?^mx:
#                 (?:
#                     ^t/unthreaded\.t:\d+\n
#                 ){10}
#             )'

#   Failed test 'exit(0)'
#   at t/unthreaded.t line 66.
#          got: '1'
#     expected: '0'
# Looks like you failed 2 tests of 5.
t/unthreaded.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests

Any idea on how to fix this issue...?

If I run cpanm -App::Stacktrace --force, then it installs, but when I run perl-stacktrace, it fails with following output:

> perl-stacktrace 18172
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f548293e882 in __GI___libc_read (fd=fd@entry=0, buf=buf@entry=0x561ee9aa5c90, nbytes=nbytes@entry=1) at ../sysdeps/unix/sysv/linux/read.c:26
26        return SYSCALL_CANCEL (read, fd, buf, nbytes);
/tmp/0diL5bE1aM.gdb:1761: Error in sourced command file:
Cannot access memory at address 0xffffffffe906da30
[Inferior 1 (process 18172) detached]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions