http://bugs.freedesktop.org/show_bug.cgi?id=17440

           Summary: Segfault in _mesa_reference_buffer_object
           Product: Mesa
           Version: CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


I'm experiencing a lot of segfaults with recent mesa trunk, which were not
there one month ago. This is on i945 hardware. Only mesa is git, the server and
drm are purposely old ones: server 1.4.2 with intel driver 2.3.2, and kernel
2.6.26.

This is a trace I caught with valgrind:

Conditional jump or move depends on uninitialised value(s)
   at 0x7C5E6FF: _mesa_reference_buffer_object (bufferobj.c:187)
   by 0x7D7D686: _mesa_PushClientAttrib (attrib.c:1334)
   by 0x50BF322: glutBitmapCharacter (in /usr/lib/libglut.so.3.8.0)
   by 0x402319: printstring (terrain.c:215)
   by 0x402E8B: drawscene (terrain.c:407)
   by 0x50C5B12: glutMainLoop (in /usr/lib/libglut.so.3.8.0)
   by 0x402536: main (terrain.c:653)

Conditional jump or move depends on uninitialised value(s)
   at 0x7C5E704: _mesa_reference_buffer_object (bufferobj.c:190)
   by 0x7D7D686: _mesa_PushClientAttrib (attrib.c:1334)
   by 0x50BF322: glutBitmapCharacter (in /usr/lib/libglut.so.3.8.0)
   by 0x402319: printstring (terrain.c:215)
   by 0x402E8B: drawscene (terrain.c:407)
   by 0x50C5B12: glutMainLoop (in /usr/lib/libglut.so.3.8.0)
   by 0x402536: main (terrain.c:653)

Use of uninitialised value of size 8
   at 0x7C5E706: _mesa_reference_buffer_object (bufferobj.c:197)
   by 0x7D7D686: _mesa_PushClientAttrib (attrib.c:1334)
   by 0x50BF322: glutBitmapCharacter (in /usr/lib/libglut.so.3.8.0)
   by 0x402319: printstring (terrain.c:215)
   by 0x402E8B: drawscene (terrain.c:407)
   by 0x50C5B12: glutMainLoop (in /usr/lib/libglut.so.3.8.0)
   by 0x402536: main (terrain.c:653)

Invalid read of size 4
   at 0x7C5E706: _mesa_reference_buffer_object (bufferobj.c:197)
   by 0x7D7D686: _mesa_PushClientAttrib (attrib.c:1334)
   by 0x50BF322: glutBitmapCharacter (in /usr/lib/libglut.so.3.8.0)
   by 0x402319: printstring (terrain.c:215)
   by 0x402E8B: drawscene (terrain.c:407)
   by 0x50C5B12: glutMainLoop (in /usr/lib/libglut.so.3.8.0)
   by 0x402536: main (terrain.c:653)
 Address 0x10d is not stack'd, malloc'd or (recently) free'd

Process terminating with default action of signal 11 (SIGSEGV)
 Access not within mapped region at address 0x10D
   at 0x7C5E706: _mesa_reference_buffer_object (bufferobj.c:197)
   by 0x7D7D686: _mesa_PushClientAttrib (attrib.c:1334)
   by 0x50BF322: glutBitmapCharacter (in /usr/lib/libglut.so.3.8.0)
   by 0x402319: printstring (terrain.c:215)
   by 0x402E8B: drawscene (terrain.c:407)
   by 0x50C5B12: glutMainLoop (in /usr/lib/libglut.so.3.8.0)
   by 0x402536: main (terrain.c:653)

I intend to take an in-depth look in the next few days. But since almost half
of the application runs are crashing, I thought I would mention it as soon as
possible.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to