GNOME Bugzilla – Bug 735281
Geary hangs after last database upgrade after adding a new (=first) account
Last modified: 2014-09-02 19:18:36 UTC
geary 0.6.1 on Fedora 21: [deb] 14:32:51 0,590277 geary-controller.vala:565: Successfully validated account information [deb] 14:32:51 0,054589 db-versioned-database.vala:77: VersionedDatabase.upgrade: current database schema for /home/dspangenberg/.local/share/geary/xxx@gmail.com/geary.db: 0 ... [deb] 14:32:51 0,000457 db-versioned-database.vala:126: Upgrading database to version 21 with /usr/share/geary/sql/version-021.sql On a self compiled 0.7.X-Version it hangs after version 22. The problem occurs with GMail and with own IMAP-Accounts.
Same here on Fedora. b-versioned-database.vala:126: Upgrading database to version 21 with /usr/share/geary/sql/version-021.sql Tested with Dovecot.
I'm not sure I follow. Are you upgrading an existing account or adding a new one? If adding a new one, is it the first one you're adding to Geary, or was there another one present?
The problem occurs when adding a new account to a fresh Geary installation without any other account present. I had the problem on misc distros with Gnome 3.13, at least Fedora 21 and openSUSE.
I've been creating new accounts for the past three days (for another bug) and haven't seen this problem once. I feel certain we would heard about this earlier if it was a problem with 0.6.1, which was released two months ago. This will generate a lot of output, but could you run Geary like this: $ geary --debug --log-sql > geary.log And mail it to geary@yorba.org? Also, is there a ~/.local/share/geary/<email> directory when you run this? I wonder if the database was corrupted in an earlier execution and now Geary gets stuck because of it.
Perhaps their not so many users who (try to) run Geary on pre-releases like Gnome 3.13 or Fedora 21. On a fresh installation the ~/local/share/geary/... is obviously empty. And if not I deleted ~/local/share/geary before. I could reproduce this bug on several installations of new OSes with Gnome 3.13 and everytime Geary hangs at the last db upgrade. The output with --debug --log.sql was within my recollection unobtrusive. But I will try to reproduce the problem on another pc and will mail it.
It could be the SQL or database upgrade is a canard. After the database upgrade, the database is now open, so the next step would be to bring up the main window. This may be the problem after all. Let me take a look at this using jhbuild. Is there any easy way to download a Fedora 21 image? I can't find anything on the intertubes.
http://ftp.uni-bayreuth.de/linux/fedora/linux/development/21/x86_64/os/images/ http://ftp.uni-bayreuth.de/linux/fedora/linux/development/21/i386/os/images/
My suspicion was that the problem affects only non-english versions (here the German version), because I couldn't find any other reports. But with LC_ALL=C it doesn't work either.
Hmm, have updated my last Fedora 21 installation and now the problem doesn't occur any longer. Only a "Speicherzugriffsfehler" (segmentation fault?), but this will be another story. But I could rollback the update and try again for a logfile.
I wonder if this is related to bug #735538. If Geary is built with Vala 0.25.2, it will cause a lot of problems due to bad bindings. However, you should see them on the console, unless you have the GLib warnings turned off (could they be compiled off?). If you can give me a stack trace for the core fault, that would be a huge help. We've not done a lot of testing with Geary and GTK+ 3.13, so I'd really like to get this worked out before we ship 0.8.
Created attachment 284979 [details] Backtrace
The backtrace is from a fresh Fedora 21 with Geary compiled from git. If you need it, I've a log of the first start of Geary, too.
This is definitely a duplicate of bug #735538. This problem is fixed by recompiling Geary with Vala 0.25.3. *** This bug has been marked as a duplicate of bug 735538 ***