nanogui: Thread: png strange issue


[<<] [<] Page 1 of 1 [>] [>>]
Subject: png strange issue
From: Manuel Gilioli ####@####.####
Date: 3 Sep 2008 12:17:37 -0000
Message-Id: <20080903141642.zaom79tyioggosww@webmail.securesites.it>

Good morning,
  I have a problem to load png when nano-X is compiled with
FreeType 1.x:


####################################################################
# TrueType font support thru FreeType 1.x
####################################################################
HAVE_FREETYPE_SUPPORT    = Y
INCFTLIB                 = /usr/include/freetype1
LIBFTLIB                 = /usr/lib/libttf.so
FREETYPE_FONT_DIR        = "fonts/truetype"

-- 


####################################################################
# PNG support via libpng and libz
####################################################################
HAVE_PNG_SUPPORT         = Y
INCPNG                   = .
LIBPNG                   = /usr/lib/libpng.a
LIBZ                     = /usr/lib/libz.a

while if compile HAVE_FREETYPE_SUPPORT    = N the png load correctly.

the problem is in this static int
ReadBlock(void *b, int n) but I think that i see the effect and not a
cause.

Thanks



Ing. Gilioli Manuel
Subject: Re: [nanogui] png strange issue
From: "Greg Haerr" ####@####.####
Date: 6 Sep 2008 01:59:55 -0000
Message-Id: <0d2301c90fc4$4840c220$6501a8c0@winXP>

: while if compile HAVE_FREETYPE_SUPPORT    = N the png load correctly.
: 
: the problem is in this static int
: ReadBlock(void *b, int n) but I think that i see the effect and not a
: cause.

This is truly a strange problem.  Why is it you think the problem
is in ReadBlock, and which file is that in?

Regards,

Greg
Subject: Fwd: Re: [nanogui] png strange issue
From: Manuel Gilioli ####@####.####
Date: 8 Sep 2008 07:17:55 -0000
Message-Id: <20080908091659.yno1onfn8kw4w8s8@webmail.securesites.it>

Thank you Greg,
the ReadBlock is a point where I receive a Segmentation Fault to nanox,
and file is in src/nanox/client.c, I made a debug with printf cause
I have a tiny dev. enviroment, and when nanox call
GrLoadImageFromFile --> TypedReadBlock --> ReadBlock --> read
return 0 and a client exit.

Thank you very much



Quoting Greg Haerr ####@####.####

> : while if compile HAVE_FREETYPE_SUPPORT    = N the png load correctly.
> :
> : the problem is in this static int
> : ReadBlock(void *b, int n) but I think that i see the effect and not a
> : cause.
>
> This is truly a strange problem.  Why is it you think the problem
> is in ReadBlock, and which file is that in?
>
> Regards,
>
> Greg
>
>
>
>
>
>
>
>
>



-- 
Ing. Gilioli Manuel


----- Fine del messaggio inoltrato -----


-- 
Ing. Gilioli Manuel
Subject: Re: [nanogui] png strange issue
From: "Greg Haerr" ####@####.####
Date: 9 Sep 2008 21:21:40 -0000
Message-Id: <0a4601c912c1$e82162e0$0300a8c0@RDP>

: the ReadBlock is a point where I receive a Segmentation Fault to nanox,
: and file is in src/nanox/client.c, I made a debug with printf cause
: I have a tiny dev. enviroment, and when nanox call
: GrLoadImageFromFile --> TypedReadBlock --> ReadBlock --> read
: return 0 and a client exit.

We need a stack trace on the nano-X codefile, not the
client application, which is hanging in ReadBlock/read.
When nano-X core dumps, the client gets EOF (return 0)
and exits normally.

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.