[scilab-Users] Reg :: Crash of Scilab

Sumit Adhikari sumit.adhikari at gmail.com
Tue Sep 15 13:59:10 CEST 2009


My Pleasure. See attachment. I think you need the full datafile as I have
done windowing before saving it.
Regards,
Sumit


On Tue, Sep 15, 2009 at 5:10 PM, Yann Collette <yann.collette at scilab.org>wrote:

> Can you send a small data set stored in the data.dat file ?
>
> YC
>
> Sumit Adhikari a écrit :
>
>  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
>>
>>
>>
>
> --
> -----------------------------
> Yann COLLETTE
> Software Development Engineer
> -----------------------------
> The Scilab Consortium
> Digiteo Foundation
> Domaine de Voluceau
> Rocquencourt - B.P. 105
> 78153 Le Chesnay France
> Phone: +33.1.39.63.57.82
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20090915/c7e57fb2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data.dat.gz
Type: application/x-gzip
Size: 2176105 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20090915/c7e57fb2/attachment.bin>


More information about the users mailing list