Hide Forgot
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
Created attachment 1132628 [details] File: backtrace
Created attachment 1132629 [details] File: cgroup
Created attachment 1132630 [details] File: core_backtrace
Created attachment 1132631 [details] File: dso_list
Created attachment 1132632 [details] File: environ
Created attachment 1132633 [details] File: limits
Created attachment 1132634 [details] File: maps
Created attachment 1132635 [details] File: mountinfo
Created attachment 1132636 [details] File: namespaces
Created attachment 1132637 [details] File: open_fds
Created attachment 1132638 [details] File: proc_pid_status
Created attachment 1132639 [details] File: var_log_messages
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
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> 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
The upstream commit https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=6b77f188969d72254f6bda291f4f2d9fd42f5ecc most probably fixes the crash.
Looks right