Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#54087 - [hplip] hp-systray segfaults on Pentium M
Attached to Project:
Arch Linux
Opened by Stefan Förster (HotblackDesiato) - Tuesday, 16 May 2017, 15:23 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 11 August 2017, 14:27 GMT
Opened by Stefan Förster (HotblackDesiato) - Tuesday, 16 May 2017, 15:23 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 11 August 2017, 14:27 GMT
|
DetailsDescription: hp-systray of the package hplip (3.17.4-1) segfaults on my IBM ThinkPad X41 (Pentium M):
HP Linux Imaging and Printing System (ver. 3.17.4) System Tray Status Service ver. 2.0 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Segmentation fault (core dumped) Steps to reproduce: Install hplip and hplip-plugin on a 32bit machine. |
This task depends upon
I solved my problem by manually installing hplip-3.17.6 from the source. Compilation worked without any problems:
./configure --enable-qt5
make all
make install
The installation somehow forgot to install four python modules properly, which triggered the error message "ImportError: No module named cupsext", which is obviously a problem for years in various distros.
I found the missing modules in the sub-folder ".libs" of the folder that I used for the making the driver. I copied the files to "/usr/lib/python3.6/site-packages/". The four files are:
cupsext.so
hpmudext.so
pcardext.so
scanext.so
Since I was able to compile and successfully run the driver and in particular hp-systray, it seems that the hplip package just needs to be recompiled to avoid the segfault. I used the most recent version 3.17.6. Maybe it is version 3.17.4 that causes trouble ?
My CFLAGS are: -march=pentium-m -O2 -pipe -fomit-frame-pointer --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
I use my own custom kernel (still 4.6.7, will update soon). I am not sure whether this is relevant, since usually all programs run equally well under the stock kernel and my own.