明覺 wrote:
> 2009/5/11 Brian Paul <[email protected]>:
>> 2009/5/10 明覺 <[email protected]>:
>>> Greetings!
>>> my application crashes at line 660 of glxcmds.c, here is the gdb info:
>>> ---------------------------------------------------------------------------------------
>>> (gdb) break glxcmds.c:660
>>> Breakpoint 1 (glxcmds.c:660) pending.
>>> (gdb) run
>>> Breakpoint 1, glXWaitX () at glxcmds.c:660
>>> (gdb) print psc->driScreen->waitX
>>> $3 = (void (*)(__GLXDRIdrawable *)) 0x47206769666e6f63
>>> (gdb) print *psc->driScreen->waitX
>>> Cannot access memory at address 0x47206769666e6f63
>>> (gdb) step
>>> Program received signal SIGSEGV, Segmentation fault.
>>> ---------------------------------------------------------------------------------------
>>> is it a bug of mesa or something wrong in my application? thanks
>>>
>> Hard to say.  Do you have a small test program that you could post?
>>
>> You might try running with valgrind since this looks like it might be
>> some kind of memory error.
> 
> when i run the application by  "valgrind --leak-check=yes ./k3dsurf",
> it will works fine, though slowly. any other way to solve it? thanks

Try valgrind --tool=memcheck.  I'm not sure if --leak-check=yes
detects memory errors like the former.

-Brian


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to