Project

General

Profile

Actions

Bug #9704

closed

Fix memory free for internal representation of large initializers

Added by Ilya Shchepetkov almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Urgent
Category:
-
Start date:
06/11/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

All relevant files are attached to the issue. Launch command, just in case:

LDV_STAGE=3 LDV_ASPECT_FILE="/home/shchepetkov/smu7_smumgr.c.o.info.aspect.i" LDV_OUT="/home/shchepetkov/smu7_smumgr.c.o.instrumented" /home/shchepetkov/work/inst/cif/bin/aspectator  "-nostdinc" "-isystem" "/home/shchepetkov/work/run/clade/linux-5.0-allmodconfig-nightly-new/clade/Storage/usr/lib/gcc/x86_64-linux-gnu/8/include" "-I./arch/x86/include" "-I./arch/x86/include/generated" "-I./include" "-I./arch/x86/include/uapi" "-I./arch/x86/include/generated/uapi" "-I./include/uapi" "-I./include/generated/uapi" "-include" "./include/linux/kconfig.h" "-include" "./include/linux/compiler_types.h" "-D__KERNEL__" "-DCONFIG_X86_X32_ABI" "-DCONFIG_AS_CFI=1" "-DCONFIG_AS_CFI_SIGNAL_FRAME=1" "-DCONFIG_AS_CFI_SECTIONS=1" "-DCONFIG_AS_FXSAVEQ=1" "-DCONFIG_AS_SSSE3=1" "-DCONFIG_AS_AVX=1" "-DCONFIG_AS_AVX2=1" "-DCONFIG_AS_AVX512=1" "-DCONFIG_AS_SHA1_NI=1" "-DCONFIG_AS_SHA256_NI=1" "-O2" "-DCC_USING_FENTRY" "-Idrivers/gpu/drm/amd/amdgpu/../powerplay/inc/" "-Idrivers/gpu/drm/amd/amdgpu/../include/asic_reg" "-Idrivers/gpu/drm/amd/amdgpu/../include" "-Idrivers/gpu/drm/amd/amdgpu/../powerplay/smumgr" "-Idrivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr" "-Idrivers/gpu/drm/amd/amdgpu/../display/dc/inc/" "-Idrivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw" "-Idrivers/gpu/drm/amd/amdgpu/../display/modules/inc" "-Idrivers/gpu/drm/amd/amdgpu/../display/modules/freesync" "-Idrivers/gpu/drm/amd/amdgpu/../display/modules/color" "-Idrivers/gpu/drm/amd/amdgpu/../display/modules/info_packet" "-Idrivers/gpu/drm/amd/amdgpu/../display/modules/power" "-DBUILD_FEATURE_TIMING_SYNC=0" "-Idrivers/gpu/drm/amd/amdgpu/../display/dc" "-Idrivers/gpu/drm/amd/amdgpu/../include/asic_reg" "-Idrivers/gpu/drm/amd/amdgpu/../include" "-Idrivers/gpu/drm/amd/amdgpu/../amdgpu" "-Idrivers/gpu/drm/amd/amdgpu/../powerplay/inc" "-Idrivers/gpu/drm/amd/amdgpu/../acp/include" "-Idrivers/gpu/drm/amd/amdgpu/../display" "-Idrivers/gpu/drm/amd/amdgpu/../display/include" "-Idrivers/gpu/drm/amd/amdgpu/../display/dc" "-Idrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm" "-Idrivers/gpu/drm/amd/amdgpu/../amdkfd" "-DMODULE" "-DKBUILD_BASENAME=\"smu7_smumgr\"" -fno-builtin  -fsyntax-only -x cpp-output  "/home/shchepetkov/smu7_smumgr.c.o.macroinstrumented" -o "/home/shchepetkov/smu7_smumgr.c.o.instrumented" 


Files

smu7_smumgr.c.o.info.aspect.i (3.38 KB) smu7_smumgr.c.o.info.aspect.i Ilya Shchepetkov, 06/11/2019 03:26 PM
smu7_smumgr.c.o.macroinstrumented (2.89 MB) smu7_smumgr.c.o.macroinstrumented Ilya Shchepetkov, 06/11/2019 03:26 PM
Actions #1

Updated by Evgeny Novikov almost 5 years ago

  • Status changed from New to Closed

I fixed the issue in acb51a2. There was uninitialized data usage for very large initializers.

Actions #2

Updated by Evgeny Novikov almost 5 years ago

  • Subject changed from Segmentation fault on Linux 5.0 to Fix memory free for internal representation of large initializers
Actions

Also available in: Atom PDF