Git Product home page Git Product logo

Comments (5)

GillesDuvert avatar GillesDuvert commented on May 23, 2024
$ 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.

slayoo avatar slayoo commented on May 23, 2024
(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.

slayoo avatar slayoo commented on May 23, 2024

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.

slayoo avatar slayoo commented on May 23, 2024

using Debian-packaged 0.9.8 on Debian

from gdl.

slayoo avatar slayoo commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.