CelestiaProject / Celestia

Real-time 3D visualization of space.

Home Page:https://celestiaproject.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strating celestia-qt with URL crashes the program

375gnu opened this issue · comments

0x00007ffff700dd81 in CelestiaCore::setStartURL(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /redacted//libcelestia.so.1.7
(gdb) bt
#0  0x00007ffff700dd81 in CelestiaCore::setStartURL(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
    at /redacted/libcelestia.so.1.7
#1  0x000055555558b95d in CelestiaAppWindow::init(CelestiaCommandLineOptions const&) ()
#2  0x000055555557ec62 in main ()

gtk is fine, so qt-only bug

Qt startup is a complete mess. It's relatively easy to fix the crash, the tricky part is figuring out where to call CelestiaCore::start() so that the initial resize of the window doesn't result in an absurdly huge FOV.