Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no work "Instrucción ilegal" #40

Open
Quilex opened this issue Mar 22, 2024 · 1 comment
Open

no work "Instrucción ilegal" #40

Quilex opened this issue Mar 22, 2024 · 1 comment

Comments

@Quilex
Copy link

Quilex commented Mar 22, 2024

Hi, sorry for my bad English.
I had g13 running for a long time, but I upgraded to Debian Trixie and I can't get it to work.

I download, compile and get these warnings, although it generates the file.

g13.cc: In member function 'int G13::G13_Manager::run()':
g13.cc:791:1: warning: control reaches end of non-void function [-Wreturn-type].
791 | }

In file included from g13.h:5,
from g13_keys.cc:4:
'helper.hpp: In instantiation of 'STREAM_T& Helper::operator<<(STREAM_T&, const _map_keys_out<MAP_T>&) [with STREAM_T = boost::log::v2_mt_posix::basic_record_ostream; MAP_T = std::map<std::__cxx11::basic_string, int>]':
g13_keys.cc:211:2: required from here.
helper.hpp:181:1: warning: no return statement in function returning non-void [-Wreturn-type]
181 | };


When I try to run it with ./g13d I get the following error.

./g13d
[2024-03-22 02:36:43.265857] [0x00007ff7a4668240] [info] set log level to info
[2024-03-22 02:36:43.266118] [0x00007ff7a4668240] [info] Known keys on G13:
Instrucción ilegal

Thank you.

@lindem
Copy link

lindem commented Apr 20, 2024

I also tried this, but the project seems unmaintained (apologies if it is not). I also got the message mentioned by @Quilex above.

I debugged this in gdb, and the debug session output is below, in case anybody still reads this and can do anything with it:

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[2024-04-20 16:01:06.919955] [0x00007ffff7e6d240] [info]    set log level to info
[2024-04-20 16:01:06.920096] [0x00007ffff7e6d240] [info]    Known keys on G13:

Program received signal SIGILL, Illegal instruction.
0x00005555555a0a4d in Helper::operator<< <boost::log::v2_mt_posix::basic_record_ostream<char>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > > > (o=..., _mko=...)
    at /home/lindem/git/g13/helper.hpp:173
173		for( auto i = _mko.container.begin(); i != _mko.container.end(); i++ ) {

I looked at the code, but I have not done C++ literally in decades, and did not accomplish anything noteworthy. This was on Ubuntu 23.10, by the way.

Shame that my old G13 seemingly reached the end of its life if there is no more software which supports it. Thanks @ecraven for making this back then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants