Reg :: Crash of Scilab
Sumit Adhikari
sumit.adhikari at gmail.com
Tue Sep 15 13:11:46 CEST 2009
Hello,
This is a crash with following message :
___________________________________________
scilab-branches-5.1-1252497453
Consortium Scilab (DIGITEO)
Copyright (c) 1989-2009 (INRIA)
Copyright (c) 1989-2007 (ENPC)
___________________________________________
Startup execution:
loading initial environment
MESG :: Reading Data File ......
MESG :: Computing FFT ......
MESG :: Plotting FFT ....
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xdb5d6acc, pid=23315, tid=16384
#
# Java VM: Java HotSpot(TM) Server VM (11.0-b16 mixed mode linux-x86)
# Problematic frame:
# C [libGL.so.1+0x43acc]
#
# An error report file with more information is saved as:
# /fshy01/uxhyu/sa1/work/sdm/sim/hs_err_pid23315.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/fshy01/uxhyu/sa1/tools/scilab-branches-5.1-1252497453/bin/scilab: line 132:
23315 Aborted (core dumped) "$SCILABBIN" $*
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!
Same file with 4.2.1 working fine.
Following is the script :
// Clearing the previous data (if any)
clear all ;
// Handling stacksize
stacksize('max');
function fft_plot()
// Sampling Frequency Specification :
Fs = 1024.0*1024.0;
// Sampling Time Period Specification
delt = 1.0/Fs;
// Data File Read Up :
printf(" MESG :: Reading Data File ...... \n");
file_read_out = fscanfMat("./data.dat");
// Expansion of Time :
t = 0.0:1.0/Fs:(size(file_read_out,"*")*delt);
// Finding Out Number of Samples :
N = size(t,'*');
// Clearing the array t
clear t ;
// Computing FFT :
printf(" MESG :: Computing FFT ...... \n");
fft_out=fft(file_read_out);
// Clearing the array file_read_out
clear file_read_out ;
// Expanding Frequency :
f = Fs*(0:(N/2))/N;
n = size(f,'*');
// Setting Plot Down Sampler :
RDOWN = 1 ;
// FFT Graphical Plot :
printf(" MESG :: Plotting FFT .... \n");
plot(f(1:n/RDOWN),20*log10(abs(fft_out(1:n/RDOWN))),"red");
mtlb_grid("on");
//plot(log10(f(2:n/RDOWN)),20*log10(abs(fft_out(2:n/RDOWN))),"red");
mtlb_grid("on");
//plot(f(1:n/RDOWN),abs(fft_out(1:n/RDOWN)),"red"); mtlb_grid("on");
xtitle( 'FFT Plot of Output Signal', ' Frequency (Hz) ', 'Gain (dB)') ;
endfunction
fft_plot();
Regards,
Sumit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20090915/94796937/attachment.htm>
More information about the users
mailing list