[Bf-committers] Problem (crashes) with blender cvs and dri on Linux/XFree86 4.2.x

Meino Christian Cramer bf-committers@blender.org
Sun, 23 Feb 2003 15:25:06 +0100 (MET)


From: hans@lambermont.dyndns.org (Hans Lambermont)
Subject: Re: [Bf-committers] Problem (crashes) with blender cvs and dri=
 on Linux/XFree86 4.2.x
Date: Sun, 23 Feb 2003 14:59:42 +0100
Message-ID: <20030223135942.GK54740@moya.lambermont.dyndns.org>

Hi Hans !

> Meino Christian Cramer wrote:
> =

> > hans> Did you build a debugging blender ? =

> > 	  I know of the -d option to switch some "debug mode"...
> > 	  Is it, what you mean ?
> =

> Nope, read on.

  ...I will do... ;O)

> I don't know how to enable this for the auto* stuff, but for the
> traditional makefiles the target is 'make debug' instead of 'make all=
'.

That does not work and gaves me:
("newdir" is an exact copy of the source tree...)

solfire:[newdir]> make debug
=3D=3D=3D=3D> make debug in blender/extern
=3D=3D=3D=3D> make debug in extern/ode
make[2]: Nothing to be done for `debug'.
=3D=3D=3D=3D> make debug in blender/intern
=3D=3D=3D=3D> make debug in intern/string
=3D=3D=3D=3D> make debug in intern/string/intern
g++ -c -pipe -fPIC -g -Wall -W -Wshadow -Wpointer-arith -Wbad-function-=
cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes =
-Wmissing-declarations -Wnested-externs -Wredundant-decls  -Wreorder -W=
ctor-dtor-privacy -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virt=
ual -Wsign-promo -Wsynth -DMOZ_NOT_NET -I.. STR_String.cpp -o /home/mcc=
ramer/BLENDERCVS/newdir/obj/linux-glibc2.2.5-i386/intern/string/debug/S=
TR_String.o
In file included from STR_String.cpp:43:
../STR_String.h: In method `char STR_String::GetAt(int) const':
../STR_String.h:99: warning: use of old-style cast
../STR_String.h: In method `void STR_String::SetAt(int, char)':
../STR_String.h:100: warning: use of old-style cast
../STR_String.h: In method `float STR_String::ToFloat() const':
../STR_String.h:144: warning: use of old-style cast
../STR_String.h: In method `const class STR_String & STR_String::operat=
or =3D(const byte *)':
../STR_String.h:148: warning: use of old-style cast
../STR_String.h:148: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(char, int)':
STR_String.cpp:90: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(const char *)':
STR_String.cpp:107: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(const char *, int)':
STR_String.cpp:128: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(const STR_String &)':=

STR_String.cpp:143: warning: use of old-style cast
STR_String.cpp:144: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(const STR_String &, i=
nt)':
STR_String.cpp:159: warning: use of old-style cast
STR_String.cpp:160: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(const char *, int, co=
nst char *, int)':
STR_String.cpp:175: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(int)':
STR_String.cpp:190: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(long unsigned int)':
STR_String.cpp:204: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(float)':
STR_String.cpp:217: warning: use of old-style cast
STR_String.cpp: In method `STR_String::STR_String(double)':
STR_String.cpp:230: warning: use of old-style cast
STR_String.cpp: In method `void STR_String::AllocBuffer(int, bool)':
STR_String.cpp:258: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::Format(const =
char *, ...)':
STR_String.cpp:276: warning: use of old-style cast
STR_String.cpp:279: warning: use of old-style cast
STR_String.cpp:281: warning: use of old-style cast
STR_String.cpp:282: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::FormatAdd(con=
st char *, ...)':
STR_String.cpp:296: warning: use of old-style cast
STR_String.cpp:299: warning: use of old-style cast
STR_String.cpp:301: warning: use of old-style cast
STR_String.cpp:302: warning: use of old-style cast
STR_String.cpp: In method `int STR_String::Find(char, int =3D 0) const'=
:
STR_String.cpp:354: warning: use of old-style cast
STR_String.cpp:355: warning: use of old-style cast
STR_String.cpp:356: warning: use of old-style cast
STR_String.cpp: In method `int STR_String::Find(const char *, int =3D 0=
) const':
STR_String.cpp:368: warning: use of old-style cast
STR_String.cpp:369: warning: use of old-style cast
STR_String.cpp:370: warning: use of old-style cast
STR_String.cpp: In method `int STR_String::Find(const STR_String &, int=
 =3D 0) const':
STR_String.cpp:382: warning: use of old-style cast
STR_String.cpp:383: warning: use of old-style cast
STR_String.cpp:384: warning: use of old-style cast
STR_String.cpp: In method `int STR_String::RFind(char) const':
STR_String.cpp:396: warning: use of old-style cast
STR_String.cpp: In method `int STR_String::FindOneOf(const char *, int =
=3D 0) const':
STR_String.cpp:408: warning: use of old-style cast
STR_String.cpp:409: warning: use of old-style cast
STR_String.cpp:410: warning: use of old-style cast
STR_String.cpp: In method `void STR_String::Replace(int, int, const STR=
_String &)':
STR_String.cpp:449: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::Upper()':
STR_String.cpp:511: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::Lower()':
STR_String.cpp:528: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::Capitalize()'=
:
STR_String.cpp:545: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::TrimLeft()':
STR_String.cpp:566: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::TrimRight()':=

STR_String.cpp:579: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::TrimLeft(char=
 *)':
STR_String.cpp:605: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::TrimRight(cha=
r *)':
STR_String.cpp:618: warning: use of old-style cast
STR_String.cpp: In method `class STR_String & STR_String::TrimQuotes()'=
:
STR_String.cpp:644: warning: use of old-style cast
STR_String.cpp: In method `const class STR_String & STR_String::Copy(co=
nst char *, int)':
STR_String.cpp:666: warning: use of old-style cast
STR_String.cpp:667: warning: use of old-style cast
STR_String.cpp:668: warning: use of old-style cast
STR_String.cpp: In method `const class STR_String & STR_String::Concat(=
const char *, int)':
STR_String.cpp:685: warning: use of old-style cast
STR_String.cpp:686: warning: use of old-style cast
STR_String.cpp:687: warning: use of old-style cast
STR_String.cpp:688: warning: use of old-style cast
ar ruv /home/mccramer/BLENDERCVS/newdir/obj/linux-glibc2.2.5-i386/inter=
n/string/debug/libstring.a  /home/mccramer/BLENDERCVS/newdir/obj/linux-=
glibc2.2.5-i386/intern/string/debug/STR_String.o =

a - /home/mccramer/BLENDERCVS/newdir/obj/linux-glibc2.2.5-i386/intern/s=
tring/debug/STR_String.o
=3D=3D=3D=3D> make debug in intern/ghost
=3D=3D=3D=3D> make debug in intern/ghost/intern
g++ -c -pipe -fPIC -g -DMOZ_NOT_NET -I/home/mccramer/BLENDERCVS/newdir/=
lib/linux-glibc2.2.5-i386/string/include -I/home/mccramer/BLENDERCVS/ne=
wdir/lib/linux-glibc2.2.5-i386/memutil/include -I.. -I/usr/X11R6/includ=
e GHOST_Buttons.cpp -o /home/mccramer/BLENDERCVS/newdir/obj/linux-glibc=
2.2.5-i386/intern/ghost/debug/GHOST_Buttons.o
g++ -c -pipe -fPIC -g -DMOZ_NOT_NET -I/home/mccramer/BLENDERCVS/newdir/=
lib/linux-glibc2.2.5-i386/string/include -I/home/mccramer/BLENDERCVS/ne=
wdir/lib/linux-glibc2.2.5-i386/memutil/include -I.. -I/usr/X11R6/includ=
e GHOST_System.cpp -o /home/mccramer/BLENDERCVS/newdir/obj/linux-glibc2=
.2.5-i386/intern/ghost/debug/GHOST_System.o
In file included from ../GHOST_ISystem.h:43,
                 from GHOST_System.h:39,
                 from GHOST_System.cpp:44:
../GHOST_IWindow.h:39: STR_String.h: No such file or directory
In file included from GHOST_System.h:46,
                 from GHOST_System.cpp:44:
GHOST_EventPrinter.h:41: STR_String.h: No such file or directory
In file included from ../GHOST_ISystem.h:43,
                 from GHOST_System.h:39,
                 from GHOST_System.cpp:44:
../GHOST_IWindow.h:95: parse error before `&'
../GHOST_IWindow.h:101: `STR_String' was not declared in this scope
../GHOST_IWindow.h:101: `title' was not declared in this scope
../GHOST_IWindow.h:101: virtual outside class declaration
../GHOST_IWindow.h:101: variable or field `getTitle' declared void
In file included from GHOST_System.h:39,
                 from GHOST_System.cpp:44:
../GHOST_ISystem.h:233: parse error before `&'
In file included from GHOST_System.h:46,
                 from GHOST_System.cpp:44:
GHOST_EventPrinter.h:63: type specifier omitted for parameter
GHOST_EventPrinter.h:63: parse error before `&'
GHOST_System.cpp: In method `enum GHOST_TSuccess GHOST_System::createFu=
llScreenWindow(GHOST_Window **, bool)':
GHOST_System.cpp:323: implicit declaration of function `int STR_String(=
...)'
make[3]: *** [/home/mccramer/BLENDERCVS/newdir/obj/linux-glibc2.2.5-i38=
6/intern/ghost/debug/GHOST_System.o] Error 1
make[2]: *** [debug] Error 1
make[1]: *** [debug] Error 1
make: *** [debug] Error 1

This way I will NEVER get any problems....like core dumps  ;;;OOO)))


> =

> > hans> >  #0  0x40b17265 in radeonUpdateTexLRU ()
> > hans> >    from /usr/X11R6/lib/modules/dri/radeon_dri.so
> > hans> Because this is a little short. Extra history will help.
> =

> I mean extra gdb output from a debugging enabled blender. Lines like =
#1
> ... #2 ... below the #0 and so on. Also pointers like 0x40b17265 woul=
d
> be readable if radeon_dri.so was compiled with debugging on. That wou=
ld
> also help. Can you do this ?

Let us check whether how far we can get WITHOUT recompiling XFree =

again...I did this dozen times in the last days...sigh
 =


> > hans> Does the problem also show with older (NaN?) blender versions=
 ?
> > =

> > 	  I wil check this...let me send this mail and please mail me
> > 	  back, what I can do to get an "debig-blender" and I will play
> > 	  again Mr.Core Dump ;)))
> =

> hehe :)

  ...my laughter is ...hrrmmm....  a little more silent....sigh

> groetjes,
>   Hans

	Oh YEAH!

	That sounds similiar to the "Plattd=FCtsch" spoken in "Ostfriesland" (=
very
	North of Germany) =


	That's where I came from...no I am living "in exile" in the South...

> ps. 'interesting' quoting style from Mew ;-) Pity that it clashes wit=
h
> RFC style quoting.

  Only differences will make the world colored.
  Whart do _you prefer?

  Keep Hacking!
  Meino

> -- =

> http://lambermont.webhop.org/   () ascii ribbon campaign - against HT=
ML mail,
>                                 /\ vCards and proprietary formats
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
> =