[EMAIL PROTECTED] writes:

> Brian Paul <[EMAIL PROTECTED]> writes:
>
>>> I think the above FreeResource() by CrushTree() is not addressed
>>> rightly by mesa (or Xorg?).
>>> 
>>> I have no idea to fix this rightly. How should this problem be fixed?
>>> Any idea?
>>
>> Where exactly is the segfault?  Are we dereferencing a NULL pointer or 
>> something?  Could you send a stack trace from gdb?
>
> Ah, sorry. I forgot to say why SEGV happened.
>
> The original result was ramdom memory corruption. So, I changed the
> xfree() for debugging where is the cause of it. My debug xfree() calls
> mremap(PROT_NONE), so if someone deferenced the freed memory, the
> result is SEGV.

BTW, to reproduce this problem, I'm using the following:

prepare:
    # wget http://www.jwz.org/xscreensaver/xscreensaver-5.02.tar.gz
    # tar xzf xscreensaver-5.02.tar.gz
    # cd xscreensaver-5.02
    # ./configure --prefix=`pwd`/../usr
    # make
    # make install
    # startx

start test:
    # DISPLAY=:0.0 ./xtest_multi_2.pl

"xtest_multi_2.pl" is attached file.

Thanks.
-- 
OGAWA Hirofumi <[EMAIL PROTECTED]>

Attachment: xtest_multi_2.pl
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to