[Bug 1059233] Re: mission-control-5 crashed with SIGABRT in g_assertion_message()

Iain Lane iain at orangesquash.org.uk
Wed Oct 3 15:33:30 UTC 2012


I tracked this down to a failure to open the sqlite3 DB in libaccounts-
glib (ag-manager.c)

,----
| ret = sqlite3_open (filename, &priv->db);
| g_free (filename);
| 
| if (ret != SQLITE_OK)
| {
|     if (priv->db)
|     {
|         g_warning ("Error opening accounts DB: %s",
|                    sqlite3_errmsg (priv->db));
|         sqlite3_close (priv->db);
|         priv->db = NULL;
|     }
|     return FALSE;
| }
`----

and constructed a C program to reproduce it (attached). Modify the URL to match
yours and compile with

,----
| gcc -g `pkg-config --cflags sqlite3` test.c `pkg-config --libs sqlite3` 
`----

You'll see that it fails to open and gives an error. In my case it returned 14
(unable to open file). Then if you change sqlite3_open to sqlite3_open16 you'll
be able to open the file again.

I'm going to try making this change in libaccounts-glib now.


** Attachment added: "test.c"
   https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-control-5/+bug/1059233/+attachment/3368530/+files/test.c

** Also affects: libaccounts-glib (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of
Telepathy, which is subscribed to telepathy-mission-control-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1059233

Title:
  mission-control-5 crashed with SIGABRT in g_assertion_message()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libaccounts-glib/+bug/1059233/+subscriptions




More information about the Ubuntu-telepathy mailing list