Reg :: Crash of Scilab

classic Classic list List threaded Threaded
7 messages Options
Sumit Adhikari Sumit Adhikari
Reply | Threaded
Open this post in threaded view
|

Reg :: Crash of Scilab

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

Collette yann-2 Collette yann-2
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

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


Sumit Adhikari Sumit Adhikari
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

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 <[hidden email]> 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



data.dat.gz (2M) Download Attachment
Collette yann-2 Collette yann-2
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

Bad news: it works fine for me on the scilab-master + scilab-5.1-branch.
It seems that your code is hanging when plotting the data.
Have you tried to upgrade your video driver ?

YC

Sumit Adhikari a écrit :

> 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
> <[hidden email] <mailto:[hidden email]>> 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
>
>


--
-----------------------------
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


Sumit Adhikari Sumit Adhikari
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

Run the same code for around 10-15 times in the same xterm. I think you
will also get crash.

--------------------------------------------
Sumit Adhikari
System Design Engineer
austriamicrosystems AG
Business Unit : Automotive
Mob : 00-91-9885271710/00-91-9000161710



On 9/15/2009 6:03 PM, Yann Collette wrote:

> Bad news: it works fine for me on the scilab-master + scilab-5.1-branch.
> It seems that your code is hanging when plotting the data.
> Have you tried to upgrade your video driver ?
>
> YC
>
> Sumit Adhikari a écrit :
>> 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
>> <[hidden email] <mailto:[hidden email]>> 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
>>
>>
>
>

sylvestre sylvestre
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

Le mardi 15 septembre 2009 à 21:19 +0530, Sumit Adhikari a écrit :
> Run the same code for around 10-15 times in the same xterm. I think you
> will also get crash.
I agree with Yann's analyze (driver issue)
Just run your script 30 times without a single problem.

Sylvestre



Sumit Adhikari Sumit Adhikari
Reply | Threaded
Open this post in threaded view
|

Re: Reg :: Crash of Scilab

Thanks. I will have to inform my system administrator about my
requirement. Thanks for helping me to bog down the problem.
Regards,

--------------------------------------------
Sumit Adhikari
System Design Engineer
austriamicrosystems AG
Business Unit : Automotive
Mob : 00-91-9885271710/00-91-9000161710



On 9/15/2009 9:26 PM, Sylvestre Ledru wrote:

> Le mardi 15 septembre 2009 à 21:19 +0530, Sumit Adhikari a écrit :
>    
>> Run the same code for around 10-15 times in the same xterm. I think you
>> will also get crash.
>>      
> I agree with Yann's analyze (driver issue)
> Just run your script 30 times without a single problem.
>
> Sylvestre
>
>
>
>