Bug 410482 - [RunActions] Failed to parse dictionary.desktop: 'PyFalkon.DesktopFile' called with wrong argument type str (not supported)
Summary: [RunActions] Failed to parse dictionary.desktop: 'PyFalkon.DesktopFile' calle...
Status: RESOLVED WORKSFORME
Alias: None
Product: Falkon
Classification: Applications
Component: extensions (other bugs)
Version First Reported In: 3.1.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-01 12:42 UTC by vialav
Modified: 2022-10-23 05:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vialav 2019-08-01 12:42:18 UTC
SUMMARY


STEPS TO REPRODUCE
1. Compile PyFalkon with Shiboken2 **configured by default, but instructed to use Python3** as follows:

# for Shiboken2:
$ pkg-config --libs shiboken2
-lshiboken2-python2.7.x86_64-linux-gnu

#for Falkon
$ pkg-config --cflags shiboken2
-I/usr/include/python2.7 -I/usr/include/shiboken2/

$ mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DENABLE_PYTHON_PLUGINS:BOOL=ON -DPYTHON_CONFIG_SUFFIX=.cpython-36m-x86_64-linux-gnu
# without the last thing it confuses Falkon not to compile (have a brief look also at Bug 409495, which is obsoleted by the present report)

2. Try to enable RunActions

3. Falkon crashes under gdb with a backtrace


EXPECTED RESULT

RunActions enabled


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04.2
(available in About System)
KDE Plasma Version: N/A (irrelevant, but) (Unity)
KDE Frameworks Version:  (irrelevant, but) any from v5.44.0 backported to, to v5.58.0 (backported)
Qt Version:  (less relevant, but) v5.9.5 backported to, or any released up to date

ADDITIONAL INFORMATION
reverted commits for real compatibility with Qt 5.9.5 and PySide2 << 5.12
479933e095168d07a54913f88642cfed4828c167 (fixed to use with Python3::Python)
f792104be55fca03ad17cdc4244aafce47d0914e
Comment 1 vialav 2019-08-01 12:44:32 UTC
─── Output/messages ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
libpng warning: iCCP: known incorrect sRGB profile
[Thread 0x7fff68e8e700 (LWP 21746) exited]
[Thread 0x7fff4ffff700 (LWP 21747) exited]
Failed to parse /usr/lib/x86_64-linux-gnu/qt5/plugins/falkon/runaction/actions/dictionary.desktop: 'PyFalkon.DesktopFile' called with wrong argument types:
  PyFalkon.DesktopFile(str)
Supported signatures:
  PyFalkon.DesktopFile()
  PyFalkon.DesktopFile(PyFalkon.DesktopFile)
  PyFalkon.DesktopFile(unicode)

Thread 14 "Chrome_ProcessL" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7fffb17fa700 (LWP 21733)]
futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x7fffb17f9018) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88      ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
─── Assembly ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
0x00007ffff65723b1 futex_wait_cancelable+17 mov    %r12,%rdi
0x00007ffff65723b4 futex_wait_cancelable+20 mov    $0xca,%eax
0x00007ffff65723b9 futex_wait_cancelable+25 syscall 
0x00007ffff65723bb futex_wait_cancelable+27 cmp    $0xfffffffffffff000,%rax
0x00007ffff65723c1 futex_wait_cancelable+33 mov    0x38(%rsp),%r8
0x00007ffff65723c6 futex_wait_cancelable+38 ja     0x7ffff6572500 <__pthread_cond_wait+896>
0x00007ffff65723cc futex_wait_cancelable+44 mov    %r9d,%edi
─── Expressions ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── History ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Memory ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─── Registers ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   rax 0xfffffffffffffe00    rbx 0x00007fffb17f8ff0    rcx 0x00007ffff65723bb    rdx 0x0000000000000000    rsi 0x0000000000000080    rdi 0x00007fffb17f9018    rbp 0x00007fffb17f9014    rsp 0x00007fffb17f8ea0     r8 0x0000000000000000
    r9 0x0000000000000000    r10 0x0000000000000000    r11 0x0000000000000246    r12 0x00007fffb17f9018    r13 0x00007fffb17f8fc8    r14 0x0000000000000000    r15 0x0000000000000000    rip 0x00007ffff65723bb eflags [ PF ZF IF ]      
    cs 0x00000033             ss 0x0000002b             ds 0x00000000             es 0x00000000             fs 0x00000000             gs 0x00000000        
─── Source ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Cannot display "/build/glibc-KRRWSm/glibc-2.29/nptl/../sysdeps/unix/sysv/linux/futex-internal.h" ([Errno 2] No such file or directory: '/build/glibc-KRRWSm/glibc-2.29/nptl/../sysdeps/unix/sysv/linux/futex-internal.h')
─── Stack ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[0] from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
arg private = <optimised out>
arg expected = 0
arg futex_word = 0x7fffb17f9018
[1] from 0x00007ffff65723bb in __pthread_cond_wait_common at pthread_cond_wait.c:502
arg abstime = 0x0
arg mutex = 0x7fffb17f8fc8
arg cond = 0x7fffb17f8ff0
[+]
─── Threads ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[36] id 22584 name Thread (pooled) from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[35] id 22197 name Thread (pooled) from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[34] id 22196 name Thread (pooled) from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[33] id 22190 name CachePoolWorker from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[32] id 22186 name CachePoolWorker from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[31] id 22185 name CachePoolWorker from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[29] id 22180 name CachePoolWorker from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[28] id 21750 name BrowserBlocking from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[25] id 21745 name QNetworkAccessM from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[24] id 21743 name Qt bearer threa from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[23] id 21742 name threaded-ml from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[22] id 21741 name Chrome_ChildIOT from 0x00007ffff66a7e3f in epoll_wait+79 at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
[21] id 21740 name Chrome_InProcGp from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[20] id 21739 name AudioThread from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[19] id 21738 name CompositorTileW from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[18] id 21736 name BrowserBlocking from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[17] id 21737 name IndexedDB from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[16] id 21735 name Chrome_IOThread from 0x00007ffff66a7e3f in epoll_wait+79 at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
[15] id 21734 name Chrome_CacheThr from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[14] id 21733 name Chrome_ProcessL from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[13] id 21732 name Chrome_FileUser from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[12] id 21731 name Chrome_FileThre from 0x00007ffff66a7e3f in epoll_wait+79 at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
[11] id 21730 name Chrome_DBThread from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[10] id 21729 name WorkerPool/2172 from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[9] id 21728 name WorkerPool/2172 from 0x00007ffff6572916 in futex_reltimed_wait_cancelable+29 at ../sysdeps/unix/sysv/linux/futex-internal.h:142
[8] id 21727 name inotify_reader from 0x00007ffff669e047 in __GI___select+87 at ../sysdeps/unix/sysv/linux/select.c:41
[7] id 21726 name NetworkChangeNo from 0x00007ffff66a7e3f in epoll_wait+79 at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
[6] id 21725 name falkon from 0x00007ffff666b3ba in __GI___waitpid+74 at ../sysdeps/unix/sysv/linux/waitpid.c:30
[5] id 21720 name sandbox_ipc_thr from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[4] id 21719 name falkon:disk$0 from 0x00007ffff65723bb in futex_wait_cancelable+27 at ../sysdeps/unix/sysv/linux/futex-internal.h:88
[3] id 21717 name QDBusConnection from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[2] id 21716 name QXcbEventReader from 0x00007ffff669b729 in __GI___poll+73 at ../sysdeps/unix/sysv/linux/poll.c:29
[1] id 21711 name falkon from 0x00007ffff656b926 in futex_wait+220 at ../sysdeps/unix/sysv/linux/futex-internal.h:61
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
>>> bt
#0  0x00007ffff65723bb in futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x7fffb17f9018) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ffff65723bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffb17f8fc8, cond=0x7fffb17f8ff0) at pthread_cond_wait.c:502
#2  0x00007ffff65723bb in __pthread_cond_wait (cond=0x7fffb17f8ff0, mutex=0x7fffb17f8fc8) at pthread_cond_wait.c:655
#3  0x00007fffefb60999 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fffefb609c7 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#5  0x00007fffefb3b4db in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x00007fffefb37da8 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#7  0x00007fffefb5477b in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x00007fffef3f2818 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x00007fffef3f2f0b in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x00007fffefb6c588 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#11 0x00007fffefb685eb in  () at /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#12 0x00007ffff656c182 in start_thread (arg=<optimised out>) at pthread_create.c:486
#13 0x00007ffff66a7b1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 2 Justin Zobel 2022-09-23 02:22:53 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-08 04:53:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-10-23 05:01:23 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!