Package: openvrml-lookat Version: 0.14.3-3 Severity: normal File: /usr/bin/lookat
When I try to use lookat to display a VRML model available from onemap.org, it print a few messages, display a black window, and crashes when I press the right mousebutton in this window and try to select a viewpoint. This is the output: % lookat http://www.onemap.org/resources/sentrum/WorldSingleEG/world/DisplayTerrain.wrl system.cpp:159: Connecting to www.onemap.org ... system.cpp:169: connected. system.cpp:259: Read 6k from http://www.onemap.org/resources/sentrum/WorldSingleEG/world/DisplayTerrain.wrl free(): invalid pointer 0xbffff480! Unreachable URI. [ At this point I tried to select viewpoint with the mouse ] X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 12 (X_ConfigureWindow) Value in failed request: 0x0 Serial number of failed request: 2644 Current serial number in output stream: 2645 % I expected the window to be non-black, and the viewpoint switching to work. The free() message seem fatal to me. When I try to do the samme while using valgrind, it detects several errors: % valgrind lookat http://www.onemap.org/resources/sentrum/WorldSingleEG/world/DisplayTerrain.wrl ==4073== Memcheck, a memory error detector for x86-linux. ==4073== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==4073== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==4073== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==4073== For more details, rerun with: -v ==4073== system.cpp:159: Connecting to www.onemap.org ... system.cpp:169: connected. system.cpp:259: Read 6k from http://www.onemap.org/resources/sentrum/WorldSingleEG/world/DisplayTerrain.wrl ==4073== Invalid read of size 1 ==4073== at 0x1B904788: strlen (mac_replace_strmem.c:189) ==4073== by 0x1BC72446: openvrml::doc2::filename(char*, unsigned) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BC71DB6: openvrml::doc2::input_stream() (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BCC14BF: openvrml::scene::scene(openvrml::browser&, std::vector<std::string, std::allocator<std::string> > const&, openvrml::scene*) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== Address 0x52BFE430 is just below %esp. Possibly a bug in GCC/G++ ==4073== v 2.96 or 3.0.X. To suppress, use: --workaround-gcc296-bugs=yes ==4073== ==4073== Invalid read of size 1 ==4073== at 0x1B904791: strlen (mac_replace_strmem.c:189) ==4073== by 0x1BC72446: openvrml::doc2::filename(char*, unsigned) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BC71DB6: openvrml::doc2::input_stream() (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BCC14BF: openvrml::scene::scene(openvrml::browser&, std::vector<std::string, std::allocator<std::string> > const&, openvrml::scene*) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== Address 0x52BFE431 is just below %esp. Possibly a bug in GCC/G++ ==4073== v 2.96 or 3.0.X. To suppress, use: --workaround-gcc296-bugs=yes ==4073== ==4073== Invalid read of size 1 ==4073== at 0x1B9047B2: strcpy (mac_replace_strmem.c:198) ==4073== by 0x1BC72467: openvrml::doc2::filename(char*, unsigned) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BC71DB6: openvrml::doc2::input_stream() (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BCC14BF: openvrml::scene::scene(openvrml::browser&, std::vector<std::string, std::allocator<std::string> > const&, openvrml::scene*) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== Address 0x52BFE430 is just below %esp. Possibly a bug in GCC/G++ ==4073== v 2.96 or 3.0.X. To suppress, use: --workaround-gcc296-bugs=yes ==4073== ==4073== Invalid read of size 1 ==4073== at 0x1B9047C4: strcpy (mac_replace_strmem.c:198) ==4073== by 0x1BC72467: openvrml::doc2::filename(char*, unsigned) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BC71DB6: openvrml::doc2::input_stream() (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BCC14BF: openvrml::scene::scene(openvrml::browser&, std::vector<std::string, std::allocator<std::string> > const&, openvrml::scene*) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== Address 0x52BFE431 is just below %esp. Possibly a bug in GCC/G++ ==4073== v 2.96 or 3.0.X. To suppress, use: --workaround-gcc296-bugs=yes ==4073== ==4073== Invalid free() / delete / delete[] ==4073== at 0x1B905460: free (vg_replace_malloc.c:153) ==4073== by 0x1BC72475: openvrml::doc2::filename(char*, unsigned) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BC71DB6: openvrml::doc2::input_stream() (in /usr/lib/libopenvrml.so.4.0.1) ==4073== by 0x1BCC14BF: openvrml::scene::scene(openvrml::browser&, std::vector<std::string, std::allocator<std::string> > const&, openvrml::scene*) (in /usr/lib/libopenvrml.so.4.0.1) ==4073== Address 0x52BFE430 is not stack'd, malloc'd or (recently) free'd Unreachable URI. ==4073== ==4073== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==4073== at 0x1C1A1BC8: write (in /usr/lib/debug/libc-2.3.2.so) ==4073== by 0x1BADFE0F: (within /usr/X11R6/lib/libX11.so.6.2) ==4073== by 0x1BAE09FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==4073== by 0x1BAC0261: (within /usr/X11R6/lib/libX11.so.6.2) ==4073== Address 0x1C2B0E18 is 176 bytes inside a block of size 2048 alloc'd ==4073== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==4073== by 0x1BAB209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==4073== by 0x1B929BE4: fgInitialize (in /usr/lib/libglut.so.3.8.0) ==4073== by 0x1B92A047: glutInit (in /usr/lib/libglut.so.3.8.0) ==4073== ==4073== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==4073== at 0x1C1A871E: do_writev (writev.c:46) ==4073== by 0x1BADFE8F: (within /usr/X11R6/lib/libX11.so.6.2) ==4073== by 0x1BAE0A5E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2) ==4073== by 0x1BAC1176: _XSend (in /usr/X11R6/lib/libX11.so.6.2) ==4073== Address 0x1C3AF282 is 602 bytes inside a block of size 262140 alloc'd ==4073== at 0x1B904EDD: malloc (vg_replace_malloc.c:131) ==4073== by 0x1BA6A06D: (within /usr/X11R6/lib/libGL.so.1.2) ==4073== by 0x1BA6A2EB: glXCreateContext (in /usr/X11R6/lib/libGL.so.1.2) ==4073== by 0x1B92F280: fgOpenWindow (in /usr/lib/libglut.so.3.8.0) X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 12 (X_ConfigureWindow) Value in failed request: 0x0 Serial number of failed request: 473 Current serial number in output stream: 474 ==4073== ==4073== ERROR SUMMARY: 43 errors from 7 contexts (suppressed: 68 from 2) ==4073== malloc/free: in use at exit: 1148239 bytes in 1439 blocks. ==4073== malloc/free: 3570 allocs, 2132 frees, 1394717 bytes allocated. ==4073== For a detailed leak analysis, rerun with: --leak-check=yes ==4073== For counts of detected errors, rerun with: -v % -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.26-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages openvrml-lookat depends on: ii freeglut3 [libglut3] 2.2.0-8 OpenGL Utility Toolkit ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libfontconfig1 2.2.3-4 generic font configuration library ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-9 GCC support library ii libglut3 3.7-25 the OpenGL Utility Toolkit ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library ii libjpeg62 6b-9 The Independent JPEG Group's JPEG ii libopenvrml4 0.14.3-3 runtime shared library for VRML ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii libxi6 4.3.0.dfsg.1-10 X Window System Input extension li ii libxmu6 4.3.0.dfsg.1-10 X Window System miscellaneous util ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-10 Mesa 3D graphics library [XFree86] ii xlibmesa-glu [libglu1] 4.3.0.dfsg.1-10 Mesa OpenGL utility library [XFree ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

