Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Unsupported return type 65 QPixmap in method "grab" #15

Open
rsmck opened this issue Aug 11, 2019 · 2 comments
Open

Unsupported return type 65 QPixmap in method "grab" #15

rsmck opened this issue Aug 11, 2019 · 2 comments

Comments

@rsmck
Copy link

rsmck commented Aug 11, 2019

I had been testing screenly webview for a very static application and (despite the web page not changing!) it now crashes with the error as soon as it's instructed to load via DBus;

Unsupported return type 65 QPixmap in method "grab"

I'm not familiar enough with Webkit or QT to understand what's going on here, but it seems odd that the behaviour should change despite the content not having changed.

@vpetersson
Copy link
Contributor

@rusko124 Can you check if you're able to reproduce this?

@boschkundendienst
Copy link

I am having exactly the same error. Built ScreenlyWebview as documented here on archlinux|arm on a pi4 and this happens when I try to open the following URL https://www.youtube.com/watch?v=gGaOMT677TM".

I start ScreenlyWebview with

./ScreenlyWebview -platform linuxfb
WebView connected to D-bus
Screenly service start

and then use this python script to open the URL:

#!/usr/bin/env python
from pydbus import SessionBus

bus = SessionBus()
browser_bus = bus.get('screenly.webview', '/Screenly')
browser_bus.loadPage("https://www.youtube.com/watch?v=gGaOMT677TM")

Simple pages just work. Others just show the error mentioned in the subject but service keeps running and the youtube page mentioned crashes it completely:

./ScreenlyWebview -platform linuxfb
WebView connected to D-bus
Screenly service start
Unsupported return type 65 QPixmap in method "grab"
Unsupported return type 65 QPixmap in method "grab"
Type: Webpage
Segmentation fault (core dumped)
Okt 27 15:33:05 dsclient audit[15618]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=6 pid=15618 comm="ScreenlyWebview" exe="/home/alarm/screenly-ose-webview/ScreenlyWebview_bin/ScreenlyWebview" sig=11 res=1
Okt 27 15:33:06 dsclient kernel: audit: type=1701 audit(1603809185.967:240): auid=1000 uid=1000 gid=1000 ses=6 pid=15618 comm="ScreenlyWebview" exe="/home/alarm/screenly-ose-webview/ScreenlyWebview_bin/ScreenlyWebview" sig=11 res=1
Okt 27 15:33:06 dsclient systemd[1]: Started Process Core Dump (PID 15627/UID 0).
Okt 27 15:33:06 dsclient audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-15627-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Okt 27 15:33:06 dsclient kernel: audit: type=1130 audit(1603809186.007:241): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-15627-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Okt 27 15:33:08 dsclient systemd-coredump[15628]: [🡕] Process 15618 (ScreenlyWebview) of user 1000 dumped core.

                                                  Stack trace of thread 15618:
                                                  #0  0x00000000b5979b38 _ZNK7WebCore15SecurityContext14securityOriginEv (libQt5WebKit.so.5 + 0xc74b38)
Okt 27 15:33:08 dsclient systemd[1]: [email protected]: Succeeded.
Okt 27 15:33:08 dsclient audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-15627-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Okt 27 15:33:08 dsclient kernel: audit: type=1131 audit(1603809188.497:242): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@10-15627-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants