-----BEGIN PGP SIGNED MESSAGE-----

Moin,

[EMAIL PROTECTED]:~/incoming/perl/sdl/SDL_Perl-2.1.0> ./Build test
t/apppm............ok
t/cdrompm..........ok
t/colorpm..........ok
t/cursorpm.........ok
t/eventpm..........ok
t/fontpm...........ok
t/mixerpm..........ok
t/mpegpm...........ok
t/musicpm..........ok
t/opengl...........dubious
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t/palettepm........ok
t/rectpm...........ok
t/sdlpm............ok
t/soundpm..........ok
t/surfacepm........ok
t/timerpm..........ok
t/toolfontpm.......ok
t/toolgraphicpm....ok
t/ttfontpm.........ok
t/videopm..........ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
- -------------------------------------------------------------------------------
t/opengl.t     0    11     3    6 200.00%  1-3
Failed 1/20 test scripts, 95.00% okay. 3/75 subtests failed, 96.00% okay.
[EMAIL PROTECTED]:~/incoming/perl/sdl/SDL_Perl-2.1.0> perl t/opengl.t
1..3
Segmentation fault
[EMAIL PROTECTED]:~/incoming/perl/sdl/SDL_Perl-2.1.0> valgrind perl t/opengl.t
==2401== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==2401== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==2401== Using valgrind-20031012, a program supervision framework for 
x86-linux.
==2401== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==2401== Estimated CPU clock rate is 2017 MHz
==2401== For more details, rerun with: -v
==2401==
1..3
==2401== Syscall param modify_ldt(ptr)(func=1 or 0x11) contains 
uninitialised or unaddressable byte(s)
==2401==    at 0x435468D8: (within /usr/lib/libGL.so.1.0.4496)
==2401==    Address 0xBFFFEC84 is on thread 1's stack
ok 1 - use SDL::OpenGL;
ok 2 - main->can(...)
ok 3 - main->can(...)
==2401==
==2401== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 60 from 1)
==2401== malloc/free: in use at exit: 3643235 bytes in 53079 blocks.
==2401== malloc/free: 91579 allocs, 38500 frees, 43186106 bytes allocated.
==2401== For a detailed leak analysis,  rerun with: --leak-check=yes
==2401== For counts of detected errors, rerun with: -v

[EMAIL PROTECTED]:~/incoming/perl/sdl/SDL_Perl-2.1.0> ldd blib/arch/auto/SDL/OpenGL/
OpenGL.so
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40030000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40099000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4010e000)
        libc.so.6 => /lib/libc.so.6 (0x401a8000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402dc000)
        libm.so.6 => /lib/libm.so.6 (0x407b4000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x407d6000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x407e5000)
        libdl.so.2 => /lib/libdl.so.2 (0x408b3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x408b6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Hm, /usr/lib/libSDL-1.2.so.0 shouldn't exist yet (we did not install yet). 
But it does. Strange.

In any event, it seems it crashes in usr/lib/libGL.so.1.0.4496 which is the 
NVIDIA supplied binary (if I guess right because 4496 is my drivers rev. 
number). Damn, I think I start to hate closed-source drivers.

Any idea how I can fix/debug this further?

cheers,

Tels
On Tuesday 24 February 2004 05:00, David J. Goehrig wrote:
> I've uploaded SDL Perl 2.1.0 and is currently
> available
> from CPAN:
>
> http://search.cpan.org/~dgoehrig/SDL_Perl-2.1.0/
>
> You can read the README and CHANGELOG for the what's
> new, but basically, I've finished SMPEG support,
> fixed a few bugs in the Cdrom code, OpenGL support,
> and Build system.
>
> I also rewrote the test files tonight, updating some
> of the tests and adding SDL::Config support where
> applicable.  The tests should not kill you if you
> don't have something installed.
>
> And for added goodness a brief tutorial:
>
>
> HOW TO USE SDL::Config IN YOUR PROGRAMS
>
> As part of the new build system, Build.PL generates
> a site specific version of SDL::Config for your
> installation.  Currently SDL::Config can report
> status on the following optional extensions:
>
>   SDL_image
>   SDL_mixer
>   SDL_gfx
>   SDL_ttf
>   SDL_net
>   GL
>   GLU
>   smpeg
>   png
>   jpeg
>
> The module's "has" method can be queried to see
> whether or not the given module is installed
> as follows:
>
> # does the user have SDL_image installed?
>
> die "This program requires SDL_image\n"
>   unless ( SDL::Config->has('SDL_image') );
>
> # does the user have True Type font support?
>
> if ( SDL::Config->has('SDL_ttf') ) {
>   # do stuff with true type fonts...
> } else {
>   # do stuff using SFonts only
> }
>
> In this way, your program can determine at run time
> what the user's system is able to support.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools

- -- 
 Signed on Tue Feb 24 17:53:13 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Our second big loss has been the "IP" fudge, which is blurring the
 distinctions between patents, copyrights, trademarks, trade secrets,
 competative advantages, wishful thinking, bullshit, and marketing babble
 into one vague pile of lawyer poo." -- MarkusQ (450076), 2004-01-23

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBQDuFHncLPEOTuEwVAQFYcAf9HTNqV500BJA/WSvlK+n9F5f/oeIOHSIq
Kt2GXYHw96gpnnZ6xiIO/6XReZ/yhZVRDQdWsPaRD2S3FZEpS21/x55rVfoJVI8P
Wdgj8l+hP3ZO72FObE15BjxZpLz10jwzUkOKKcAxy+NnHYA7yBxlojQWOlSlgXBS
u++NDtXyoFfHTYI2IsLFE/HRM4G1EePYZo1olzbCcS4yKDGSyzb9Cdr8UYG2Eka9
r8i4IQqntoRL/5LTjk5yQNyoAE81m+VSmO+7L5kD5eCwmnfwrongvFEs1pE6+enX
nVDQokSbG836e1pG31UZqUay/Z33pQRwQ3fFoFFrC0liZ8cPoUI7Lg==
=f/2y
-----END PGP SIGNATURE-----

Reply via email to