Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Serge Steer

Hello,
I just tried  under Suse 13.2 and it seems to work as expected.

Serge


Le 28/04/2016 10:59, antoine.monmayr...@laas.fr a écrit :

Hi everyone,

I think I found a bug (regression) in the current beta and I wonder 
whether it is related to my own setup (os, config, ...) or whether 
it's more general.
Is anyone here routinely using the current beta in command line mode 
(ie "scilab -nw" or "scilab-cli") ?
If yes, did you observe anything weird when navigating the command 
history using the up and down arrows?
For me, it freezes scilab for several minutes and does not echo the 
previous commands properly (observed on several linux 64bits 
computers), see http://bugzilla.scilab.org/show_bug.cgi?id=14535 .


Is anyone experiencing the same issue?
As anyone any clue on how to avoid it for the time being (apart from 
ripping off the up/dow arrows from my keyboard)?


Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Pierre-Aimé Agnel

Hi everyone,

This might be a problem with the libncurses that are packaged (that 
handles terminal display). There is a workaround for fixing it, you can 
force scilab to use your system libs with (for example)


LD_PRELOAD="/lib/x86_64-linux-gnu/libncurses.so.5" bin/scilab -nw

See if this workaround solves that problem:
=> if it solves it, I'll mark it as a duplicate of bug 14404 

=> if not you may update the bug with the result of [the following might 
be interesting if you have a scilab stuck for linux users and bug reporting]

|
gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the back 
trace and we can analyze where the problem is.


Thank you for reporting, hope this helps,

Pierre-Aimé

Le 28/04/2016 10:59, antoine.monmayr...@laas.fr a écrit :

Hi everyone,

I think I found a bug (regression) in the current beta and I wonder 
whether it is related to my own setup (os, config, ...) or whether 
it's more general.
Is anyone here routinely using the current beta in command line mode 
(ie "scilab -nw" or "scilab-cli") ?
If yes, did you observe anything weird when navigating the command 
history using the up and down arrows?
For me, it freezes scilab for several minutes and does not echo the 
previous commands properly (observed on several linux 64bits 
computers), see http://bugzilla.scilab.org/show_bug.cgi?id=14535 .


Is anyone experiencing the same issue?
As anyone any clue on how to avoid it for the time being (apart from 
ripping off the up/dow arrows from my keyboard)?


Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Antoine Monmayrant

Le 04/28/2016 06:47 PM, Pierre-Aimé Agnel a écrit :

LD_PRELOAD="/lib/x86_64-linux-gnu/libncurses.so.5" bin/scilab -nw


That solved the problem!
Thanks a lot.
I'll update the bug report.

Cheers,

Antoine

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-28 Thread Antoine Monmayrant

The command below requires a sudo on my system:
|sudo gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the back 
trace and we can analyze where the problem is.


Er, OK, but what are you talking about?

gdb --please-be-nice-give-me-something-called-a-backtrace?

Antoine
(never used gdb)
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-04-29 Thread Pierre-Aimé Agnel

Hi,

Basically, Yes :)
The problem with such bug is that it is quite difficult to analyze 
properly without a backtrace, and it didn't happen with most system 
configurations (besides it "froze" scilab leaving you no choice but to 
kill it without having the material to report)


Thanks a bunch for the update.

Le 29/04/2016 08:43, Antoine Monmayrant a écrit :

The command below requires a sudo on my system:
|sudo gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the back 
trace and we can analyze where the problem is.


Er, OK, but what are you talking about?

gdb --please-be-nice-give-me-something-called-a-backtrace?

Antoine
(never used gdb)


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Pierre-Aimé Agnel
R&D Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-05-02 Thread Antoine Monmayrant

Le 04/29/2016 02:13 PM, Pierre-Aimé Agnel a écrit :

Hi,

Basically, Yes :)
OK, could you thus tell me what I am supposed to type to get you the 
backtrace?

I'll update the bug report with it.

Cheers,

Antoine
The problem with such bug is that it is quite difficult to analyze 
properly without a backtrace, and it didn't happen with most system 
configurations (besides it "froze" scilab leaving you no choice but to 
kill it without having the material to report)


Thanks a bunch for the update.

Le 29/04/2016 08:43, Antoine Monmayrant a écrit :

The command below requires a sudo on my system:
|sudo gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the 
back trace and we can analyze where the problem is.


Er, OK, but what are you talking about?

gdb --please-be-nice-give-me-something-called-a-backtrace?

Antoine
(never used gdb)


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Pierre-Aimé Agnel
R&D Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com  



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] scilab 6.0 beta, command line history and freezes

2016-05-03 Thread Pierre-Aimé Agnel

Hi,


Le 02/05/2016 à 09:11, Antoine Monmayrant a écrit :

Le 04/29/2016 02:13 PM, Pierre-Aimé Agnel a écrit :

Hi,

Basically, Yes :)
OK, could you thus tell me what I am supposed to type to get you the 
backtrace?

I'll update the bug report with it.


The command is: bt


Cheers,

Antoine
The problem with such bug is that it is quite difficult to analyze 
properly without a backtrace, and it didn't happen with most system 
configurations (besides it "froze" scilab leaving you no choice but 
to kill it without having the material to report)


Thanks a bunch for the update.

Le 29/04/2016 08:43, Antoine Monmayrant a écrit :

The command below requires a sudo on my system:
|sudo gdb --pid=$(pidof scilab-bin scilab-cli-bin lt-scilab-bin 
lt-scilab-cli-bin) --eval-command='thread apply all bt'|


This will attach gdb to your stuck scilab, you can then post the 
back trace and we can analyze where the problem is.


Er, OK, but what are you talking about?

gdb --please-be-nice-give-me-something-called-a-backtrace?

Antoine
(never used gdb)


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Pierre-Aimé Agnel
R&D Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com  



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users





___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


--
Pierre-Aimé Agnel
R&D Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users