Bug 43484

Summary: SMSW instruction cannot be used by applications
Product: Sisyphus Reporter: Vitaly Lipatov <lav>
Component: evinceAssignee: Valery Inozemtsev <shrek>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: aris, lav, msp, shrek, sin
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Vitaly Lipatov 2022-08-09 21:53:23 MSK
Увидел при работе evince evince-40.5-alt1
[290607.042412] umip: evince-thumbnai[460731] ip:7f00ec7c2852 sp:7f00e7ffd650: SMSW instruction cannot be used by applications.
[290607.042414] umip: evince-thumbnai[460731] ip:7f00ec7c2852 sp:7f00e7ffd650: For now, expensive software emulation returns the result.

Судя по
User-mode Instruction Prevention (umip), a CPUID feature bit for the x86 architecture
SMSW — Store Machine Status Word

такое не должно бы случаться просто при просмотре документа.
Comment 1 Vitaly Lipatov 2022-08-09 22:37:11 MSK
Также встретилась

[Вт авг  9 21:49:15 2022] umip: EvJobScheduler[494540] ip:7f259021f852 sp:7f25a8d51650: SMSW instruction cannot be used by applications.
[Вт авг  9 21:49:15 2022] umip: EvJobScheduler[494540] ip:7f259021f852 sp:7f25a8d51650: For now, expensive software emulation returns the result.

Почему-то нет регулярного повторения на каком-то конкретном PDF-файле.
Comment 2 Vitaly Lipatov 2022-08-09 22:46:24 MSK
Ранее тоже были такие записи, сравнивая источник: evince и geeqie, можно предположить, что, например, дело в libjpeg, и происходит при декодировании JPEG.

июн 15 05:13:33 lav.office.etersoft.ru kernel: umip: pool-geeqie[1077540] ip:7f6d6a9c0852 sp:7f6d19ff9700: SMSW instruction cannot be used by applications.
июн 15 05:13:33 lav.office.etersoft.ru kernel: umip: pool-geeqie[1077540] ip:7f6d6a9c0852 sp:7f6d19ff9700: For now, expensive software emulation returns the result.
июл 14 13:40:56 lav.office.etersoft.ru kernel: umip: pool-geeqie[2901744] ip:7fe6fa446852 sp:7fe65e8e5700: SMSW instruction cannot be used by applications.
июл 14 13:40:56 lav.office.etersoft.ru kernel: umip: pool-geeqie[2901744] ip:7fe6fa446852 sp:7fe65e8e5700: For now, expensive software emulation returns the result.
июл 21 09:02:31 lav.office.etersoft.ru kernel: umip: EvJobScheduler[438121] ip:7f73f05a4852 sp:7f73877fc650: SMSW instruction cannot be used by applications.
июл 21 09:02:31 lav.office.etersoft.ru kernel: umip: EvJobScheduler[438121] ip:7f73f05a4852 sp:7f73877fc650: For now, expensive software emulation returns the result.
авг 05 21:27:38 lav.office.etersoft.ru kernel: umip: pool-geeqie[333064] ip:7f496434c852 sp:7f4906ffb700: SMSW instruction cannot be used by applications.
авг 05 21:27:38 lav.office.etersoft.ru kernel: umip: pool-geeqie[333064] ip:7f496434c852 sp:7f4906ffb700: For now, expensive software emulation returns the result.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/umip.c#n364