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

Dev branch crashes on startup #3

Closed
prokoudine opened this issue May 25, 2020 · 1 comment
Closed

Dev branch crashes on startup #3

prokoudine opened this issue May 25, 2020 · 1 comment

Comments

@prokoudine
Copy link

Reading symbols from /opt/tsunami/bin/tsunami...
(gdb) run
Starting program: /opt/tsunami/bin/tsunami 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
terminate called after throwing an instance of 'FileError'

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0  0x00007ffff67a83eb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff6787899 in __GI_abort () at abort.c:79
#2  0x00007ffff6b655f6 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff6b719ec in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff6b71a47 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff6b71ca9 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00005555555a0bb2 in FileCreateText(string const&) (filename=...) at ../src/lib/file/../base/base.h:58
#7  0x000055555562cea4 in msg_init(string const&, bool) (force_filename=..., verbose=true) at ../src/lib/file/msg.cpp:63
#8  0x000055555562cea4 in msg_init(string const&, bool) (force_filename=..., verbose=verbose@entry=true) at ../src/lib/file/msg.cpp:53
#9  0x000055555564126c in hui::Application::Application(string const&, string const&, int) (this=<optimized out>, app_name=..., def_lang=..., flags=1)
    at ../src/lib/hui/../base/strings.h:82
#10 0x0000555555844c03 in Tsunami::Tsunami() (this=0x555555969630) at ../src/Tsunami.cpp:44
#11 0x000055555584791a in hui_main(Array<string> const&) (arg=...) at ../src/Tsunami.cpp:250
#12 0x00005555555d7158 in main(int, char**) (NumArgs=<optimized out>, Args=<optimized out>) at ../src/lib/hui/hui.cpp:127
(gdb) 

@momentarylapse
Copy link
Owner

thanks a lot for testing! (I didn't expect anyone to try out, sorry not seeing your message earlier...)

I tried to fix it in the current devel branch.

The program expected to be installed somewhere in /usr/ or /usr/local/ and got confused by /opt/. How did you install it? Using meson/ninja install? Also which system do you use?

You can also run the program without installing it. After building, you can run the executable from within the root of the repository, i.e. if you've built it with meson, you might have a "build" directory and you can run
./build/tsunami

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