Comments (5)
$ echo ugly_test | gdl
% PREF_SET: Unknown preference: IDL_RBUF_SIZE
% PREF_SET: Unknown preference: IDL_MORE
% Procedure not found: UGLY_TEST
% Execution halted at: $MAIN$
$
so it's working.
from gdl.
(gdb) run < /etc/hostname
Starting program: /usr/bin/gdl < /etc/hostname
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe04dd700 (LWP 9651)]
[Thread 0x7fffe04dd700 (LWP 9651) exited]
% Procedure not found: EYRIE
% Execution halted at: $MAIN$
[New Thread 0x7fffe04dd700 (LWP 9652)]
[Thread 0x7fffe04dd700 (LWP 9652) exited]
terminate called without an active exception
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007fffef0c8e7b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007fffef0ca231 in __GI_abort () at abort.c:79
#2 0x00007fffef91e5a9 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007fffef9247fa in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007fffef924855 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff764478c in DInterpreter::NoReadline(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
at /usr/lib/x86_64-linux-gnu/libgnudatalanguage.so.0
#6 0x00007ffff7644953 in DInterpreter::GetLine[abi:cxx11]() () at /usr/lib/x86_64-linux-gnu/libgnudatalanguage.so.0
#7 0x00007ffff764898b in DInterpreter::ExecuteLine(std::istream*, unsigned long long) () at /usr/lib/x86_64-linux-gnu/libgnudatalanguage.so.0
#8 0x00007ffff764ba3a in DInterpreter::InterpreterLoop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
at /usr/lib/x86_64-linux-gnu/libgnudatalanguage.so.0
#9 0x000055555555bcb8 in main ()
:(
from gdl.
and with debug info:
(gdb) bt
#0 0x00007fffef0c8e7b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007fffef0ca231 in __GI_abort () at abort.c:79
#2 0x00007fffef91e5a9 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007fffef9247fa in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007fffef924855 in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff764478c in DInterpreter::NoReadline(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/c++/7/thread:135
#6 0x00007ffff764478c in DInterpreter::NoReadline(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=this@entry=0x7fffffffe060, prompt="GDL> ") at ./src/dinterpreter.cpp:1299
#7 0x00007ffff7644953 in DInterpreter::GetLine[abi:cxx11]() (this=this@entry=0x7fffffffe060) at ./src/dinterpreter.cpp:1365
#8 0x00007ffff764898b in DInterpreter::ExecuteLine(std::istream*, unsigned long long) (this=this@entry=0x7fffffffe060, in=in@entry=0x0, lineOffset=lineOffset@entry=0) at ./src/dinterpreter.cpp:967
#9 0x00007ffff764ba3a in DInterpreter::InterpreterLoop(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=0x7fffffffe060, startup="", batch_files=..., statement=...) at ./src/dinterpreter.cpp:1741
#10 0x000055555555bcb8 in main(int, char**) (argc=1, argv=0x7fffffffe388) at ./src/gdl.cpp:414
from gdl.
using Debian-packaged 0.9.8 on Debian
from gdl.
Indeed with current repo version it works!
$ echo ugly_test |./build/src/gdl
% PRINT: Variable is undefined: UGLY_TEST
% Execution halted at: $MAIN$
$
(0.9.8 on the same machine behaves as reported)
from gdl.
Related Issues (20)
- check READ/READF code for speed HOT 1
- check ProgNode::NumberForLoops() behaviour for each prognode type.
- OSX Apple M1 (at least) does operations on ASSOC variables slowly ON THE SECOND CALL
- DMG (Apple OSX) "installer" produced with each Release: Tag with OSX version HOT 1
- Regression: WIDGET_TABLE segfaults when no value set at instatiation and then setting value HOT 3
- detail(s) in the script "build_gdl.sh" HOT 4
- Problem with "/=" operator in 1-element arrays HOT 20
- strange error message for [X|Y|Z]TICK_GET when using Coyote library HOT 7
- patch a few discrepancies between GDL and IDL concerning basic operands subcases HOT 2
- GDL without Eigen3 is (again) no more compilable (on Debian 22.04) HOT 2
- Build failure with latest git snapshot HOT 2
- Format with $ doesn't work as intended and as it used to HOT 1
- box_cursor leaves ghost frames on screen HOT 13
- problem with gh vs git fetch within submodule whereami HOT 1
- Is there any way to have ELMHES/LA_ELMHES methods HOT 15
- SPEED problem with pointers to structure elements HOT 2
- Remove dangerous code in ANTLR gdlc.g HOT 1
- A detail in SIZE(/struct) for HASH() and LIST() HOT 3
- "create_struct" differs from IDL when the tag name is not a tag name ! HOT 1
- "wdelete" deletes window but does not "free the handle" when window was created with "/free" keyword HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdl.