xyzz / acquisition

http://get.acquisition.today/
GNU General Public License v3.0
269 stars 100 forks source link

Segmentation fault (core dumped) while logging in #452

Closed jedrzejowski closed 6 years ago

jedrzejowski commented 6 years ago

Hi, whenever i try to log into acquisition, i get this message:

adam $ ./acquisition 
qt5ct: using qt5ct plugin
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to open sqlite3 database.
Przerwane (zrzut pamięci) # Segmentation fault (core dumped) # in polish

I have tied several times and i also cleared location ~/.local/share/acquisition.

Result of ./acquisition --test

qt5ct: using qt5ct plugin
********* Start testing of TestItem *********
Config: Using QtTest library 5.10.1, Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : TestItem::initTestCase()
PASS   : TestItem::Parse()
PASS   : TestItem::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of TestItem *********
********* Start testing of TestShop *********
Config: Using QtTest library 5.10.1, Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : TestShop::initTestCase()
PASS   : TestShop::SocketedGemsNotLinked()
PASS   : TestShop::TemplatedShopGeneration()
PASS   : TestShop::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped, 0 blacklisted, 38ms
********* Finished testing of TestShop *********
********* Start testing of TestUtil *********
Config: Using QtTest library 5.10.1, Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : TestUtil::initTestCase()
PASS   : TestUtil::TestModMatcher()
PASS   : TestUtil::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of TestUtil *********
********* Start testing of TestItemsManager *********
Config: Using QtTest library 5.10.1, Qt 5.10.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : TestItemsManager::initTestCase()
PASS   : TestItemsManager::BuyoutForNewItem()
PASS   : TestItemsManager::BuyoutPropagation()
PASS   : TestItemsManager::UserSetBuyoutPropagation()
PASS   : TestItemsManager::MoveItemNoBoToBo()
PASS   : TestItemsManager::MoveItemBoToNoBo()
PASS   : TestItemsManager::MoveItemBoToBo()
PASS   : TestItemsManager::ItemHashMigration()
PASS   : TestItemsManager::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 16ms
********* Finished testing of TestItemsManager *********

System: Arch Linux

xyzz commented 6 years ago

should be fixed by 8b219a65e000624b7d95eaa67b8324ae8d52769d

jedrzejowski commented 6 years ago

Ok, works now, ty