Hello,<br> This is a crash with following message :<br><br> ___________________________________________ <br> scilab-branches-5.1-1252497453<br><br> Consortium Scilab (DIGITEO)<br>
Copyright (c) 1989-2009 (INRIA)<br> Copyright (c) 1989-2007 (ENPC)<br> ___________________________________________ <br> <br> <br>Startup execution:<br> loading initial environment<br>
MESG :: Reading Data File ...... <br> MESG :: Computing FFT ...... <br> MESG :: Plotting FFT .... <br>#<br># An unexpected error has been detected by Java Runtime Environment:<br>#<br># SIGSEGV (0xb) at pc=0xdb5d6acc, pid=23315, tid=16384<br>
#<br># Java VM: Java HotSpot(TM) Server VM (11.0-b16 mixed mode linux-x86)<br># Problematic frame:<br># C [libGL.so.1+0x43acc]<br>#<br># An error report file with more information is saved as:<br># /fshy01/uxhyu/sa1/work/sdm/sim/hs_err_pid23315.log<br>
#<br># If you would like to submit a bug report, please visit:<br># <a href="http://java.sun.com/webapps/bugreport/crash.jsp">http://java.sun.com/webapps/bugreport/crash.jsp</a><br># The crash happened outside the Java Virtual Machine in native code.<br>
# See problematic frame for where to report the bug.<br>#<br>/fshy01/uxhyu/sa1/tools/scilab-branches-5.1-1252497453/bin/scilab: line 132: 23315 Aborted (core dumped) "$SCILABBIN" $*<br><br>This is happening for only one data file!!!. Other dumps of the same tracepoints are working. I cant attach the core. It is 1.8 GB!<br>
Same file with 4.2.1 working fine.<br><br>Following is the script :<br><br> <br>// Clearing the previous data (if any)<br> clear all ;<br><br>// Handling stacksize<br> stacksize('max');<br><br><br>function fft_plot()<br>
<br>// Sampling Frequency Specification :<br> Fs = 1024.0*1024.0;<br><br>// Sampling Time Period Specification <br> delt = 1.0/Fs;<br><br>// Data File Read Up :<br> printf(" MESG :: Reading Data File ...... \n");<br>
file_read_out = fscanfMat("./data.dat");<br><br><br>// Expansion of Time :<br> t = 0.0:1.0/Fs:(size(file_read_out,"*")*delt);<br><br>// Finding Out Number of Samples :<br> N = size(t,'*'); <br>
<br>// Clearing the array t<br> clear t ;<br> <br>// Computing FFT :<br> printf(" MESG :: Computing FFT ...... \n");<br> fft_out=fft(file_read_out);<br><br>// Clearing the array file_read_out<br> clear file_read_out ;<br>
<br>// Expanding Frequency :<br> f = Fs*(0:(N/2))/N; <br> n = size(f,'*');<br><br>// Setting Plot Down Sampler :<br> RDOWN = 1 ;<br><br>// FFT Graphical Plot :<br> printf(" MESG :: Plotting FFT .... \n");<br>
plot(f(1:n/RDOWN),20*log10(abs(fft_out(1:n/RDOWN))),"red"); mtlb_grid("on");<br> //plot(log10(f(2:n/RDOWN)),20*log10(abs(fft_out(2:n/RDOWN))),"red"); mtlb_grid("on");<br> //plot(f(1:n/RDOWN),abs(fft_out(1:n/RDOWN)),"red"); mtlb_grid("on");<br>
xtitle( 'FFT Plot of Output Signal', ' Frequency (Hz) ', 'Gain (dB)') ;<br><br>endfunction<br><br> fft_plot();<br><br><br><br>Regards,<br>Sumit<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></div>
</div></div></blockquote></div><br>