[Mesa-users] intel_upload_space function returns a null
Mikael
mikael-aronsson at telia.com
Fri Feb 1 07:54:46 UTC 2019
Hi!
No idea, but you said you got it after 6 hours ? any chance you are
allocating something that is not beeing freed so you eat up memory ?
Mikael
Den 2019-02-01 kl. 07:08, skrev MyungJin, Kim:
>
> I’m a newbie in the Mesa library.
>
> I developed the JavaFX application using the Mesa 17.2.4 with DRI on
> the 32bit Linux environment.
>
> But, my program is died by the SIGSEGV after about six hours running.
>
> I used the GDB for debugging this problem.
>
> And, I found a position of the SIGSEGV problem. It is the
> copy_array_to_vbo_array function in
> mesa/src/mesa/drivers/dri/i965/brw_draw_upload.c
>
> In the copy_array_to_vbo_array function, the memcpy function is called
> with source and destination address.
>
> A destination address is got from the intel_upload_space function in
> mesa/src/mesa/drivers/dri/i965/intel_upload.c
>
> But, the intel_upload_space function returns a null, therefore a
> destination address is zero and so my program is gone into fault by
> the SIGSEGV.
>
> I have a question about the intel_upload_space function in
> mesa/src/mesa/drivers/dri/i965/intel_upload.c
>
> In what cases can this function return a null?
>
> And also, if this function returns a null, then how can I handle this
> abnormal operation to run my application?
>
> please let me know if you have a workaround for this issue.
>
> Thank you.
>
> Best regards,
>
> Myungjin, Kim
>
>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20190201/0956bde2/attachment-0001.html>
More information about the mesa-users
mailing list