Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: basic_string::_M_construct null not valid #1372

Open
fedya opened this issue Oct 29, 2021 · 1 comment
Open

Error: basic_string::_M_construct null not valid #1372

fedya opened this issue Oct 29, 2021 · 1 comment

Comments

@fedya
Copy link

fedya commented Oct 29, 2021

trying to bootstrap minimal chroot with custom repo and got such error

Error: basic_string::_M_construct null not valid

strace

[pid 532772] write(6, "2021-10-29T09:46:16+0000 SUBDEBUG \nTraceback (most recent call last):\n  
File \"/usr/lib/python3.10/site-packages/dnf/repo.py\", line 574, in load\n  
File \"/usr/lib64/python3.10/site-packages/libdnf/repo.py\", line 331, in load\nRuntimeError: basic_string::_M_construct null not valid\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/usr/lib/python3.10/site-packages/dnf/cli/main.py\", line 67, in main\n  File \"/usr/lib/python3.10/site-packages/dnf/cli/main.py\", line 108, in _main\n  File \"/usr/lib/python3.10/site-packages/dnf/cli/main.py\", line 124, in cli_run\n  File \"/usr/lib/python3.10/site-packages/dnf/cli/cli.py\", line 1052, in run\n  File \"/usr/lib/python3.10/site-packages/dnf/cli/commands/makecache.py\", line 50, in run\n  File \"/usr/lib/python3.10/site-packages/dnf/base.py\", line 370, in update_cache\n  File \"/usr/lib/python3.10/site-packages/dnf/base.py\", line 399, in fill_sack\n  File \"/usr/lib/python3.10/site-packages/dnf/base."..., 1178) = 1178
[pid 532772] getpid()                   = 532772
[pid 532772] write(2, "Error: basic_string::_M_construct null not valid\n", 49Error: basic_string::_M_construct null not valid
) = 49
@j-mracek
Copy link
Contributor

j-mracek commented Nov 1, 2021

May I ask you for reproducer that trigger the issue. It will make fixing easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants