octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57182] [octave forge] (signal) decimate cause


From: Chris Gorman
Subject: [Octave-bug-tracker] [bug #57182] [octave forge] (signal) decimate causes octave to be killed
Date: Wed, 6 Nov 2019 19:01:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/77.0.3865.90 Chrome/77.0.3865.90 Safari/537.36

Follow-up Comment #2, bug #57182 (project octave):

Hi Mike,

The exact problem is that octave exits after running the commands.

pkg load signal
y = rand (1, 1e8);
d = decimate (y, 8, 'fir');

I have not been able to reproduce this error on another machine, I only have
one other one and it works properly on it.

The following is a strace output.  

octave:1> pkg load signal
octave:2> y = rand (1, 1e8);
octave:3> d = decimate (y, 8, 'fir');
) = 0 (Timeout)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
recvmsg(6, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN},
{fd=12, events=POLLIN}], 4, -1 <unfinished ...>) = ?
+++ killed by SIGKILL +++
Killed

Under gdb I get the following.

chris@lie:~$ gdb octave
GNU gdb (Ubuntu 8.1-0ubuntu3.1) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from octave...done.
(gdb) run
Starting program: /usr/local/bin/octave 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 17466 is executing new program:
/usr/local/libexec/octave/5.1.0/exec/x86_64-pc-linux-gnu/octave-gui

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffde861700 (LWP 17477)]
[New Thread 0x7fffd6fb8700 (LWP 17478)]
[New Thread 0x7fffccc76700 (LWP 17479)]
[New Thread 0x7fffc7fff700 (LWP 17480)]
[New Thread 0x7fffc77fe700 (LWP 17481)]
[New Thread 0x7fffc6ffd700 (LWP 17482)]
[New Thread 0x7fffc67fc700 (LWP 17483)]
GNU Octave, version 5.1.0
Copyright (C) 2019 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

graphics_toolkit = qt
octave:1> 
octave:1> y = rand (1, 1e8);
octave:2> pkg load signal
octave:3> d = decimate (y, 8, 'fir');
[New Thread 0x7fffc5ffb700 (LWP 17486)]
[Thread 0x7fffc5ffb700 (LWP 17486) exited]
[Thread 0x7fffc67fc700 (LWP 17483) exited]
[Thread 0x7fffc6ffd700 (LWP 17482) exited]
[Thread 0x7fffc7fff700 (LWP 17480) exited]
[Thread 0x7fffccc76700 (LWP 17479) exited]
[Thread 0x7fffd6fb8700 (LWP 17478) exited]
[Thread 0x7fffde861700 (LWP 17477) exited]
[Thread 0x7ffff7f8e900 (LWP 17466) exited]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) 

I have not sent a sigkill signal to the program myself.  This is being done by
the os or octave itself.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57182>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]