<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi!</p>
<p>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 ?</p>
<p>Mikael<br>
</p>
<div class="moz-cite-prefix">Den 2019-02-01 kl. 07:08, skrev
MyungJin, Kim:<br>
</div>
<blockquote type="cite"
cite="mid:CABUmiqU9_in4KMJrRrnijm0vZUXyjePVR+Yz0jBONdiAa3723w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">I’m a newbie in
the Mesa library.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">I developed the
JavaFX application using the Mesa 17.2.4 with DRI on the 32bit
Linux environment.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">But, my program is
died by the SIGSEGV after about six hours running.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">I used the GDB for
debugging this problem.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">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</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">In the
copy_array_to_vbo_array function, the memcpy function is
called with source and destination address.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">A destination
address is got from the intel_upload_space function in
mesa/src/mesa/drivers/dri/i965/intel_upload.c</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">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.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt"> </p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">I have a question
about the intel_upload_space function in
mesa/src/mesa/drivers/dri/i965/intel_upload.c</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">In what cases can
this function return a null?</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">And also, if this
function returns a null, then how can I handle this abnormal
operation to run my application?</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">please let me know
if you have a workaround for this issue.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt"> </p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">Thank you.</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt"> </p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">Best regards,</p>
<p style="margin:0cm 0cm
0.0001pt;text-align:justify;font-size:10pt">Myungjin, Kim</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
mesa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/mesa-users">https://lists.freedesktop.org/mailman/listinfo/mesa-users</a>
</pre>
</blockquote>
</body>
</html>