4.4 repeated failures in CentOS 7

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

4.4 repeated failures in CentOS 7

CdeMills
Hello,

I have built two times octave 4.4 from checked out sources in CentOS7. The
resulting binary, in gui mode, usually quickly fails with signal 6 or 11.

Compilation options: ./configure --prefix=${HOME}/usr/local/OCTAVE/4.4.0
--with-qt=5 --disable-jit

execution: strace -f -o signal6 octave --gui 2>&1

One exemple of failure:
30139 <... write resumed> )             = 8
30131 <... write resumed> )             = 27
30139 futex(0x7fb3f80021bc, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
30131 write(2, "'\n", 2)                = 2
30131 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
30131 tgkill(30131, 30131, SIGABRT)     = 0
30131 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=30131,
si_uid=1261} ---
30131 futex(0x7fb426a42c40, FUTEX_WAKE_PRIVATE, 2147483647) = 0
30131 write(2, "fatal: caught signal ", 21) = 21
30131 write(2, "Abandon", 7 <unfinished ...>
[...]
30149 +++ killed by SIGABRT (core dumped) +++
30148 +++ killed by SIGABRT (core dumped) +++
30140 +++ killed by SIGABRT (core dumped) +++
30139 +++ killed by SIGABRT (core dumped) +++
30137 +++ killed by SIGABRT (core dumped) +++
30172 +++ killed by SIGABRT (core dumped) +++
30136 +++ killed by SIGABRT (core dumped) +++
30135 +++ killed by SIGABRT (core dumped) +++
30134 +++ killed by SIGABRT (core dumped) +++
30131 +++ killed by SIGABRT (core dumped) +++
30130 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT &&
WCOREDUMP(s)}], 0, NULL) = 30131
30130 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=30131,
si_uid=1261, si_status=SIGABRT, si_utime=168, si_stime=113} ---
30130 write(2, "octave exited with signal ", 26) = 26
30130 write(2, "6", 1)                  = 1
30130 write(2, "\n", 1)                 = 1
30130 exit_group(0)                     = ?
30130 +++ exited with 0 +++

Anybody got the same behavior ? The console mode does not exhibit all those
issues.

Regards

Pascal



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

Dmitri A. Sergatskov
On Mon, May 21, 2018 at 8:28 AM, CdeMills <[hidden email]> wrote:
Hello,

I have built two times octave 4.4 from checked out sources in CentOS7. The
resulting binary, in gui mode, usually quickly fails with signal 6 or 11.

Compilation options: ./configure --prefix=${HOME}/usr/local/OCTAVE/4.4.0
--with-qt=5 --disable-jit

​Please sent config.status and __octave_config_info_ output.
I have a recent stable snapshot compiled (and it runs fine) on RHEL7.4, but
I had to update quite a few packages even beyond what EPEL provides.
Even then I still do not have qt5 version of qscintilla and cannot build docs
due to old texinfo.

Dmitri.
--

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

CdeMills
Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

Dmitri A. Sergatskov


On Mon, May 21, 2018 at 3:35 PM, CdeMills <[hidden email]> wrote:
Hello,

here you are.

config_info.config_info
<http://octave.1599824.n4.nabble.com/file/t114237/config_info.config_info

config.status
<http://octave.1599824.n4.nabble.com/file/t114237/config.status

Regards

Pascal



​Thanks. i do not see anything unusual. What is Qt version?​

​Dmitri.
--

 
Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

CdeMills
Dmitri A. Sergatskov wrote
> On Mon, May 21, 2018 at 3:35 PM, CdeMills &lt;

> Pascal.Dupuis@

> &gt;
> wrote:
>
>> Hello,
>>
>> here you are.
>>
>> config_info.config_info
>> &lt;http://octave.1599824.n4.nabble.com/file/t114237/config_info.config_info&gt;
>>
>>
>> config.status
>> &lt;http://octave.1599824.n4.nabble.com/file/t114237/config.status&gt;
>>
>> Regards
>>
>> Pascal
>>
>>
>>
> ​Thanks. i do not see anything unusual. What is Qt version?​
>
> ​Dmitri.
> --
> ​

Five-dot-something, I'll have to check home. FYI, Octave 4.2.2 was compiled
within the same exact environment and was rock stable.

Regards

Pascal



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

CdeMills
In reply to this post by Dmitri A. Sergatskov
Dmitri A. Sergatskov wrote
>>
> ​Thanks. i do not see anything unusual. What is Qt version?​
>
> ​Dmitri.
> --
> ​

Qt is 5.9.2. Octave-4.2.2 is working perfectly fine with it; 4.40 give lots
of troubles.

Regards

Pascal



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

Dmitri A. Sergatskov
On Tue, May 22, 2018 at 3:15 PM, CdeMills <[hidden email]> wrote:
Dmitri A. Sergatskov wrote
>>
> ​Thanks. i do not see anything unusual. What is Qt version?​
>
> ​Dmitri.
> --
> ​

Qt is 5.9.2. Octave-4.2.2 is working perfectly fine with it; 4.40 give lots
of troubles.

Regards

Pascal


​I cannot reproduce the problem with Qt5.6.2 (the one that comes with rhel 7.4).

Dmitri.
--

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

CdeMills
Dmitri A. Sergatskov wrote
>>
>>
> ​I cannot reproduce the problem with Qt5.6.2 (the one that comes with rhel
> 7.4).
>
> Dmitri.
> --
> ​

Thank you Dmitri. I found the issue, and part of another problem. I
installed Qt-5.9.2 using Linux from Scratch method, as well as QScintilla2.
But I installed them as replacement to the official package. A few days ago
came a big upgrade; the whole QT5 tools were updated except QScintilla.

I sorted this out by removing the unofficial QScintilla.

But ... qqscintilla-2.8-1.el7.x86_64 and scintilla-devel-2.8-1.el7.x86_64
being installed. I tried the configure script with arguments --with-qt=4 or
--with-qt=5. In both case QScintilla was not detected:

configure: WARNING: QScintilla library not found; disabling built-in Qt GUI
editor

Is QScintilla found on your system ?

Regards

Pascal



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

Doug Stewart-4


On Tue, May 22, 2018 at 6:09 PM, CdeMills <[hidden email]> wrote:
Dmitri A. Sergatskov wrote
>>
>>
> ​I cannot reproduce the problem with Qt5.6.2 (the one that comes with rhel
> 7.4).
>
> Dmitri.
> --
> ​

Thank you Dmitri. I found the issue, and part of another problem. I
installed Qt-5.9.2 using Linux from Scratch method, as well as QScintilla2.
But I installed them as replacement to the official package. A few days ago
came a big upgrade; the whole QT5 tools were updated except QScintilla.

I sorted this out by removing the unofficial QScintilla.

But ... qqscintilla-2.8-1.el7.x86_64 and scintilla-devel-2.8-1.el7.x86_64
being installed. I tried the configure script with arguments --with-qt=4 or
--with-qt=5. In both case QScintilla was not detected:

configure: WARNING: QScintilla library not found; disabling built-in Qt GUI
editor

Is QScintilla found on your system ?

on ubuntu I had to install    libqt5scintilla2-dev 
to get the editor to work

--
DASCertificate for 206392

Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

Dmitri A. Sergatskov


On Tue, May 22, 2018 at 5:53 PM, Doug Stewart <[hidden email]> wrote:

Is QScintilla found on your system ?

on ubuntu I had to install    libqt5scintilla2-dev 
to get the editor to work



​There is no qt5 qscintilla for rhel7 and its derivatives. I was able to compile octave with qt4 and qscintilla
last time I tried it.

​Dmitri.
--


Reply | Threaded
Open this post in threaded view
|

Re: 4.4 repeated failures in CentOS 7

CdeMills
Thank you all who responded.

To close the discussion: if compiling Octave-4.4 on Centos and wishing to
use qt5:
1) install QT5 and QScintilla following the 'Linux From Scratch' approach,
including putting the files out of the path managed by yum
2) during the configure stage, ensure the newly installed QT5 and Qscintilla
are found

That's all. This also mean a octave-4.4 with full GUI support can not be
distributed as some dependance are not available from standard repositories.

Regards

Pascal



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html