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

Tests throw exception: "trailing backslash (\\)" #1605

Closed
yurivict opened this issue Jun 21, 2023 · 2 comments
Closed

Tests throw exception: "trailing backslash (\\)" #1605

yurivict opened this issue Jun 21, 2023 · 2 comments
Labels
Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@yurivict
Copy link

For example, test_libdnf_main throws in Regex::Regex:

(gdb) bt
#0  thr_kill () at thr_kill.S:4
#1  0x0000000800f269b4 in __raise (s=s@entry=6) at /disk-samsung/freebsd-src/lib/libc/gen/raise.c:52
#2  0x0000000800fd7359 in abort () at /disk-samsung/freebsd-src/lib/libc/stdlib/abort.c:67
#3  0x0000000801391d89 in report_failure(_Unwind_Reason_Code, __cxxabiv1::__cxa_exception*) (err=<optimized out>, thrown_exception=0x802827360) at /disk-samsung/freebsd-src/contrib/libcxxrt/exception.cc:714
#4  0x0000000800550134 in Regex::Regex(char const*, int) (this=0x80061b570 <libdnf::RELDEP_REGEX>, regex=0x80037afe8 "^(\\S*)\\s*(<=|>=|<|>|=|==)?\\s*(\\S*)$", flags=1)
    at /usr/ports/sysutils/libdnf/work/libdnf-0.70.1/libdnf/utils/regex/regex.cpp:33
#5  0x00000008005c901c in __cxx_global_var_init() () at /usr/ports/sysutils/libdnf/work/libdnf-0.70.1/libdnf/repo/DependencySplitter.cpp:32
#6  0x00000008005c9539 in _GLOBAL__sub_I_DependencySplitter.cpp () at /usr/ports/sysutils/libdnf/work/.build/libdnf/libdnf.so.2
#7  0x000000080021c33d in objlist_call_init (list=list@entry=0x7fffffffe6a8, lockstate=lockstate@entry=0x7fffffffe4b8) at /disk-samsung/freebsd-src/libexec/rtld-elf/rtld.c:3135
#8  0x000000080021a92a in _rtld (sp=<optimized out>, exit_proc=0x7fffffffe720, objp=0x7fffffffe728) at /disk-samsung/freebsd-src/libexec/rtld-elf/rtld.c:981
#9  0x0000000800218299 in rtld_start () at /disk-samsung/freebsd-src/libexec/rtld-elf/amd64/rtld_start.S:39
#10 0x0000000000000000 in  ()
(gdb) p msg.c_str()
$7 = (const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type *) 0x802820160 "trailing backslash (\\)"
(gdb) 

Version: 0.70.1
FreeBSD 13.2

@j-mracek
Copy link
Member

Thank you very much for your report. We have limited option to investigate your issue therefore we need additional information.. Did previous version of libdnf worked properly?

@mcurlej mcurlej added the Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take label Jul 10, 2023
@jan-kolarik
Copy link
Member

Please reopen or create a new issue in case if it's still reproducible and more information are provided.

@jan-kolarik jan-kolarik closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Archived in project
Development

No branches or pull requests

4 participants