Bug 335908 - KInfocenter crashes when PCI is clicked
Summary: KInfocenter crashes when PCI is clicked
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: PCI (show other bugs)
Version: 4.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-07 01:12 UTC by Andrius Štikonas
Modified: 2018-01-05 16:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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