Summary: | SyncedCatalogComponent crash on startup | ||
---|---|---|---|
Product: | [Applications] kstars | Reporter: | Hans Lambermont <hans> |
Component: | general | Assignee: | Jasem Mutlaq <mutlaqja> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | csaba.kertesz |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.9.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Hans Lambermont
2018-02-07 22:05:31 UTC
Did you add any objects from the internet using the Find dialog? What happens if you reinstall the bleeding version and run that instead of the locally compiled: sudo apt-get remove kstars-bleeding sudo apt-get install kstars-bleeding kstars Does it crash in the same way? This line crashes, strange: Q_ASSERT(m_catId >= 0); (In reply to Jasem Mutlaq from comment #1) > Did you add any objects from the internet using the Find dialog? It did not get that far, kstars immediately crashes before making a window. I've installed your ppa kstars bleeding, that one runs fine. The self compiled one still crashes immediately. (In reply to Hans Lambermont from comment #3) > (In reply to Jasem Mutlaq from comment #1) > > Did you add any objects from the internet using the Find dialog? > > It did not get that far, kstars immediately crashes before making a window. > > I've installed your ppa kstars bleeding, that one runs fine. The self > compiled one still crashes immediately. not fine, but it does not crash. Here's what's on stdout/stderr : kstars org.kde.kstars.catalog: DSO DB does not exist! org.kde.kstars.catalog: "Unable to open DSO database file!" org.kde.kstars.catalog: QSqlError("-1", "Error opening database", "out of memory") org.kde.kstars: Unable to open user database file. org.kde.kstars: QSqlError("-1", "Error opening database", "out of memory") org.kde.kstars: "Star HD20794 not found." org.kde.kstars: "Star HD98230 not found." File opened: "/home/hans/.local/share/kstars/ngcic.dat" Creating new catalog "_Internet_Resolved" QSqlQuery::prepare: database not open "" QSqlError("", "Unable to fetch row", "No query") Creating new catalog "_Manual_Additions" QSqlQuery::prepare: database not open "" QSqlError("", "Unable to fetch row", "No query") File opened: "/home/hans/.local/share/kstars/asteroids.dat" File opened: "/home/hans/.local/share/kstars/comets.dat" Could not open fov.dat. org.kde.kstars: "Object named NGC 6050A not found" org.kde.kstars: "Object named 2 Encke not found" org.kde.kstars: "Object named 81 Wild 2 not found" Daylight Saving Time inactive Next Daylight Savings Time change (Local Time): "zo mrt. 25 01:00:00 2018 GMT" Next Daylight Savings Time change (UTC): "za mrt. 24 00:00:00 2018 GMT" The current Date/Time is: "do feb. 8 18:58:01 2018" glibc >= 2.1 detected. Using GNU extension sincos() QSqlQuery::exec: database not open org.kde.kstars: "INSERT INTO profile (name) VALUES('jungle_lord_observatory')" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " QSqlQuery::exec: database not open org.kde.kstars: "" " " Found the issue ! citydb.sqlite and skycultures.sqlite were owned by root:root with 644 and the directory itself was also root:root so that userdb.sqlite could not even be made. -> ticket closed as invalid. Better error handling like which .sqlite file could not be opened for writing would be welcome. |