Bug 2129947

Summary: [abrt] acpica-tools: AcpiTbChecksum(): acpiexamples killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Santiago Gala <sgala>
Component: acpica-toolsAssignee: Albert Stone <ahs3>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: ahs3, ahs3
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/814aa0675b1229eafe69a328d3be06dc0561bd5e
Whiteboard: abrt_hash:ad7cadb2d7cf2474ed2bd09fdace2b82510ce8ea;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 15:21:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Santiago Gala 2022-09-26 18:36:55 UTC
Description of problem:
I just ran it

Version-Release number of selected component:
acpica-tools-20220331-3.fc36

Additional info:
reporter:       libreport-2.17.4
backtrace_rating: 4
cmdline:        acpiexamples
crash_function: AcpiTbChecksum
executable:     /usr/bin/acpiexamples
journald_cursor: s=450dd07cbb974e80a9bb2b50c606ad9c;i=29e2e65;b=bc47293e693745738e579765d12deb9a;m=1a561fccd;t=5e9933e316bfc;x=aba14b1becbf7872
kernel:         5.19.10-200.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 AcpiTbChecksum at ../../../source/components/tables/tbprint.c:274
 #1 AcpiTbVerifyChecksum at ../../../source/components/tables/tbprint.c:229
 #3 AcpiTbVerifyTempTable at ../../../source/components/tables/tbdata.c:619
 #4 AcpiTbInstallStandardTable at ../../../source/components/tables/tbinstal.c:186
 #5 AcpiTbParseRootTable at ../../../source/components/tables/tbutils.c:402
 #6 AcpiInitializeTables at ../../../source/components/tables/tbxface.c:160
 #7 InitializeFullAcpica at ../../../source/tools/examples/examples.c:187

Comment 1 Santiago Gala 2022-09-26 18:36:58 UTC
Created attachment 1914441 [details]
File: backtrace

Comment 2 Santiago Gala 2022-09-26 18:36:59 UTC
Created attachment 1914442 [details]
File: cgroup

Comment 3 Santiago Gala 2022-09-26 18:37:00 UTC
Created attachment 1914443 [details]
File: core_backtrace

Comment 4 Santiago Gala 2022-09-26 18:37:02 UTC
Created attachment 1914444 [details]
File: cpuinfo

Comment 5 Santiago Gala 2022-09-26 18:37:03 UTC
Created attachment 1914445 [details]
File: dso_list

Comment 6 Santiago Gala 2022-09-26 18:37:04 UTC
Created attachment 1914446 [details]
File: environ

Comment 7 Santiago Gala 2022-09-26 18:37:06 UTC
Created attachment 1914447 [details]
File: exploitable

Comment 8 Santiago Gala 2022-09-26 18:37:07 UTC
Created attachment 1914448 [details]
File: limits

Comment 9 Santiago Gala 2022-09-26 18:37:08 UTC
Created attachment 1914449 [details]
File: maps

Comment 10 Santiago Gala 2022-09-26 18:37:10 UTC
Created attachment 1914450 [details]
File: mountinfo

Comment 11 Santiago Gala 2022-09-26 18:37:11 UTC
Created attachment 1914451 [details]
File: open_fds

Comment 12 Santiago Gala 2022-09-26 18:37:13 UTC
Created attachment 1914452 [details]
File: proc_pid_status

Comment 13 Al Stone 2022-09-26 18:48:29 UTC
What command was used exactly?  Just "acpiexamples"?  No other parameters?

Thanks.

Comment 14 Santiago Gala 2022-09-27 04:13:12 UTC
Yes, it is fully reproducible, with sudo or without. This is it:

$ sudo acpiexamples 

Intel ACPI Component Architecture
ACPI Example Code version 20220331
Copyright (c) 2000 - 2022 Intel Corporation

ACPI: Loading ACPI tables
ACPI: RSDP 0x000055FAF631D2C0 000024 (v02 INTEL )
ACPI: XSDT 0x000055FAF631D240 00002C (v01 INTEL  TEMPLATE 00000001 INTL 20131115)
Segmentation fault

I was trying to understand why the Lenovo Thunderbolt 3 dock doesn't work with my Lenovo P1 Gen 3 unless it is plugged when I boot (and even then not always) and I never unplug is since Fedora 36 got to kernel 5.19.*

Whenever the error appears the following gets logged into dmesg -H:

[sep27 05:55] acpiexamples[71654]: segfault at 55fd3ba8c000 ip 000055fd3ba76f0c sp 00007fff518d4338 error 4 in acpiexamples[55fd3ba>
[  +0,000026] Code: 1e fa 8b 07 3d 53 33 50 54 74 2d 3d 46 41 43 53 74 26 89 f6 48 8d 14 37 48 39 d7 73 1b 48 89 f8 31 f6 0f 1f 40 >
[  +3,485644] acpiexamples[71736]: segfault at 55faf631e000 ip 000055faf6308f0c sp 00007ffccbfd0968 error 4 in acpiexamples[55faf62>
[  +0,000025] Code: 1e fa 8b 07 3d 53 33 50 54 74 2d 3d 46 41 43 53 74 26 89 f6 48 8d 14 37 48 39 d7 73 1b 48 89 f8 31 f6 0f 1f 40 >
[sep27 05:58] acpiexamples[72079]: segfault at 55a8073a1000 ip 000055a80738bf0c sp 00007ffc9f92c008 error 4 in acpiexamples[55a8073>
[  +0,000026] Code: 1e fa 8b 07 3d 53 33 50 54 74 2d 3d 46 41 43 53 74 26 89 f6 48 8d 14 37 48 39 d7 73 1b 48 89 f8 31 f6 0f 1f 40 >

Comment 15 Ben Cotton 2023-04-25 17:59:12 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 16 Ludek Smid 2023-05-25 15:21:59 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.