QBooru icon indicating copy to clipboard operation
QBooru copied to clipboard

Linux build success, exec fail.

Open aTosser opened this issue 7 years ago • 4 comments

$ ./QBooru

Version : "" "" ("Server", "Date", "Content-Type", "Content-Length", "Connection", "Location") Saved cookies at "cache/Gelbooru/cookies.ini" : () terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted

Call Stack:

#0 raise() at /lib64/libc.so.6 #1 abort() at /lib64/libc.so.6 #2 __gnu_cxx::__verbose_terminate_handler()() at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 #3 ??() at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 #4 std::terminate()() at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 #5 __cxa_throw() at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 #6 operator new(unsigned long)() at /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6 #7 void std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) clone .isra.19 at #8 BooruTag::getNameabi:cxx11() at #9 SearchTab::SearchTab(Widget*, BooruSite*)() at #10 Widget::Widget(ConfigFile*, QWidget*)() at #11 main() at

aTosser avatar Jun 11 '18 20:06 aTosser

Was it from building the current sources, or the sources in the releases ?

FuSoftware avatar Jun 12 '18 10:06 FuSoftware

If I build from a release it gives bad_malloc if I build from the master it segfaults.

aTosser avatar Jun 12 '18 23:06 aTosser

Sorry about the close/reopen

aTosser avatar Jun 12 '18 23:06 aTosser

The master is to be expected, It's still not stable. I'm not sure about the Release, as I don't officially support Linux. It just should work. To me it looks like it can't load a booru name, from the error you posted

FuSoftware avatar Jun 13 '18 06:06 FuSoftware