Skip to content

thread 'main' has overflowed it's stack - infinite recursion in Resolver #1392

@envolution

Description

@envolution

Affected Version

paru v2.1.0.r2.g93d7e76 - libalpm v15.0.0

Description

Infinite recursion in aur_depends::resolve::Resolver<H>::find_aur_deps_of_pkgbuild

Note

I've added --chroot only for my host system, the crash happens on a clean arch container without --chroot. My local system has all dependencies satisfied and thus does not overflow.

Output

Don't cut parts of the input always include the FULL thing

command output:

$ RUST_BACKTRACE=full paru -U --chroot
:: Generating .SRCINFO for ./pyside2...
:: Resolving dependencies...

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted                    (core dumped) RUST_BACKTRACE=full paru -U --chroot

paru.conf and pacman.conf are usually always relevant
$ grep -vE '^\s*#' /etc/paru.conf

[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil

$ awk '!/^\s*(#|$)/' /etc/pacman.conf

[options]
HoldPkg     = pacman glibc
Architecture = auto
Color
CheckSpace
ParallelDownloads = 5
DownloadUser = alpm
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

backtrace.txt

PKGBUILD.txt


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