Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[archlinux] dde-session-daemon crashed when usb disk inserted #26

Closed
fasheng opened this issue Aug 2, 2016 · 17 comments
Closed

[archlinux] dde-session-daemon crashed when usb disk inserted #26

fasheng opened this issue Aug 2, 2016 · 17 comments

Comments

@fasheng
Copy link

fasheng commented Aug 2, 2016

This also casued the screen backlight be a kind of like a strobe.

panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 1070 [running, locked to thread]:
panic(0xfee960, 0xc8203cba00)
        /usr/lib/go/src/runtime/panic.go:481 +0x3e6
gir/gio-2%2e0._cgoCheckPointer0(0xdedda0, 0xc8200f45c8, 0x0, 0x0, 0x0, 0xdac0c0)
        ??:0 +0x4d
gir/gio-2%2e0.(*VolumeImpl).Mount(0xc8201f4550, 0xc800000000, 0x0, 0x0, 0x0, 0x0, 0xc820252660)
        /build/deepin-daemon/src/build/src/gir/gio-2.0/gio.go:11165 +0x29e
pkg.deepin.io/dde/daemon/mounts.(*Manager).mountVolume(0xc8201d2690, 0xc820420140, 0x16, 0xc8201f4548)
        /build/deepin-daemon/src/dde-daemon/gopath/src/pkg.deepin.io/dde/daemon/mounts/ifc.go:121 +0xcb
pkg.deepin.io/dde/daemon/mounts.(*Manager).handleEvent.func1(0xc820566000, 0xc8201f4548)
        /build/deepin-daemon/src/dde-daemon/gopath/src/pkg.deepin.io/dde/daemon/mounts/monitor.go:28 +0x34c
reflect.Value.call(0xe78140, 0xc820444e10, 0x13, 0x115bda0, 0x4, 0xc82004dc50, 0x2, 0x14, 0x0, 0x0, ...)
        /usr/lib/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0xe78140, 0xc820444e10, 0x13, 0xc82004dc50, 0x2, 0x14, 0x0, 0x0, 0x0)
        /usr/lib/go/src/reflect/value.go:303 +0xb1
gir/gobject-2%2e0.g_goclosure_marshal_go(0x7f33a4001770, 0x0, 0xc800000002, 0x7f33cdb4f3f0)
        /build/deepin-daemon/src/build/src/gir/gobject-2.0/gobject.go:1700 +0x503
gir/gobject-2%2e0._cgoexpwrap_377c4f051fe0_g_goclosure_marshal_go(0x7f33a4001770, 0x0, 0x7f3300000002, 0x7f33cdb4f3f0)
        ??:0 +0x3d
pkg.deepin.io/dde/daemon/appearance._Cfunc_handle_gtk_cursor_changed()
        pkg.deepin.io/dde/daemon/appearance/_obj/_cgo_gotypes.go:65 +0x36
pkg.deepin.io/dde/daemon/appearance.(*Manager).listenCursorChanged(0xc820487500)
        /build/deepin-daemon/src/dde-daemon/gopath/src/pkg.deepin.io/dde/daemon/appearance/listener.go:18 +0x14
created by pkg.deepin.io/dde/daemon/appearance.(*Daemon).Start
        /build/deepin-daemon/src/dde-daemon/gopath/src/pkg.deepin.io/dde/daemon/appearance/appearance.go:56 +0x29e

@jouyouyun @hualet Did it reported before?

@fasheng
Copy link
Author

fasheng commented Aug 2, 2016

@snyh And also looks like a gir binding issue 😂

@fasheng fasheng changed the title dde-session-daemon crashed when usb stroke inserted dde-session-daemon crashed when usb disk inserted Aug 2, 2016
@snyh
Copy link
Member

snyh commented Aug 3, 2016

I just review and test the code, the problem is in dde-daemon not in the gir/gio-2.0.

https://github.com/linuxdeepin/dde-daemon/blob/master/mounts/ifc.go#L113 the callback (which is a go pointer) will pass to cgo runtime, so in the callback we can't reference any go pointer.

There have many code like this in dde code. It should be take carefully.

The solution is not too complex, just don't reference any (even a simple pointer linke p:=new(int)) go pointer in the gobject callback. It can use the first parameter in callback and cast it to the correctly GObject Type, like this

volume := gio.ToVolume(o)

https://github.com/linuxdeepin/dde-daemon/blob/master/mounts/ifc.go#L117 and this is also a bad smell. Don't unref the volume (or any way use the ref/unref like this, it should be use paired in one place, don't cross code block.), if you don't ref it.
@jouyouyun @fasheng

@felixonmars
Copy link
Member

Any updates here? I am still getting lots of reports about this issue, as it's causing the whole DE including its core components (d-c-c and dock) stuck and almost unusable.

@fasheng
Copy link
Author

fasheng commented Aug 22, 2016

The latest tag dde-daemon 3.0.19 today should solved it :)

@fasheng fasheng closed this as completed Aug 22, 2016
@fasheng
Copy link
Author

fasheng commented Aug 23, 2016

Well, looks not complete solved now 😂

@fasheng fasheng reopened this Aug 23, 2016
@fasheng
Copy link
Author

fasheng commented Sep 1, 2016

Should be solved in dde-daemon 3.0.20.

@fasheng fasheng closed this as completed Sep 1, 2016
@jouyouyun
Copy link
Contributor

Unfortunately, this submission(#15502) will be reveted, because it was found to cause a serious bug: can not mount the iphone device.
I will rewrite the mounts module to solve this bug.

@jouyouyun jouyouyun reopened this Sep 5, 2016
@fasheng fasheng changed the title dde-session-daemon crashed when usb disk inserted [archlinux] dde-session-daemon crashed when usb disk inserted Sep 7, 2016
@fasheng
Copy link
Author

fasheng commented Sep 7, 2016

@Oberon2007
BTW, dde-daemon should release 3.0.21 recently, but it will revert a patch which solved dde-daemon crash under archlinux as discussed this topic, so we should apply the patch manually if want manjaro-deepin follow such latest tags this time.
b4a0d55

@oberon-manjaro
Copy link

Thanks a lot @fasheng! Normally we just inherit Archlinux packages. Are you going to apply the patch, @felixonmars ? In case of deepin-daemon I have the problem that currently I'm not able to build it here as described due to this gopath error...

@felixonmars
Copy link
Member

Sure, I have included the patch in deepin-daemon 3.0.21-1

@oberon-manjaro
Copy link

Unfortunately deepin-daemon 3.0.21 doesn't work at all here. Neither the dock nor launcher nor corner navigation are working as soon as the daemon is updated to 3.0.21!

@fasheng
Copy link
Author

fasheng commented Sep 9, 2016

But both them works fine for me, I updated all the deepin packages to latest just now. How about you @felixonmars ?

@oberon-manjaro
Copy link

I'll try to collect some more detailed information. I also have all the latest arch packages installed. Downgrading deepin-daemon solves the issue for me and 3.0.20-2 works fine...

@oberon-manjaro
Copy link

oberon-manjaro commented Sep 9, 2016

With deepin-daemon 3.0.21 when trying to launch dde-dock I get tons of QPainter errors:
Paint device returned engine == 0, type: 2
Painter not active

dde-dock startup
2016-09-09, 13:35:33.701 [Warning] [                                                         0] QPainter::begin: Paint device returned engine == 0, type: 2
2016-09-09, 13:35:33.701 [Warning] [                                                         0] QPainter::save: Painter not active
2016-09-09, 13:35:33.701 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.701 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.702 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.703 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.704 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.705 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.706 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.707 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.708 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.709 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::restore: Unbalanced save/restore
2016-09-09, 13:35:33.710 [Warning] [                                                         0] QPainter::end: Painter not active, aborted
2016-09-09, 13:35:33.732 [Warning] [                                                         0] QPainter::begin: Paint device returned engine == 0, type: 2
2016-09-09, 13:35:33.732 [Warning] [                                                         0] QPainter::save: Painter not active
2016-09-09, 13:35:33.732 [Warning] [                                                         0] QPainter::translate: Painter not active
2016-09-09, 13:35:33.732 [Warning] [                                                         0] QPainter::scale: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.733 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.734 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.735 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.736 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.737 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.738 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.739 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.740 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::restore: Unbalanced save/restore
2016-09-09, 13:35:33.741 [Warning] [                                                         0] QPainter::end: Painter not active, aborted
2016-09-09, 13:35:33.742 [Warning] [                                                         0] QPixmap::scaled: Pixmap is a null pixmap
2016-09-09, 13:35:33.742 [Warning] [                                                         0] QPainter::begin: Paint device returned engine == 0, type: 2
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::save: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.743 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.744 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.745 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.746 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.746 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.749 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.750 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.751 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.752 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.753 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::restore: Unbalanced save/restore
2016-09-09, 13:35:33.754 [Warning] [                                                         0] QPainter::end: Painter not active, aborted
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::begin: Paint device returned engine == 0, type: 2
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::save: Painter not active
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::translate: Painter not active
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::scale: Painter not active
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.757 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setRenderHint: Painter must be active to set rendering hints
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::worldTransform: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setWorldTransform: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.758 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.759 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.760 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.761 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.762 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.763 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.764 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::opacity: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::brush: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::pen: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::setPen: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.765 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::drawPath: Painter not active
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::setOpacity: Painter not active
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::setBrush: Painter not active
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::restore: Unbalanced save/restore
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPainter::end: Painter not active, aborted
2016-09-09, 13:35:33.766 [Warning] [                                                         0] QPixmap::scaled: Pixmap is a null pixmap

@fasheng
Copy link
Author

fasheng commented Sep 10, 2016

With deepin-daemon 3.0.21 when trying to launch dde-dock I get tons of QPainter errors:
Paint device returned engine == 0, type: 2

Any idea ;) @sbwtw

@sbwtw
Copy link
Contributor

sbwtw commented Sep 10, 2016

@fasheng not sure, i guess its some dbus call blocked. by the way, it just warning, doesnt matter :P
i think i can add some check before paint widget to avoid this warning

@oberon-manjaro
Copy link

For some reason now it works - some other package update must have solved this...?

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

No branches or pull requests

7 participants