https://bugs.kde.org/show_bug.cgi?id=382979

--- Comment #4 from Icenowy Zheng <icen...@aosc.io> ---
(In reply to Christoph Feck from comment #3)
> I have not investigated properly, but it is possible the exit() is caused by
> pcilib, not KInfoCenter.

Yes, but the behavior can be overrided by the program that calls pcilib.

See https://github.com/pciutils/pciutils/blob/master/lib/init.c, the function
that calls exit() is pci_generic_error(), which is just a fallback
implementation of the error function pointer in struct pci_access populated in
pci_init_v35() (which is exported as pci_init() in the shared library).

KInfoCenter should add overrided functions for at least the error function
pointer, and if possible, also override the warning function pointer.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to