Discussion:
[Fluxbox-users] XnView crashes Fluxbox 1.1.1
Michael Piotrowski
2008-10-20 08:00:08 UTC
Permalink
Hi,

I'm using Fluxbox on NetBSD 4.0 (with the default X server, XFree86
4.5.0). I'm compiling Fluxbox myself.

After updating to Fluxbox 1.1.1, I noticed that Fluxbox crashed when
viewing images with XnView [1]--not immediately, but after about four or
five images. This behavior is consistent and reproducible for me.

I checked out the latest version from git, and the problem is still
there. I then went back to Release-1_1_0_1, which does not have this
issue.

So, apparently, something changed between Release-1_1_0_1 and
Release-1_1_1, which causes these crashes.

I don't have the time to do much debugging myself
(must-work-on-dissertation!), but I'd be willing to help and could build
a debug version and provide a core dump, for example.

Thanks and greetings


Footnotes:
[1] <http://xnview.com/>, I'm using version 1.68, the latest version
available for NetBSD.
--
Michael Piotrowski, M.A. <***@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt> (ID 0x1614A044)
Mathias Gumz
2008-10-21 06:12:14 UTC
Permalink
hi
Post by Michael Piotrowski
So, apparently, something changed between Release-1_1_0_1 and
Release-1_1_1, which causes these crashes.
ok.
Post by Michael Piotrowski
I don't have the time to do much debugging myself
(must-work-on-dissertation!), but I'd be willing to help and could build
a debug version and provide a core dump, for example.
try out the latest git version.

% git clone git://git.fluxbox.org/fluxbox.git
% cd fluxbox
% ./autogen.sh
% ./configure
% ./make

and then just try running the src/fluxbox binary.

does that still crash?

cheers,
mathias
--
[uid] mathias gumz [mail] akira at fluxbox dot org [pgp] 1024D/F6F6B18C
[www] http://www.darkshed.net/ [irc] ak|ra (#fluxbox at freenode.org)
Michael Piotrowski
2008-10-21 09:05:06 UTC
Permalink
Hi,
Post by Mathias Gumz
Post by Michael Piotrowski
So, apparently, something changed between Release-1_1_0_1 and
Release-1_1_1, which causes these crashes.
ok.
Post by Michael Piotrowski
I don't have the time to do much debugging myself
(must-work-on-dissertation!), but I'd be willing to help and could build
a debug version and provide a core dump, for example.
try out the latest git version.
[...]
Post by Mathias Gumz
and then just try running the src/fluxbox binary.
does that still crash?
No, it doesn't. Great, it seems you fixed the problem!

Thanks for your quick response and the fix, and thanks to everybody on
the Fluxbox team for a great window manager!

Greetings
--
Michael Piotrowski, M.A. <***@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt> (ID 0x1614A044)
Mathias Gumz
2008-10-21 09:49:16 UTC
Permalink
Post by Michael Piotrowski
Post by Mathias Gumz
does that still crash?
No, it doesn't. Great, it seems you fixed the problem!
just last check: your netbsd runs on 64bit?

regards,
mathias
--
[uid] mathias gumz [mail] akira at fluxbox dot org [pgp] 1024D/F6F6B18C
[www] http://www.darkshed.net/ [irc] ak|ra (#fluxbox at freenode.org)
Michael Piotrowski
2008-10-21 15:17:51 UTC
Permalink
Post by Mathias Gumz
Post by Michael Piotrowski
Post by Mathias Gumz
does that still crash?
No, it doesn't. Great, it seems you fixed the problem!
just last check: your netbsd runs on 64bit?
No, I'm using 32-bit builds of NetBSD (i386 on "real" hardware and on
VMware Fusion).

I just checked <http://git.fluxbox.org/>, and I'm a bit confused now: I
build git HEAD on October 17 and observed the same problem. The Fluxbox
I built today (GIT Revision: 3b9611b61ddc023225092a85b21867131fb363cc)
works fine. I now see that there was only a minor change ("increase
default size of toolbar and icon buttons") since October 17. But this
was probably a mixup of versions on my part.

Greetings
--
Michael Piotrowski, M.A. <***@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt> (ID 0x1614A044)
Mathias Gumz
2008-10-21 15:30:37 UTC
Permalink
Post by Michael Piotrowski
Post by Mathias Gumz
just last check: your netbsd runs on 64bit?
No, I'm using 32-bit builds of NetBSD (i386 on "real" hardware and on
VMware Fusion).
oha, interesting. then i would have no real explanation for your
"solved problem" atm. we had some crashes on "bad" apps feeding "bad"
_NET_WM_ICON data to fluxbox. eg, xnview shows a tiny "preview" in the
icon of the window. that would change after each new image.
Post by Michael Piotrowski
I just checked <http://git.fluxbox.org/>, and I'm a bit confused now: I
build git HEAD on October 17 and observed the same problem. The Fluxbox
I built today (GIT Revision: 3b9611b61ddc023225092a85b21867131fb363cc)
works fine. I now see that there was only a minor change ("increase
default size of toolbar and icon buttons") since October 17. But this
was probably a mixup of versions on my part.
so at the moment you dont see any problems anymore?

cheers,
mathias
--
[uid] mathias gumz [mail] akira at fluxbox dot org [pgp] 1024D/F6F6B18C
[www] http://www.darkshed.net/ [irc] ak|ra (#fluxbox at freenode.org)
Michael Piotrowski
2008-10-21 15:56:26 UTC
Permalink
Post by Mathias Gumz
Post by Michael Piotrowski
Post by Mathias Gumz
just last check: your netbsd runs on 64bit?
No, I'm using 32-bit builds of NetBSD (i386 on "real" hardware and on
VMware Fusion).
oha, interesting. then i would have no real explanation for your
"solved problem" atm. we had some crashes on "bad" apps feeding "bad"
_NET_WM_ICON data to fluxbox. eg, xnview shows a tiny "preview" in the
icon of the window. that would change after each new image.
Hmm, I see. But XnView doesn't change its icon, AFAICS. So, yes, it's
somewhat strange.
Post by Mathias Gumz
Post by Michael Piotrowski
I just checked <http://git.fluxbox.org/>, and I'm a bit confused now: I
build git HEAD on October 17 and observed the same problem. The Fluxbox
I built today (GIT Revision: 3b9611b61ddc023225092a85b21867131fb363cc)
works fine. I now see that there was only a minor change ("increase
default size of toolbar and icon buttons") since October 17. But this
was probably a mixup of versions on my part.
so at the moment you dont see any problems anymore?
Umm, I just had a crash when I wanted to verify it ;-)

However, before that I viewed hundreds of photos today without problems,
so it is definitely pretty stable now and I can't reproduce crashes at
will.

I'll use this revision for a few more days and we'll see how it
behaves. I'll report back when I experience any problems.

Thanks and greetings
--
Michael Piotrowski, M.A. <***@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt> (ID 0x1614A044)
Loading...