Subject: Bug#4392: xfishtank coredumps at 16bpps

From: Herbert Xu <[email-masked]>
Date: Wed, 4 Sep 1996 17:47:44 +1000 (EST)

Package: xfishtank
Version: 2.2-1

As the subject says, xfishtank dumps core at 16 bpp.  It
works fine at 8 bpp, at least on my machine.

-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
A.  B <=> True			B.  A <=> False
Email:  Herbert Xu 许志壬 <[email-masked]>
PGP Key:  [email-masked] or any other key sites

---

From: Christoph Lameter <[email-masked]>
Date: Wed, 4 Sep 1996 07:48:50 -0700 (PDT)

Its not compiled for 16bpp.

On Wed, 4 Sep 1996, Herbert Xu wrote:

herbert>Package: xfishtank
herbert>Version: 2.2-1
herbert>
herbert>As the subject says, xfishtank dumps core at 16 bpp.  It
herbert>works fine at 8 bpp, at least on my machine.
herbert>
herbert>-- 
herbert>Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
herbert>A.  B <=> True			B.  A <=> False
herbert>Email:  Herbert Xu 许志壬 <[email-masked]>
herbert>PGP Key:  [email-masked] or any other key sites
herbert>

{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
{}    Snail Mail:   FTS Box 466, 135 N.Oakland Ave, Pasadena, CA 91182        {}
{}    FISH Internet System Administrator at Fuller Theological Seminary       {}
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
PGP Public Key  =  FB 9B 31 21 04 1E 3A 33  C7 62 2F C0 CD 81 CA B5

---

From: Christoph Lameter <[email-masked]>
Date: Wed, 4 Sep 1996 10:47:25 -0700 (PDT)

Ok. I will try to get it to run with 16bpp. Everybody seemed just to run
8bpp. Perhaps I am not current.

On Wed, 4 Sep 1996, James A. Robinson wrote:

jimr>
jimr>> Its not compiled for 16bpp.
jimr>
jimr>Could such programs then have a note telling us about that in the
jimr>description?  It looks bad when one downloads software and gets a core
jimr>dump trying to run it.  I think many people are running 16bpp, and
jimr>many more will be running it as 2meg become the default -- is this a
jimr>major problem with most fancy X programs (games and stuff)?  Do they
jimr>need to be compiled for different depths?
jimr>
jimr>
jimr>Jim
jimr>

---

From: "James A. Robinson" <[email-masked]>
Date: Wed, 04 Sep 1996 13:19:45 -0400

> Its not compiled for 16bpp.

Could such programs then have a note telling us about that in the
description?  It looks bad when one downloads software and gets a core
dump trying to run it.  I think many people are running 16bpp, and
many more will be running it as 2meg become the default -- is this a
major problem with most fancy X programs (games and stuff)?  Do they
need to be compiled for different depths?

Jim

---

From: [email-masked] (Emilio Lopes)
Date: Fri, 6 Sep 96 11:44 EST

>>>>> "HX" == Herbert Xu <[email-masked]> wrote:

HX> Package: xfishtank
HX> Version: 2.2-1

HX> As the subject says, xfishtank dumps core at 16 bpp.  It
HX> works fine at 8 bpp, at least on my machine.

There is a version of xfishtank in sunsite.unc.edu that was patched to
work in "truecolor" mode. I include bellow the README.TrueColor
file from the file xfishtank2.0-truecolor.tar.gz.

Hope this helps, Emilio.

======================================================================
    When I switched to TrueColor on my Linux box, I found that
    xfishtank just crash with a segmentation fault, how
    frustrating. Digging into the code, I found that it only support
    depths 1-8. Thanks to John Cwikla's article:
    
        The X Color Context: Color Management For (Almost) Any Occasion
         in The X Advisor: June 1995 - Vol 1 No 1. http://www.unx.com/DD/advisor
    
    I got xfishtank to support TrueColor. I've only tested it on Linux
    running XFree86-3.1.2 in 16 and 24 bpp. If anybody can get it to
    work on other platform or other video modes, please drop me a
    line.
    
    I have no idea what this version will do in DirectColor modes
    because I have no way of testing. This version ignores the -C
    (color limit) flag when running in > 8 bpp modes. There's no need
    for limitting the number of color in TrueColor modes right?
    
    You may use, redistribute this version as long as you keep all the
    READMEs and copyright stuff with the code. This is to ensure
    credit goes to those deserve.  After all, I did not write this
    code. I only add TrueColor support.
    
    There no warranty of any kind. Use this code at your own
    risk. Don't blame me for any damage it may cause. Bugfixes and
    comments are welcome.
    
    Enjoy,
    
    TJ Phan
    [email-masked]
======================================================================

-- 
                 Emilio C. Lopes <mailto:[email-masked]>
               Instituto de Fisica da Universidade de Sao Paulo
             Caixa Postal 66318, 05389-970 Sao Paulo - SP, BRAZIL
              Phone: (+55) (11) 818-6724 (Voice) / 818-6715 (Fax)

---

From: Christoph Lameter <[email-masked]>
Date: Fri, 6 Sep 1996 08:29:06 -0700 (PDT)

There ios a new release on debian.org of xfishtank that hopefully
addressed the problem.

On Fri, 6 Sep 1996, Emilio Lopes wrote:

ecl>>>>>> "HX" == Herbert Xu <[email-masked]> wrote:
ecl>
ecl>HX> Package: xfishtank
ecl>HX> Version: 2.2-1
ecl>
ecl>HX> As the subject says, xfishtank dumps core at 16 bpp.  It
ecl>HX> works fine at 8 bpp, at least on my machine.
ecl>
ecl>There is a version of xfishtank in sunsite.unc.edu that was patched to
ecl>work in "truecolor" mode. I include bellow the README.TrueColor
ecl>file from the file xfishtank2.0-truecolor.tar.gz.
ecl>
ecl>Hope this helps, Emilio.
ecl>
ecl>
ecl>======================================================================
ecl>    When I switched to TrueColor on my Linux box, I found that
ecl>    xfishtank just crash with a segmentation fault, how
ecl>    frustrating. Digging into the code, I found that it only support
ecl>    depths 1-8. Thanks to John Cwikla's article:
ecl>    
ecl>        The X Color Context: Color Management For (Almost) Any Occasion
ecl>         in The X Advisor: June 1995 - Vol 1 No 1. http://www.unx.com/DD/advisor
ecl>    
ecl>    I got xfishtank to support TrueColor. I've only tested it on Linux
ecl>    running XFree86-3.1.2 in 16 and 24 bpp. If anybody can get it to
ecl>    work on other platform or other video modes, please drop me a
ecl>    line.
ecl>    
ecl>    I have no idea what this version will do in DirectColor modes
ecl>    because I have no way of testing. This version ignores the -C
ecl>    (color limit) flag when running in > 8 bpp modes. There's no need
ecl>    for limitting the number of color in TrueColor modes right?
ecl>    
ecl>    You may use, redistribute this version as long as you keep all the
ecl>    READMEs and copyright stuff with the code. This is to ensure
ecl>    credit goes to those deserve.  After all, I did not write this
ecl>    code. I only add TrueColor support.
ecl>    
ecl>    There no warranty of any kind. Use this code at your own
ecl>    risk. Don't blame me for any damage it may cause. Bugfixes and
ecl>    comments are welcome.
ecl>    
ecl>    Enjoy,
ecl>    
ecl>    TJ Phan
ecl>    [email-masked]
ecl>======================================================================
ecl>
ecl>-- 
ecl>                 Emilio C. Lopes <mailto:[email-masked]>
ecl>               Instituto de Fisica da Universidade de Sao Paulo
ecl>             Caixa Postal 66318, 05389-970 Sao Paulo - SP, BRAZIL
ecl>              Phone: (+55) (11) 818-6724 (Voice) / 818-6715 (Fax)
ecl>