https://bugzilla.redhat.com/show_bug.cgi?id=1314154
Bug ID: 1314154 Summary: [abrt] kmod: depmod_report_cycles(): kmod killed by SIGABRT Product: Fedora Version: rawhide Component: kmod Assignee: kmod-maint@lists.fedoraproject.org Reporter: ariscop@gmail.com QA Contact: extras-qa@fedoraproject.org CC: jonathan@jonmasters.org, kmod-maint@lists.fedoraproject.org
Description of problem: Running make module_install on a kernel
https://github.com/01org/Igvtg-kernel/tree/gvt-upstream-rfc With this patch: http://paste.fedoraproject.org/332609/45698068 to make it actually build
--------- DEPMOD 4.5.0-rc1-gvt+ depmod: ERROR: Found 6 modules in dependency cycles! depmod: ERROR: Cycle detected: drm depmod: ERROR: Cycle detected: i915_gvt -> i915 -> video depmod: ERROR: Cycle detected: i915_gvt -> i915 -> drm_kms_helper *** Error in `/sbin/depmod': free(): invalid next size (fast): 0x000055707d2a5f90 ***
Version-Release number of selected component: kmod-22-3.fc24
Additional info: reporter: libreport-2.6.4 backtrace_rating: 3 cmdline: /sbin/depmod -ae -F System.map 4.5.0-rc1-gvt+ crash_function: depmod_report_cycles executable: /usr/bin/kmod global_pid: 29942 kernel: 4.5.0-0.rc5.git0.1.fc24.x86_64 runlevel: N 5 type: CCpp uid: 0
Truncated backtrace: Thread no. 1 (5 frames) #6 depmod_report_cycles at tools/depmod.c:1519 #7 depmod_calculate_dependencies at tools/depmod.c:1596 #8 depmod_load at tools/depmod.c:1623 #9 do_depmod at tools/depmod.c:2592 #11 _start
https://bugzilla.redhat.com/show_bug.cgi?id=1314154
Yauheni Kaliuta ykaliuta@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ariscop@gmail.com, | |ykaliuta@redhat.com Flags| |needinfo?(ariscop@gmail.com | |)
--- Comment #14 from Yauheni Kaliuta ykaliuta@redhat.com --- Is it still possible to reproduce? There must be some memory corruption, but it's not obvious for me, where.
Could you share your kernel config? I've rebuilt the kernel, the HEAD commit is:
commit 687811890d7fd9d29b80df8bd19e91583527157f Author: Yulei Zhang yulei.zhang@intel.com Date: Thu Jan 7 13:51:22 2016 +0800
drm/i915: gvt: vGPU command scanner
it compiles fine with defconfig (not a surprise, the stuff is built in) and complains a lot about symbols if I try to build it as modules.
I also tried to create a synthetic test for the dependency loop, but it works fine (no crash) for my simple case:
depmod: ERROR: Found 3 modules in dependency cycles! depmod: ERROR: Cycle detected: mod7 -> mod8 -> mod6 -> mod7 zsh: exit 1 depmod -b /tmp/modules 3.10.0-327.el7.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=1314154
--- Comment #15 from Yauheni Kaliuta ykaliuta@redhat.com --- The upstream commit https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=6b77f18896... most probably fixes the crash.
https://bugzilla.redhat.com/show_bug.cgi?id=1314154
Andrew Cook ariscop@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |UPSTREAM Flags|needinfo?(ariscop@gmail.com | |) | Last Closed| |2016-11-08 22:34:50
--- Comment #16 from Andrew Cook ariscop@gmail.com --- Looks right
kmod-maint@lists.fedoraproject.org