bst terminal hangs on ubuntu 12.04
manitou
Posts: 29
i have been using bst on ubuntu 10.04 and 11.04 sucessfully.
On ubuntu 12.04 bst compiles and downloads just fine, but
when i connect to the terminal -- the program prints out a few
characters, and then the terminal/bst locks (turns gray) and I have
to kill bst to recover. If instead of using bst terminal I use
kermit or screen to talk to the program (on /dev/ttyUSB0), terminal
i/o works fine. I guess it may be something with the mono-C# tools,
things to try ??
(using a propeller quickstart board)
On ubuntu 12.04 bst compiles and downloads just fine, but
when i connect to the terminal -- the program prints out a few
characters, and then the terminal/bst locks (turns gray) and I have
to kill bst to recover. If instead of using bst terminal I use
kermit or screen to talk to the program (on /dev/ttyUSB0), terminal
i/o works fine. I guess it may be something with the mono-C# tools,
things to try ??
(using a propeller quickstart board)
Comments
I have noticed over the past couple of years that Ubuntu has a habit to make things not work.
Just to note that BST is not written in C# or use mono it is written in Pascal. Perhaps you are confusing it with the HomeSpun compiler.
You are correct, mono reference was confusion with Catalina (which works). For what it's worth, when bst.linux terminal hangs, strace shows
futex(0xa0d1c00, FUTEX_WAIT_PRIVATE, 2, NULL
All this points to new bugs in X Windows which may be due to being too ambitious about new video features.
futex(0x8df7c00, FUTEX_WAIT_PRIVATE, 2, NULL
This is happening when bst starts up. A small square window open in the middle of the screen. It is solid light gray and it hangs right there.
My add info is,
This is happening on the bst from bst-0.19.4-pre14.linux.zip. I got it from the snapshot directory.
The version from the latest directory, bst-0.19.3.linux.zip, does not have this issue. but there is a bug in the optimizing in this version.
This all worked on ubuntu 10.4 but when I upgraded to 12.4 it stopped working. I'm really confused. The ldd library list between 19.3 and 19.4 is the same.
I'll continue to investigate,
Has anyone found a solution or even the cause?
BST is a fine program and has worked well for a long time but it author has dropped off the map and I see no possibility of any fixes and updates coming. SimpleIDE has been working well for me on Debian.
A lot of code to squeeze into 32K:-)
BSTC of course supports all the flags and enhancements to Spin that BST does. Although I can't recall how easy it is to get SimpleIDE to use them. The open source Spin compiler does not have the enhancements yet. Not sure how it goes with the lib paths.
The behaviour is as follows:
Loads properly. And responds to a bst.ini file.
After opening an existing .spin file it hangs without further activity, or it works fine.
After trying to use Find in an existing open .spin file, it always hangs.
This isn't going away.....
Sadness...
Well you could just skip using the BST terminal and use Minicom as I do in conjunction with BST. I am using it on Linux Mint 14/15 and other than the automatic port disconnect feature of the BST terminal I don't have problem just typing ^A T to take minicom to a menu screen which disconnects the port so I can use BST to download. Afterwards I just hit escape and I'm connected back. Besides minicom is a full featured terminal anyway.
P.S. Try Linux Mint 15 instead with the Cinnamon desktop, really great combo and everything just works.
I already use and love to use Minicom.
Linux Mint might be a solution for most users... good stuff, but it has no Chinese for my 'other studies'.
At least you have offered hope that there is another Debian branched Linux out there that will let me use BST.
george@smokey:~$ ls
Animated Images Downloads minicom.log Public
bst.linux Firefox_wallpaper.png Music Templates
Desktop libpeerconnection.log Pictures Ubuntu One
Documents license.html Projects Videos
george@smokey:~$ bst.linux
bst.linux: command not found
george@smokey:~$ sudo bst.linux
[sudo] password for george:
sudo: bst.linux: command not found
george@smokey:~$ http://www.amazon.com/dp/B001R6A394
While it claims it is NOT found, you can see it listed.
And when I click the icon, it starts... it loads a .spin file, and then it locks up. Arrgh.........
IN the 'Waiting channel', it says "futex_wait_que_me". That seems a bit different. I'll poke around for some more info.
Try typing the dot-slash before it: ./bst
george@smokey:~$ ./bst.linux
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
And you can see the warnings. all two of them above.
Here is another Parallax thread..
http://forums.parallax.com/archive/index.php/t-142989.html
http://forums.parallax.com/archive/index.php/t-142989.html
george@smokey:~$ ./bst.linux
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
[CRITICAL] os_bar_hide: assertion `OS_IS_BAR (bar)' failed
(bst.linux:3685): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
[CRITICAL] os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed
[CRITICAL] os_bar_hide: assertion `OS_IS_BAR (bar)' failed
(bst.linux:3685): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed
[CRITICAL] os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
(bst.linux:3685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
george@smokey:~$
All gone..........................
Am i really to believe that I must change to another Linux Distrobution in order to have BST?
I gave up on Ubuntu when it not only came out with Unity and they made sure it wasn't easy to change whereas previously you could just choose the desktop you wanted. There are plenty of Ubuntu based distros out there with other desktops but Mint+Cinnamon is my favorite. At least try it to make sure it's not an evil plot against the Herzogs lineage
EDIT: Have you tried Deepin, it's a Chinese/English Ubuntu distro with the Gnome desktop.
Now Magneta is #2 and Ubuntu has fallen to third.
http://distrowatch.com/
I know this is not an evil plot, it is Linux.. not MS. But, as Richard M. Nixon once say, "Even the paranoid have real enemies."
I guess I am going to have to sort out what to do about Chinese in Linux. Windows wants you to spend big bucks to have a multiple language OS.
Magenta seems to have the Asian Language support.
I'm using Ubuntu Gnome 13.04.
Just going through the grief process, right? http://grief.com/the-five-stages-of-grief/
Denial has just been overcome and I think I am at least as far a bargaining.....
And of course, as Charlie Brown has always wisely said, "Good Grief!" Lots of grief processing in programming and hacking, right?
Pretty soon, I will be using something new and back into denial. ;-)
-Mike
Massimo
I certainly want to explore SimpleIDE as another alternative, and I am currently working through the Linux installation instructions.
I am also going to install an alternative Linux on a spare notebook. I'd rather have BST to fall back on, even if I have SimpleIDE and the Propeller Tool.... at least until I confirm that ALL the features that Brad provided are available elsewhere. The original Propeller Tool did not provide compiler listings... and that and other added features are what made BST the 'go to and use' preference it has become.
At this point, I am not very sure about changing the OS keyboard selection would work. I don't actually have a special keyboard on one of the two computers that BST fails with, the other has a notebook keyboard... but has been a generic keyboard selection in Linux installation.
It maybe something in the source code that has made a non-standard keyboard choice. Brad Campbell hasn't done any new work on BST since 2010, so I am thinking he feels SimpleIDE will take over where he left off.