Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 18:33:54 -0400
From:      Gerard <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   claws-mail & ClamAV-devel
Message-ID:  <20070711183320.3062.GERARD@seibercom.net>

next in thread | raw e-mail | index | archive | help
FreeBSD-6.2
ClamAV-Devel-20070617
claws-mail-2.10.0

Has anyone gotten claws-mail-2.10.0 to work with ClamAV devel 20070617?

When I try to configure claws-mail and load the clamav module, the
system hangs. I have tried running 'gdb' but without any useful
results.

Building claws-mail with the debug flag has not helped either. The
backtrace still does not list any symbols.

The older version of claws-mail did work with this version ClamAV.

This is the output of gdb.


<Start Log>

Script started on Wed Jul 11 06:30:35 2007
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) run --debug
Starting program: /usr/ports/mail/claws-mail/work/claws-mail-2.10.0/src/claws-mail --debug
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100092]
claws.c:98:Starting Claws Mail version 020a0000
prefs_gtk.c:1087:new file '/home/gerard/.claws-mail/clawsrc'
prefs_gtk.c:1046:new section 'Plugins_GTK2'
prefs_gtk.c:1046:new section 'Plugins_Common'
prefs_gtk.c:1046:new section 'Common'
prefs_gtk.c:1046:new section 'GPG'
prefs_gtk.c:1046:new section 'Bogofilter'
prefs_gtk.c:1046:new section 'gtkhtml2'
prefs_gtk.c:1046:new section 'TrayIcon'
prefs_gtk.c:1087:new file '/home/gerard/.claws-mail/folderitemrc'
prefs_gtk.c:1025:cache: /home/gerard/.claws-mail/folderitemrc: No such file or directoryprefs_gtk.c:1125:destroying cache
[New Thread 0x82fb000 (LWP 100134)]
current dir: /usr/home/gerard
prefs.c:283:Found [Plugins_Common]
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/cachesaver.so'
plugin.c:394:Plugin CacheSaver (from file /usr/local/lib/claws-mail/plugins/cachesaver.so) loaded
current dir: /usr/home/gerard/.claws-mail
current dir: /usr/home/gerard
folder.c:120:registering folder class mh
folder.c:120:registering folder class imap
folder.c:120:registering folder class news
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Common]
prefs_gtk.c:144:Finished reading configuration.
prefs_themes.c:365:Creating preferences for themes...
stock_pixmap.c:492:dir /home/gerard/.claws-mail/themes not found, skipping theme scanprefs_actions.c:360:Reading actions configurations...
prefs_display_header.c:402:Reading configuration for displaying headers...
addressbook.c:3915:Reading address index...
addressbook.c:3947:done.
mainwindow.c:1142:Creating main window...
toolbar.c:627:read Toolbar Configuration from toolbar_main.xml
folderview.c:600:Creating folder view...
folderview.c:455:creating tree...
hooks.c:70:registed new hook for 'folder_update' as id 1
hooks.c:70:registed new hook for 'folder_item_update' as id 1
summaryview.c:583:Creating summary view...
hooks.c:70:registed new hook for 'msginfo_update' as id 1
hooks.c:70:registed new hook for 'folder_item_update' as id 2
hooks.c:70:registed new hook for 'folder_update' as id 2
messageview.c:348:Creating message view...
headerview.c:81:Creating header view...
noticeview.c:77:Creating notice view...
mimeview.c:210:Creating MIME view...
noticeview.c:77:Creating notice view...
textview.c:266:Creating text view...
hooks.c:70:registed new hook for 'msginfo_update' as id 2
logwindow.c:94:Creating log window...
hooks.c:70:registed new hook for 'log_append_text' as id 1
logwindow.c:94:Creating log window...
hooks.c:70:registed new hook for 'debug_append_text' as id 1
** Message: filtering log disabled

mainwindow.c:1393:done.
mainwindow.c:2707:Setting widgets... mainwindow.c:2926:done.
mainwindow.c:2037:called after messageview has been deallocated!
mainwindow.c:2037:called after messageview has been deallocated!
hooks.c:70:registed new hook for 'sslcert_ask' as id 1
hooks.c:70:registed new hook for 'progressindicator_hooklist' as id 1
account.c:200:Reading all config for each account...
account.c:215:Found label: Account: 1
codeconv.c:1435:current locale: C
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Account: 1]
prefs_gtk.c:144:Finished reading configuration.
prefs_customheader.c:327:Reading custom header configuration...
folderview.c:384:setting titles...
folderview.c:752:Setting folder info...
summaryview.c:1125:empty folder (0x0 NULL 0x0 0)

summaryview.c:1145:TIMING : 0s051ms
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:82:Reading configuration...
folderview.c:752:Setting folder info...
folderview.c:752:Setting folder info...
main.c:967:Claws Mail crashed, checking for new messages in local folders
mh.c:228:MH scan not required: /home/gerard/Mail/inbox (1184148680 <= 1184148680)
folder.c:1840:Scanning folder inbox for cache changes.
mh.c:284:mh_get_num_list(): Scanning inbox ...
current dir: /usr/home/gerard/Mail/inbox
mh.c:1433:MH: forced mtime of inbox to 1184148680
msgcache.c:585:	Reading swapped message cache from /home/gerard/Mail/inbox/.claws_cache...
msgcache.c:599:using Noop Converter
msgcache.c:751:done. (1 items read)
msgcache.c:752:Cache size: 1 messages, 273 byte
msgcache.c:780:reading swapped mark file.
folder.c:2340:TIMING : 0s030ms
folder.c:2266:Total cache memory usage: 273
msgcache.c:264:TIMING : 0s000ms
mh.c:228:MH scan not required: /home/gerard/Mail/sent (1184075970 <= 1184075970)
mh.c:228:MH scan not required: /home/gerard/Mail/draft (1183985715 <= 1183985715)
mh.c:228:MH scan not required: /home/gerard/Mail/queue (1184075970 <= 1184075970)
mh.c:228:MH scan not required: /home/gerard/Mail/trash (1183985715 <= 1183985715)
folder.c:2266:Total cache memory usage: 273
folder.c:2271:Trying to free cache memory
folder.c:2224:Cache unused time: 0 (Expire time: 0)
prefs.c:283:Found [Plugins_GTK2]
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/bogofilter.so'
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [Bogofilter]
prefs_gtk.c:144:Finished reading configuration.
bogofilter_gtk.c:460:Bogofilter GTK plugin loaded
bogofilter.c:897:Bogofilter plugin loaded
hooks.c:70:registed new hook for 'mail_listfiltering_hooklist' as id 1
plugin.c:394:Plugin Bogofilter (from file /usr/local/lib/claws-mail/plugins/bogofilter.so) loaded
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/gtkhtml2_viewer.so'
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [gtkhtml2]
prefs_gtk.c:144:Finished reading configuration.
plugin.c:394:Plugin GtkHtml2 HTML Viewer (from file /usr/local/lib/claws-mail/plugins/gtkhtml2_viewer.so) loaded
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/pdf_viewer.so'
plugin.c:394:Plugin PDF Viewer (from file /usr/local/lib/claws-mail/plugins/pdf_viewer.so) loaded
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/pgpcore.so'
sgpgme.c:539:GpgME Protocol: OpenPGP
Version: 2.0.4 (req 1.3.0)
Executable: /usr/local/bin/gpg
sgpgme.c:539:GpgME Protocol: CMS
Version: 2.0.4 (req 1.9.6)
Executable: /usr/local/bin/gpgsm
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [GPG]
prefs_gtk.c:144:Finished reading configuration.
prefs_gpg.c:527:set GPG_AGENT_INFO=/tmp/gpg-0r4K5l/S.gpg-agent:922:1
prefs_gpg.c:437:Saving GPG config
prefs.c:296:Found [GPG]
plugin.c:394:Plugin PGP/Core (from file /usr/local/lib/claws-mail/plugins/pgpcore.so) loaded
plugin.c:208:adding /usr/local/lib/claws-mail/plugins/pgpinline.so to /usr/local/lib/claws-mail/plugins/pgpcore.so rdeps
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/pgpinline.so'
plugin.c:394:Plugin PGP/inline (from file /usr/local/lib/claws-mail/plugins/pgpinline.so) loaded
plugin.c:208:adding /usr/local/lib/claws-mail/plugins/pgpmime.so to /usr/local/lib/claws-mail/plugins/pgpcore.so rdeps
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/pgpmime.so'
plugin.c:394:Plugin PGP/MIME (from file /usr/local/lib/claws-mail/plugins/pgpmime.so) loaded
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/trayicon.so'
hooks.c:70:registed new hook for 'folder_item_update' as id 3
hooks.c:70:registed new hook for 'folder_update' as id 3
hooks.c:70:registed new hook for 'offline_switch' as id 1
hooks.c:70:registed new hook for 'account_list_changed' as id 1
hooks.c:70:registed new hook for 'mainwindow_close' as id 1
hooks.c:70:registed new hook for 'mainwindow_iconified' as id 1
folder.c:1145:Counting total number of messages...
folder.c:1145:Counting total number of messages...
folder.c:1145:Counting total number of messages...
prefs_gtk.c:82:Reading configuration...
prefs_gtk.c:119:Found [TrayIcon]
prefs_gtk.c:144:Finished reading configuration.
plugin.c:394:Plugin Trayicon (from file /usr/local/lib/claws-mail/plugins/trayicon.so) loaded
prefs_gtk.c:1122:no cache
main.c:1101:TIMING startup: 11s868ms
pluginwindow.c:288:Creating plugins window...
plugin.c:324:trying to load `/usr/local/lib/claws-mail/plugins/clamav_plugin.so'
[New LWP 100134]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 100134]
0x28f23399 in __error () from /lib/libpthread.so.2
(gdb) bt full
#0  0x28f23399 in __error () from /lib/libpthread.so.2
No symbol table info available.
#1  0x28f12f57 in pthread_rwlock_timedwrlock () from /lib/libpthread.so.2
No symbol table info available.
#2  0x282ca033 in wlock_acquire () from /libexec/ld-elf.so.1
No symbol table info available.
#3  0x282c959f in dlopen () from /libexec/ld-elf.so.1
No symbol table info available.
#4  0x28b42506 in g_module_open () from /usr/local/lib/libgmodule-2.0.so.0
No symbol table info available.
#5  0x081d4fcd in plugin_load (filename=0x867e580 "/usr/local/lib/claws-mail/plugins/clamav_plugin.so", error=0xbfbfd970)
    at plugin.c:325
	plugin = (Plugin *) 0x8623380
	plugin_init = (gint (*)(gchar **)) 0x1
	plugin_name = 0x82b8990
	plugin_desc = 0x82bf880
	plugin_version = 0x81f7a27
	plugin_type = (const gchar *(*)(void)) 0xbfbfd958
	plugin_licence = (const gchar *(*)(void)) 0x82b8990 <__PRETTY_FUNCTION__.10+319>
	plugin_provides = (struct PluginFeature *(*)(void)) 0x82e62f8 <__JCR_LIST__+4>
	ok = 0
	__PRETTY_FUNCTION__ = "plugin_load"
#6  0x08212376 in load_cb (button=0x84dda20, pluginwindow=0x855af80) at pluginwindow.c:204
	file = (gchar *) 0x867e580 "/usr/local/lib/claws-mail/plugins/clamav_plugin.so"
	error = (gchar *) 0x0
	tmp = (GList *) 0x86647f0
	file_list = (GList *) 0x86647f0
#7  0x28b26b78 in g_cclosure_marshal_VOID__VOID () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0x28b0fbbb in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0x28b25546 in g_signal_has_handler_pending () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x28b26494 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x28b26786 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x28538f61 in gtk_button_clicked () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x2853addc in gtk_button_get_alignment () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x28b26b78 in g_cclosure_marshal_VOID__VOID () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#15 0x28b0fef9 in g_cclosure_new_swap () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x28b0fbbb in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x28b24e27 in g_signal_has_handler_pending () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x28b26494 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x28b26786 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x28538ec1 in gtk_button_released () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x2853a2b1 in gtk_button_set_relief () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x2860c4c0 in gtk_marshal_VOID__UINT_STRING () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x28b0fef9 in g_cclosure_new_swap () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0x28b0fbbb in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0x28b250ab in g_signal_has_handler_pending () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#26 0x28b261dd in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#27 0x28b26786 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
No symbol table info available.
#28 0x2872da64 in gtk_widget_activate () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0x2860a927 in gtk_propagate_event () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#30 0x2860ac5f in gtk_main_do_event () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0x2886e101 in gdk_event_get_graphics_expose () from /usr/local/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#32 0x28b7157f in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#33 0x28b72f44 in g_main_context_acquire () from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#34 0x28b7326a in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
No symbol table info available.
#35 0x28609ef3 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#36 0x08620dc0 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#37 0x00000001 in ?? ()
No symbol table info available.
#38 0x00000000 in ?? ()
No symbol table info available.
#39 0x00000001 in ?? ()
No symbol table info available.
#40 0x08620dc0 in ?? ()
No symbol table info available.
#41 0x00000000 in ?? ()
No symbol table info available.
#42 0xbfbfe9c4 in ?? ()
No symbol table info available.
#43 0x282c6cf0 in elf_hash () from /libexec/ld-elf.so.1
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
(gdb) 

(gdb) quit
The program is running.  Exit anyway? (y or n) y

Script done on Wed Jul 11 06:33:33 2007

<End Log>

-- 
Gerard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070711183320.3062.GERARD>