Bug 335908

Summary: KInfocenter crashes when PCI is clicked
Product: [Applications] kinfocenter Reporter: Andrius Štikonas <andrius>
Component: PCIAssignee: David Hubner <hubn3rd>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrius Štikonas 2014-06-07 01:12:26 UTC
Kinfocenter 4.12.5 on arm silently crashes when I click PCI kcm. The error message is only printed in the terminal (i.e. there is no crash handler):

pcilib: Cannot open /proc/bus/pci                                                                                                                                                                                                                                              
pcilib: Cannot find any working access method.  


Reproducible: Always

Steps to Reproduce:
1.Click PCI.

Actual Results:  
KInfocenter closes.

Expected Results:  
KInfocenter says that computer has no PCI.
Comment 1 Marco Martin 2018-01-05 16:21:53 UTC
Git commit 5d022b435fc44dfb96b729e4f742a7bce7a40267 by Marco Martin.
Committed on 05/01/2018 at 16:21.
Pushed by mart into branch 'master'.

Don't build pci module on ARM

Summary:
so far all (supported by us, at least somewhat)
arm systems don't have pci at all, so this module
beside crashing doesn't do anything at all

Test Plan: no kcm at all on arm

Reviewers: #plasma

Reviewed By: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9682

M  +1    -1    Modules/CMakeLists.txt

https://commits.kde.org/kinfocenter/5d022b435fc44dfb96b729e4f742a7bce7a40267