Quantcast

Scilab does not start properly after make install on Ubuntu 16.10

classic Classic list List threaded Threaded
10 messages Options
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Scilab does not start properly after make install on Ubuntu 16.10

I'm rather a newbie to Linux and to building Scilab, so I have the feeling that my issue might be trivial. However, I couldn't find a solution after several hours searching the web and this email list archive.

I successfully built scilab from sources using the master branch as of 2017/02/10. I can start scilab from the scilab/bin subfolder of the folder where I have built scilab using ./configure and make, which finished without errors. Now, I want to install it to the Ubuntu 16.10 tree using sudo make install, which finishes without errors (without sudo, I get access errors).
When I now start scilab by typing "scilab &" in a terminal, there are no error messages, but the scilab gui doesn't appear. By typing "ps -A | grep sci", I see two running processes, named "scilab" and "scilab-bin", which I have to kill manually.

Why is the scilab window not shown, as it is the case when executed from the build folder? During build, I only added --without-modelica option to ./configure
Do I have to add further options to ./configure? Do I have to modify some access rights? Are libraries missing? However, in the last two cases, I thought that configure, make and make install should manage that. So it is related to Ubuntu 16.10 or am I just blind and stupid?

Thanks for your help,
Erik
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Hi Erik,

In the recent past, I had similar issues with TCL mismatch between my system version and the
thirdparty ones. Could you try attaching gdb to the scilab process and printing a backtrace ?

$ gdb -ex 'thread apply all bt' --pid=$(pidof lt-scilab-bin)

PS: removing SCIHOME (eg. '~/.Scilab') might help

Thanks,

--
Clément

Le dimanche 12 février 2017 à 05:40 -0700, E_Ben a écrit :

> I'm rather a newbie to Linux and to building Scilab, so I have the feeling
> that my issue might be trivial. However, I couldn't find a solution after
> several hours searching the web and this email list archive.
>
> I successfully built scilab from sources using the master branch as of
> 2017/02/10. I can start scilab from the scilab/bin subfolder of the folder
> where I have built scilab using ./configure and make, which finished without
> errors. Now, I want to install it to the Ubuntu 16.10 tree using sudo make
> install, which finishes without errors (without sudo, I get access errors). 
> When I now start scilab by typing "scilab &" in a terminal, there are no
> error messages, but the scilab gui doesn't appear. By typing "ps -A | grep
> sci", I see two running processes, named "scilab" and "scilab-bin", which I
> have to kill manually.
>
> Why is the scilab window not shown, as it is the case when executed from the
> build folder? During build, I only added --without-modelica option to
> ./configure
> Do I have to add further options to ./configure? Do I have to modify some
> access rights? Are libraries missing? However, in the last two cases, I
> thought that configure, make and make install should manage that. So it is
> related to Ubuntu 16.10 or am I just blind and stupid?
>
> Thanks for your help,
> Erik
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-
> make-install-on-Ubuntu-16-10-tp4035469.html
> Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Dear Clement,

thanks for your quick answer. I tried your suggestion. Removing SCIHOME does not help. When trying to attach gdb to the scilab process as normal user, I received an error mentioning I should try as root, so I did as root. The output of the terminal is below. I have no idea what it means, but maybe you or someone else does.

<username>@<hostname>:~$ scilab &
[1] 3657
<username>@<hostname>:~$ ps -A|grep sci
 3657 pts/8    00:00:00 scilab
 3688 pts/8    00:00:00 scilab-bin
<username>@<hostname>:~$ sudo gdb -ex 'thread apply all bt' --pid=3657
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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".
Attaching to process 3657
Reading symbols from /bin/dash...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done.
done.
0x00007f05e599f57a in wait4 () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden.

Thread 1 (process 3657):
#0  0x00007f05e599f57a in wait4 () at ../sysdeps/unix/syscall-template.S:84
#1  0x000055c3ebdd0db2 in ?? ()
#2  0x000055c3ebdd0b12 in ?? ()
#3  0x000055c3ebdcc571 in ?? ()
#4  0x000055c3ebdcbbb5 in ?? ()
#5  0x000055c3ebdcbbf1 in ?? ()
---Type <return> to continue, or q <return> to quit---
#6  0x000055c3ebdcbc52 in ?? ()
#7  0x000055c3ebdcbc52 in ?? ()
#8  0x000055c3ebdd636c in ?? ()
#9  0x000055c3ebdcc6c6 in ?? ()
#10 0x000055c3ebdcbbb5 in ?? ()
#11 0x000055c3ebdc3244 in ?? ()
#12 0x000055c3ebdcbc52 in ?? ()
#13 0x000055c3ebdd71c4 in ?? ()
#14 0x000055c3ebdcba31 in ?? ()
#15 0x00007f05e58f4830 in __libc_start_main (main=0x55c3ebdcb960, argc=2,
    argv=0x7ffcef505d48, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7ffcef505d38)
    at ../csu/libc-start.c:291
#16 0x000055c3ebdd5b59 in ?? ()
(gdb)

Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10


> <username>@<hostname>:~$ ps -A|grep sci
>  3657 pts/8    00:00:00 scilab
>  3688 pts/8    00:00:00 scilab-bin
> <username>@<hostname>:~$ sudo gdb -ex 'thread apply all bt' --pid=3657

héhé you picked the wrong one :) ; scilab is just a wrapper script used to detect options, set SCI
and launch the scilab-bin (or lt-scilab-bin) binary. To get a backtrace you should attach to the
binary.
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Hi Clement,

oh, sorry. Here is the output for scilab-bin:

<username>@<hostname>:~$ scilab &
[1] 24758
<username>@<hostname>:~$ ps -A|grep sci
24758 pts/8    00:00:00 scilab
24789 pts/8    00:00:00 scilab-bin
<username>@<hostname>:~$ sudo gdb -ex 'thread apply all bt' --pid=24789
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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".
Attaching to process 24789
Reading symbols from /usr/local/bin/scilab-bin...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscilab-cli.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciconsole.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscijvm.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscicommons.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscilab.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscigui.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscirenderer.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphics.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphic_export.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciaction_binding.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphic_objects.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciscinotes.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciui_data.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscihistory_browser.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscitypes-java.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscipreferences.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciexternal_objects_java.so.6...done.
Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libverify.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscihelptools.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscitclsci.so.6...done.
Reading symbols from /usr/lib/libtk8.5.so...done.
Reading symbols from /usr/lib/libtcl8.5.so...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.23.so...done.
done.
Reading symbols from /usr/local/lib/scilab/libscifunctions.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscicall_scilab.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscilocalization.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscispecial_functions.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscicompletion.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscihistory_manager.so.6...done.
Reading symbols from /usr/lib/libpcreposix.so.0...done.
Reading symbols from /usr/lib/libpcre.so.1...done.
Reading symbols from /usr/local/lib/scilab/libscihdf5.so.6...done.
Reading symbols from /usr/lib/libhdf5.so.7...done.
Reading symbols from /usr/lib/libhdf5_hl.so.7...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libfftw3.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscistatistics.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciast.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscifunctions_manager.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscixml.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciexternal_objects.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscislint.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscicoverage.so.6...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscigui-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphics-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphic_export-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciconsole-minimal.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciaction_binding-disable.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscijvm-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscixcos-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscigraphic_objects-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciscinotes-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libsciui_data-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscihistory_browser-disable.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscicommons-disable.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/scilab/libscipreferences-cli.so.6...done.
Reading symbols from /usr/local/lib/scilab/libscitclsci-disable.so.6...done.
Reading symbols from /usr/lib/liblapack.so.3...done.
Reading symbols from /usr/lib/libblas.so.3...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libgfortran.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libquadmath.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug/.build-id/4d/7f52f335dc9665c2dcf308ce6514a6ae86dede.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libncurses.so.5...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done.
done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done.
done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libicuuc.so.55...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.30...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libhogweed.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libnettle.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libgmp.so.10...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.23.so...done.
done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libicudata.so.55...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.23.so...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.23.so...done.
done.
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Datei oder Verzeichnis nicht gefunden.

Thread 1 (Thread 0x7f8ea5c45740 (LWP 24789)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ea5438e55 in __Wait (signalName=<optimized out>,
    lockName=<optimized out>) at src/cpp/Thread_Wrapper.cpp:116
#2  0x00007f8ea16ee9bf in OpenTCLsci () at src/c/InitTclTk.c:254
---Type <return> to continue, or q <return> to quit---
#3  0x00007f8ea16eeafd in InitializeTclTk () at src/c/InitializeTclTk.c:25
#4  0x00007f8ea5240cd0 in StartScilabEngine (_pSEI=_pSEI@entry=0x1b75970)
    at src/cpp/InitScilab.cpp:259
#5  0x000000000040199a in main (argc=1, argv=0x7ffdbf961978)
    at modules/startup/src/cpp/scilab.cpp:446
(gdb)
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Ok this is the exact same problem as we had in our test machinery and some of the developer machines
(with tcl8.5 vs tcl8.6 on the system). You should update the git repo, ensure
"SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty, `./configure && make -j4`.

--
Clément

Le lundi 13 février 2017 à 09:20 -0700, E_Ben a écrit :

> Hi Clement, 
>
> oh, sorry. Here is the output for scilab-bin:
>
> <username>@<hostname>:~$ scilab &
> [1] 24758
> <username>@<hostname>:~$ ps -A|grep sci
> 24758 pts/8    00:00:00 scilab
> 24789 pts/8    00:00:00 scilab-bin
> <username>@<hostname>:~$ sudo gdb -ex 'thread apply all bt' --pid=24789
> GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
> Copyright (C) 2016 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".
> Attaching to process 24789
> Reading symbols from /usr/local/bin/scilab-bin...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no
> debugging symbols found)...done.
> Reading symbols from /usr/local/lib/scilab/libscilab-cli.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libsciconsole.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscijvm.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscicommons.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscilab.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/local/lib/scilab/libscigui.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscirenderer.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscigraphics.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscigraphic_export.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libsciaction_binding.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscigraphic_objects.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libsciscinotes.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libsciui_data.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscihistory_browser.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscitypes-java.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscipreferences.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciexternal_objects_java.so.6...done.
> Reading symbols from
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so...(no debugging
> symbols found)...done.
> Reading symbols from
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libverify.so...(no debugging
> symbols found)...done.
> Reading symbols from
> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so...(no
> debugging symbols found)...done.
> Reading symbols from /usr/local/lib/scilab/libscihelptools.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscitclsci.so.6...done.
> Reading symbols from /usr/lib/libtk8.5.so...done.
> Reading symbols from /usr/lib/libtcl8.5.so...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl.so.4...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols
> found)...done.
> Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols
> found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.23.so...done.
> done.
> Reading symbols from /usr/local/lib/scilab/libscifunctions.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscicall_scilab.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscilocalization.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscispecial_functions.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscicompletion.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscihistory_manager.so.6...done.
> Reading symbols from /usr/lib/libpcreposix.so.0...done.
> Reading symbols from /usr/lib/libpcre.so.1...done.
> Reading symbols from /usr/local/lib/scilab/libscihdf5.so.6...done.
> Reading symbols from /usr/lib/libhdf5.so.7...done.
> Reading symbols from /usr/lib/libhdf5_hl.so.7...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libfftw3.so.3...(no debugging
> symbols found)...done.
> Reading symbols from /usr/local/lib/scilab/libscistatistics.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libsciast.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscifunctions_manager.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscixml.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciexternal_objects.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscislint.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscicoverage.so.6...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols
> found)...done.
> Reading symbols from /usr/local/lib/scilab/libscigui-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscigraphics-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscigraphic_export-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciconsole-minimal.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciaction_binding-disable.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/local/lib/scilab/libscijvm-disable.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscixcos-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscigraphic_objects-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciscinotes-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libsciui_data-disable.so.6...done.
> Reading symbols from
> /usr/local/lib/scilab/libscihistory_browser-disable.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscicommons-disable.so.6...(no
> debugging symbols found)...done.
> Reading symbols from
> /usr/local/lib/scilab/libscipreferences-cli.so.6...done.
> Reading symbols from /usr/local/lib/scilab/libscitclsci-disable.so.6...done.
> Reading symbols from /usr/lib/liblapack.so.3...done.
> Reading symbols from /usr/lib/libblas.so.3...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libgfortran.so.3...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libquadmath.so.0...(no
> debugging symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols
> from
> /usr/lib/debug/.build-id/4d/7f52f335dc9665c2dcf308ce6514a6ae86dede.debug...done.
> done.
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libncurses.so.5...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done.
> done.
> Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done.
> done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.1...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libicuuc.so.55...(no
> debugging symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.30...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libhogweed.so.4...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libnettle.so.6...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libgmp.so.10...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no
> debugging symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no
> debugging symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols
> from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.23.so...done.
> done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libicudata.so.55...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging
> symbols found)...done.
> Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no
> debugging symbols found)...done.
> Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols
> from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading
> symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols
> from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols
> from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.23.so...done.
> done.
> Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading
> symbols from
> /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.23.so...done.
> done.
> pthread_cond_wait@@GLIBC_2.3.2 ()
>     at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
> 185 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Datei oder
> Verzeichnis nicht gefunden.
>
> Thread 1 (Thread 0x7f8ea5c45740 (LWP 24789)):
> #0  pthread_cond_wait@@GLIBC_2.3.2 ()
>     at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
> #1  0x00007f8ea5438e55 in __Wait (signalName=<optimized out>, 
>     lockName=<optimized out>) at src/cpp/Thread_Wrapper.cpp:116
> #2  0x00007f8ea16ee9bf in OpenTCLsci () at src/c/InitTclTk.c:254
> ---Type <return> to continue, or q <return> to quit---
> #3  0x00007f8ea16eeafd in InitializeTclTk () at src/c/InitializeTclTk.c:25
> #4  0x00007f8ea5240cd0 in StartScilabEngine (_pSEI=_pSEI@entry=0x1b75970)
>     at src/cpp/InitScilab.cpp:259
> #5  0x000000000040199a in main (argc=1, argv=0x7ffdbf961978)
>     at modules/startup/src/cpp/scilab.cpp:446
> (gdb) 
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-
> make-install-on-Ubuntu-16-10-tp4035469p4035480.html
> Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Dear Clement,

- You should update the git repo => I update the repo using "git pull", it says it's already up to date.
- ensure "SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty => How do I do that? The output of ls command in folder SCI/modules/tclsci/tcl/tcl8.5 is:
auto.tcl   history.tcl  msgs         parray.tcl    tclIndex
clock.tcl  http1.0      opt0.4       safe.tcl      tm.tcl
encoding   init.tcl     package.tcl  tclAppInit.c  word.tcl
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Hi Erik,

If you have the modules/tclsci/tcl/tcl8.5 directory is provided by the prerequirements, it is not
part of our source code. Could you try a clean build ?

--
Clément

Le lundi 13 février 2017 à 15:52 -0700, E_Ben a écrit :

> Dear Clement,
>
> - You should update the git repo => I update the repo using "git pull", it
> says it's already up to date.
> - ensure "SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty => How do
> I do that? The output of ls command in folder SCI/modules/tclsci/tcl/tcl8.5
> is:
> auto.tcl   history.tcl  msgs         parray.tcl    tclIndex
> clock.tcl  http1.0      opt0.4       safe.tcl      tm.tcl
> encoding   init.tcl     package.tcl  tclAppInit.c  word.tcl
>
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-
> make-install-on-Ubuntu-16-10-tp4035469p4035483.html
> Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> dev mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Hi Clement,
since I still cannot resolve the problem, I try to be as precise as possible in my decription of what I did:

1) As you recommended, I did a clean build of scilab again (although I had actually done that already before). Here is what I did in a terminal, starting in a new, empty folder ~/scilab_build:

git clone -b master --depth=1 git://git.scilab.org/scilab.git ~/scilab_build/scilab_master
svn --force checkout --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux_x64/ ~/scilab_build/scilab_master/scilab
cd ~/scilab_build/scilab_master/scilab
./configure --without-modelica
make

2) I think the building process itself is not the problem, because I can successfully start the scilab gui from the build folder by typing "scilab" in the folder ~/scilab_build/scilab_master/scilab/bin/    -> scilab starts as expected in gui mode. There are two processes running: scilab and lt-scilab-bin
The folders BWidget, tcl8, tcl8.5 and tk8.5 are present in ~/scilab_build/scilab_master/scilab/modules/tclsci/tcl/

3) However, when I install scilab in the Ubuntu tree by typing

sudo make install

and run scilab from anywhere in the tree, and as any user, by simply typing "scilab" on the prompt, it starts the two processes scilab and scilab-bin (without lt-), but no gui opens. The backtrace is the same that I posted already in this thread.
The folders BWidget, tcl8, tcl8.5 and tk8.5 are missing in /usr/local/share/scilab/modules/tclsci/tcl/
which is probably part of the problem. Hence, I copied the 4 folders there and set permissions to 644 as done by make install with the other files, but that also didn't help. It seems that make install does not copy all required files to the proper places? Because in the build path (~/scilab_build/scilab_master/scilab), all required files seem to be present, because it works when started from there.
Clément David-2 Clément David-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scilab does not start properly after make install on Ubuntu 16.10

Hi Erik,

> 3) However, when I install scilab in the Ubuntu tree by typing
>
> sudo make install
>
> and run scilab from anywhere in the tree, and as any user, by simply typing
> "scilab" on the prompt, it starts the two processes scilab and scilab-bin
> (without lt-), but no gui opens. The backtrace is the same that I posted
> already in this thread. 
> The folders BWidget, tcl8, tcl8.5 and tk8.5 are missing in
> /usr/local/share/scilab/modules/tclsci/tcl/
> which is probably part of the problem. Hence, I copied the 4 folders there
> and set permissions to 644 as done by make install with the other files, but
> that also didn't help. It seems that make install does not copy all required
> files to the proper places? Because in the build path
> (~/scilab_build/scilab_master/scilab), all required files seem to be
> present, because it works when started from there.

Nice catch, this is probably the issue. In the current binary version, we copy the prerequirements
after the make install. You have to do so on any local install.

I never use a local install build to check but prefer to use a locally packaged version without
Scilab prerequirements but packaged dependencies instead OR a local build (in the git directory)
with Scilab prerequirements.

IMHO we can add special prerequirement copies on `make install` to ease developer life and simplify
local install. Could you open a bug on it please ?

Thanks for the information,

--
Clément
_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Loading...