Description of problem: I used 'dnf distrosync', some problems found so I tried to use '--allow-erasing', and it segfaulted. Version-Release number of selected component: system-python-3.6.0-7.fc26 Additional info: reporter: libreport-2.9.0 backtrace_rating: 4 cmdline: /usr/libexec/system-python /usr/bin/dnf --allowerasing distrosync crash_function: strlen executable: /usr/libexec/system-python global_pid: 2704 kernel: 4.10.0-0.rc5.git1.1.fc26.x86_64 runlevel: N 5 type: CCpp uid: 0 Truncated backtrace: Thread no. 1 (10 frames) #0 strlen at ../sysdeps/x86_64/strlen.S:106 #1 __regexec at regexec.c:240 #2 parse_reldep_str at /usr/src/debug/libdnf-f9b798cadb6821f9cffd5c0331578b3f7c19d699/libdnf/hy-iutil.c:700 #3 reldep_from_str at /usr/src/debug/libdnf-f9b798cadb6821f9cffd5c0331578b3f7c19d699/libdnf/hy-iutil.c:724 #4 reldep_from_pystr at /usr/src/debug/libdnf-f9b798cadb6821f9cffd5c0331578b3f7c19d699/python/hawkey/iutil-py.c:324 #5 pyseq_to_reldeplist at /usr/src/debug/libdnf-f9b798cadb6821f9cffd5c0331578b3f7c19d699/python/hawkey/iutil-py.c:246 #6 filter at /usr/src/debug/libdnf-f9b798cadb6821f9cffd5c0331578b3f7c19d699/python/hawkey/query-py.c:261 #7 PyCFunction_Call at /usr/src/debug/Python-3.6.0/Objects/methodobject.c:114 #8 do_call_core at /usr/src/debug/Python-3.6.0/Python/ceval.c:5053 #9 _PyEval_EvalFrameDefault at /usr/src/debug/Python-3.6.0/Python/ceval.c:3357
Created attachment 1246554 [details] File: backtrace
Created attachment 1246555 [details] File: cgroup
Created attachment 1246556 [details] File: core_backtrace
Created attachment 1246557 [details] File: dso_list
Created attachment 1246558 [details] File: environ
Created attachment 1246559 [details] File: exploitable
Created attachment 1246560 [details] File: limits
Created attachment 1246561 [details] File: maps
Created attachment 1246562 [details] File: mountinfo
Created attachment 1246563 [details] File: namespaces
Created attachment 1246564 [details] File: open_fds
Created attachment 1246565 [details] File: proc_pid_status
Created attachment 1246566 [details] File: var_log_messages
Please note this is my libdnf version: $ rpm -q libdnf libdnf-0.7.1-9gec15d58.fc26.x86_64 but it was crashing with libdnf-0.7.1-2gfe5a08b.fc26.x86_64 as well ...
Looks like memory corruption. Could someone who's running into this run dnf under valgrind please?
*** This bug has been marked as a duplicate of bug 1417870 ***