file-pdf-load keeps one cpu busy while PDF import window is open
Environment/Versions
- GIMP version: GNU Image Manipulation Program Version 2.10.34
- Package: pacman
- Operating System: artix linux
Description of the bug
When I want to import a PDF file, one cpu core becomes 100% busy while the pdf import window is open (where you choose which page and what resolution).
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- take any pdf or create one with one blank page.
- menu->open->choose the pdf.
- while the import window is open, check the cpu usage. The process file-pdf-load should be busy.
…
Expected result: Just having a window open should let all cores idle.
Actual result: One core is completely busy.
Additional information
If you have a backtrace for a crash or a warning, paste it here.
$ sudo gdb -p 6119 # attach to file-pdf-load
GNU gdb (GDB) 13.1
[...]
Type "apropos word" to search for commands related to "word".
Attaching to process 6119
[New LWP 6120]
[New LWP 6121]
[New LWP 6122]
[New LWP 6123]
[New LWP 6124]
[New LWP 6125]
[New LWP 6131]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f3220bcea1f in poll () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f3220bcea1f in poll () at /usr/lib/libc.so.6
#1 0x00007f3220ea4a9f in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f3220e46f3f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f32217ff8b7 in gimp_dialog_run () at /usr/lib/libgimpwidgets-2.0.so.0
#4 0x0000564f887e4808 in ()
#5 0x00007f32218744ca in gimp_main () at /usr/lib/libgimp-2.0.so.0
#6 0x00007f3220af7790 in () at /usr/lib/libc.so.6
#7 0x00007f3220af784a in __libc_start_main () at /usr/lib/libc.so.6
#8 0x0000564f887e2065 in _start ()
Edited by Martin Castillo