Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272828 - mail-client/evolution crashes with sqlite 3.6.13
Summary: mail-client/evolution crashes with sqlite 3.6.13
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 19:58 UTC by Alan Hourihane
Modified: 2010-01-24 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2009-06-05 19:58:10 UTC
Tried with 3.6.14.2 of sqlite too and get this backtrace....

#0  0x00007f4ff67a7165 in raise () from /lib/libc.so.6
#1  0x00007f4ff67a84de in abort () from /lib/libc.so.6
#2  0x00007f4ff67a049f in __assert_fail () from /lib/libc.so.6
#3  0x00007f4ff4665798 in ?? () from /usr/lib/libsqlite3.so.0
#4  0x00007f4ff468289c in ?? () from /usr/lib/libsqlite3.so.0
#5  0x00007f4ff46937ff in ?? () from /usr/lib/libsqlite3.so.0
#6  0x00007f4ff491b1cd in camel_db_open () from /usr/lib/libcamel-1.2.so.14
#7  0x00007f4ff4bbe8d0 in ?? () from /usr/lib/libcamel-provider-1.2.so.14
#8  0x00007f4fe8ba3dbd in ?? ()
   from /usr/lib64/evolution-data-server-1.2/camel-providers/libcamellocal.so
#9  0x00007f4ff4bb8bc0 in ?? () from /usr/lib/libcamel-provider-1.2.so.14
#10 0x00007f4ff4bb83bf in camel_session_get_service ()
   from /usr/lib/libcamel-provider-1.2.so.14
#11 0x00007f4fec48b1ff in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#12 0x00007f4fec48c932 in mail_component_get_folder ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#13 0x00007f4fec498173 in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#14 0x00007f4fec498a58 in mail_receive_uri ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#15 0x00007f4fec49900d in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#16 0x00007f4fec499097 in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#17 0x00007f4ff493aadc in camel_object_trigger_event ()
   from /usr/lib/libcamel-1.2.so.14
#18 0x00007f4fec48d991 in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#19 0x00007f4ffd0e53d7 in GNOME_Evolution_Component_setLineStatus ()
   from /usr/lib64/evolution/2.24/libeshell.so.0
#20 0x000000000040f397 in ?? ()
#21 0x0000000000410529 in e_shell_construct ()
#22 0x000000000041058b in e_shell_new ()
#23 0x00000000004178a9 in ?? ()
#24 0x00007f4ff6d104f2 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00007f4ff6d137d5 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007f4ff6d13acd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x00007f4ffa7ba776 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#28 0x00000000004174ef in main ()
Comment 1 Alan Hourihane 2009-06-05 19:58:34 UTC
This debian bug also looks similar....

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519428
Comment 2 Alan Hourihane 2009-06-05 23:01:11 UTC
running evolution from the command line gets this......

** (evolution:13042): DEBUG: mailto URL command: evolution %s
** (evolution:13042): DEBUG: mailto URL program: evolution
evolution: sqlite3.c:11713: sqlite3OsOpen: Assertion `rc==0 || pFile->pMethods==0' failed.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-07 22:35:38 UTC
please read documentation at [1] and provide a better backtrace.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 4 Alan Hourihane 2009-06-08 15:15:31 UTC
#0  0x0000000000000000 in ?? ()
#1  0x00007fe4ef5f79b1 in sqlite3OsClose (pId=0x6d1b38) at sqlite3.c:11599
#2  0x00007fe4ef61401d in sqlite3BtreeFactory (db=0x6ce908, 
    zFilename=<value optimized out>, omitJournal=<value optimized out>, 
    nCache=2000, vfsFlags=262, ppBtree=0x6cebc0) at sqlite3.c:33239
#3  0x00007fe4ef6206f4 in openDatabase (
    zFilename=0x6e55b0 "/data/home/alanh/.evolution/mail/local/folders.db", 
    ppDb=0x7fff00476c60, flags=<value optimized out>, zVfs=0x0)
    at sqlite3.c:90407
#4  0x00007fe4ef88b1cd in camel_db_open () from /usr/lib/libcamel-1.2.so.14
#5  0x00007fe4efb2e8d0 in ?? () from /usr/lib/libcamel-provider-1.2.so.14
#6  0x00007fe4e3b3fdbd in ?? ()
   from /usr/lib64/evolution-data-server-1.2/camel-providers/libcamellocal.so
#7  0x00007fe4efb28bc0 in ?? () from /usr/lib/libcamel-provider-1.2.so.14
#8  0x00007fe4efb283bf in camel_session_get_service ()
   from /usr/lib/libcamel-provider-1.2.so.14
#9  0x00007fe4e74271ff in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#10 0x00007fe4e7428932 in mail_component_get_folder ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#11 0x00007fe4e7434173 in ?? ()
   from /usr/lib64/evolution/2.24/components/libevolution-mail.so
#12 0x00007fe4e7434a58 in mail_receive_uri ()
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-06-08 15:17:28 UTC
Please rebuild evolution and evolution-data-server to make the backtrace really useful.

Thanks :)
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-06-08 15:29:00 UTC
Also please test with dev-db/sqlite-3.6.14.2.
Comment 7 Alan Hourihane 2009-06-08 15:41:28 UTC
#0  0x0000000000000000 in ?? ()
#1  0x00007fe9dbb309b1 in sqlite3OsClose (pId=0x73a578) at sqlite3.c:11599
#2  0x00007fe9dbb4d01d in sqlite3BtreeFactory (db=0x6ce908, zFilename=<value optimized out>, omitJournal=<value optimized out>, 
    nCache=2000, vfsFlags=262, ppBtree=0x6cebc0) at sqlite3.c:33239
#3  0x00007fe9dbb596f4 in openDatabase (zFilename=0x6ec1f0 "/data/home/alanh/.evolution/mail/local/folders.db", 
    ppDb=0x7fffec9af1a0, flags=<value optimized out>, zVfs=0x0) at sqlite3.c:90407
#4  0x00007fe9dbdc399d in camel_db_open (path=0x6ec1f0 "/data/home/alanh/.evolution/mail/local/folders.db", ex=0x7fffec9af270)
    at camel-db.c:465
#5  0x00007fe9dc067830 in construct (service=0x6f72e0, session=0x7400a0, provider=<value optimized out>, url=0x6e5660, 
    ex=0x7fffec9af270) at camel-store.c:238
#6  0x00007fe9d0064d2d in construct (service=0x6f72e0, session=0x7400a0, provider=0x7fe9d0277be0, url=0x6e5660, 
    ex=0x7fffec9af270) at camel-local-store.c:135
#7  0x00007fe9dc061b70 in get_service (session=0x7400a0, url_string=<value optimized out>, type=<value optimized out>, 
    ex=0x7fffec9af2f0) at camel-session.c:198
#8  0x00007fe9dc06136f in camel_session_get_service (session=0x7400a0, 
    url_string=0x6e48e0 "mbox:/data/home/alanh/.evolution/mail/local", type=CAMEL_PROVIDER_STORE, ex=0x7fffec9af2f0)
    at camel-session.c:243
#9  0x00007fe9d394c1ff in mc_setup_local_store (mc=0x696520) at mail-component.c:292
#10 0x00007fe9d394d932 in mail_component_get_folder (mc=0x73a578, id=MAIL_COMPONENT_FOLDER_LOCAL_INBOX) at mail-component.c:1543
#11 0x00007fe9d3959173 in setup_send_data () at mail-send-recv.c:163
#12 0x00007fe9d3959a58 in mail_receive_uri (uri=0x73a578 "", keep=0) at mail-send-recv.c:1095
#13 0x00007fe9d395a00d in auto_timeout (data=0x6e8870) at mail-send-recv.c:973
#14 0x00007fe9d395a097 in auto_online (o=<value optimized out>, ed=<value optimized out>, d=<value optimized out>)
    at mail-send-recv.c:1057
#15 0x00007fe9dbde3a3c in camel_object_trigger_event (vo=0x7400a0, name=<value optimized out>, event_data=0x1)
    at camel-object.c:1494
#16 0x00007fe9d394e991 in impl_setLineStatus (servant=<value optimized out>, shell_state=<value optimized out>, 
    listener=0x775050, ev=0x7fffec9af4e0) at mail-component.c:1199
#17 0x00007fe9e458d3d7 in GNOME_Evolution_Component_setLineStatus (_obj=0x73a578, shell_state=GNOME_Evolution_USER_ONLINE, 
    listener=0x775050, ev=<value optimized out>) at Evolution-stubs.c:154
#18 0x000000000040f397 in set_line_status (shell=0x696640, shell_state=GNOME_Evolution_USER_ONLINE) at e-shell.c:1171
#19 0x0000000000410529 in e_shell_construct (shell=0x696640, iid=0x418c68 "OAFIID:GNOME_Evolution_Shell:2.24", 
    startup_line_mode=6907072) at e-shell.c:719
#20 0x000000000041058b in e_shell_new (startup_line_mode=E_SHELL_STARTUP_LINE_MODE_CONFIG, 
    construct_result_return=0x7fffec9af5fc) at e-shell.c:745
#21 0x00000000004178a9 in idle_cb (uris=0x0) at main.c:332
#22 0x00007fe9de1b94f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007fe9de1bc7d5 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00007fe9de1bcacd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#25 0x00007fe9e1c63776 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#26 0x00000000004174ef in main (argc=<value optimized out>, argv=0x7fffec9af8c8) at main.c:690
Comment 8 Alan Hourihane 2009-06-08 15:42:00 UTC
The backtrace above is 3.6.14.2 of sqlite.
Comment 9 Alan Hourihane 2009-06-08 15:43:26 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-glibc2.2.5
Timestamp of tree: Mon, 08 Jun 2009 12:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi amd64 berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus dri dvd dvdread fortran gdbm gpm gtk hal iconv isdnlog java jpeg libnotify midi mmx mp2 mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python readline reflection session spl sqlite sse sse2 ssl ssse3 svg sysfs tcl tcpd tiff tk unicode usb xorg xulrunner xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Alan Hourihane 2009-06-08 19:38:02 UTC
It turns out it's a stale NFS file handle issue with .evolution/mail being inaccessible.

Still, it seems that sqlite can't deal with that.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-23 12:13:03 UTC
@arfever, betelgeuse, so guys what do we do now ? I still don't see a proper backtrace but we can't seem to help on this stuff anyway.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-24 22:59:04 UTC
nobody seems to care. If you feel strongly about it, I suggest trying upstream sqlite.