out of memory when creating db in non existent directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegram app |
Fix Released
|
Critical
|
Unassigned | ||
U1DB Qt/ QML |
In Progress
|
Critical
|
Cris Dywan | ||
u1db-qt (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
U1db-qt runs out of memory when creating a database in a directory that doesn't exist. That makes little sense in context of click apps, who's .config/<package name!> doesn't not exist by default.
I.e. if I indicate I want a database in /home/phablet/
u1db: Failed to open /home/phablet/
file://
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Michał Karnicki: Approve
- U1DB Qt developers: Pending requested
-
Diff: 105 lines (+44/-14)3 files modifiedsrc/database.cpp (+7/-2)
tests/CMakeLists.txt (+1/-1)
tests/test-database.cpp (+36/-11)
Changed in libqtelegram: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → m9 |
Changed in u1db-qt: | |
status: | New → Confirmed |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → Critical |
Changed in u1db-qt: | |
status: | Confirmed → In Progress |
tags: | added: rtm14 |
Changed in libqtelegram: | |
status: | Confirmed → Fix Released |
This bug was fixed in the package u1db-qt - 0.1.5+15. 04.20141111~ rtm-0ubuntu1
--------------- 15.04.20141111~ rtm-0ubuntu1) 14.09; urgency=low
u1db-qt (0.1.5+
[ Christian Dywan ]
* Create parent folder for full database path (LP: #1390166)
-- Ubuntu daily release <email address hidden> Tue, 11 Nov 2014 15:27:42 +0000