Package: qiv
Version: 2.1~pre12-4
Severity: important
Tags: patch

Basically, qiv segfaults when loading any image.  I initially thought
this might be a bad interaction with ratpoison, but it does the same
thing under twm.

Checking the core file revealed that it was dying in
gdk_window_new().  So this is probably actually a GDK bug, but I
didn't feel like digging through that, because looking at the code I
noticed someone had found this before, so I just uncommented the
original line:

-- qiv-2.1~pre12/image.c       2007-04-24 20:51:21.000000000 -0400
+++ qiv/image.c 2008-01-21 10:49:19.000000000 -0500
@@ -126,8 +126,8 @@
     attr.width  = q->win_w;
     attr.height = q->win_h;
     attr.wmclass_name = "qiv";
-    q->win = gdk_window_new(NULL, &attr, GDK_WA_X|GDK_WA_Y|GDK_WA_WMCLASS);
-//  q->win = gdk_window_new(NULL, &attr, GDK_WA_X|GDK_WA_Y);
+ //   q->win = gdk_window_new(NULL, &attr, GDK_WA_X|GDK_WA_Y|GDK_WA_WMCLASS);
+    q->win = gdk_window_new(NULL, &attr, GDK_WA_X|GDK_WA_Y);
 // [lc] GDK_WA_WMCLASS segfaults with -O0
 // [as] could not confirm -> leave GDK_WA_WMCLASS in



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.23 (PREEMPT)
Locale: LANG=en_CA.UTF8, LC_CTYPE=en_CA.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qiv depends on:
ii  gdk-imlib11                  1.9.15-5    imaging library for use with gtk
ii  libc6                        2.7-5       GNU C Library: Shared libraries
ii  libglib1.2ldbl               1.2.10-19   The GLib library of C routines
ii  libgtk1.2                    1.2.10-18.1 The GIMP Toolkit set of widgets fo
ii  libx11-6                     2:1.0.3-7   X11 client-side library
ii  libxinerama1                 1:1.0.2-1   X11 Xinerama extension library

qiv recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to