Hello Petr,

Am Freitag, den 26.08.2011, 02:07 +0200 schrieb Petr Gajdůšek:
> Package: gtk-vector-screenshot
> Version: 0.3-1
> Severity: important
> Tags: patch
> 
> Everytime I open UI (glade) file in anjuta and start dragging a signal 
> from any widget properties panel to the source code, in order to create 
> signal handler, anjuta crashes with BadWindow X-Protocol error.
> 
> Sometimes it crashes another application too, i.e. gnome-terminal or 
> gnome-shell.
> 
> I experience BadWindow errors from other apps too, but I didn't check if 
> it comes from gtk-vector-screenshot (i.e. gnome-screensaver, gnome-shell).
> 
> Debug logs for anjuta attached. The window with id 23070566 for which is 
> XSetTextProperty() from pdfscreenshot_event_filter() called did not 
> exist before crash (dragging start) and did not exists after (checked 
> with xwininfo -int -tree -root)
> 
> Patch installing custom error handler ingoring BadWindow errors is attached.
> 
> Cheers,
> Petr Gajdůšek

thanks for the report, especially as it comes with a patch!

Do you know why pdfscreenshot_event_filter could cause a BadWindow error
there in the first place? I’d expect that a MapNotify event surely
indicates that the window exists.

Also, do you think there is a reason not to call the original error
handler in silent_error_handler instead of exit()?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to