Package: beagle
Version: 0.2.6-2
Severity: normal

Just FYI, I'm not using a 64-bit userland, I do have 64bit libc
but that's about it.

This is what happens:
$ beagled --fg
Debug: Starting Beagle Daemon (version 0.2.6)
Debug: Running on Mono 1.1.13.6
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg
Debug: Established a connection to the X server
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver
Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
Debug: Found 2 backends in /usr/lib/beagle/Backends/EvolutionBackends.dll
Debug: KMail folders not found. Will keep trying
Debug: Starting Inotify Backend

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke 
(object,object[]) <0xffffffff>
in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke 
(object,object[]) <0x8c>
in System.Reflection.MonoCMethod:Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 (at 
/home/ingo/mono-1.1.13.6/mcs/class/corlib/System.Reflection/MonoMethod.cs:343)
in System.Reflection.MonoCMethod:Invoke 
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 (at 
/home/ingo/mono-1.1.13.6/mcs/class/corlib/System.Reflection/MonoMethod.cs:354)
in System.Reflection.ConstructorInfo:Invoke (object[]) (at 
/home/ingo/mono-1.1.13.6/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:78)
in System.Activator:CreateInstance (System.Type,bool) (at 
/home/ingo/mono-1.1.13.6/mcs/class/corlib/System/Activator.cs:249)
in System.Activator:CreateInstance (System.Type) (at 
/home/ingo/mono-1.1.13.6/mcs/class/corlib/System/Activator.cs:162)
in Beagle.Daemon.QueryDriver:ScanAssembly (System.Reflection.Assembly) (at 
/build/buildd/beagle-0.2.6/beagled/QueryDriver.cs:176)
in Beagle.Daemon.QueryDriver:Start () (at 
/build/buildd/beagle-0.2.6/beagled/QueryDriver.cs:347)
in Beagle.Daemon.BeagleDaemon:StartupProcess () (at 
/build/buildd/beagle-0.2.6/beagled/BeagleDaemon.cs:173)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool () <0x90>
in IdleProxy:Handler () <0x60>
in (wrapper native-to-managed) IdleProxy:Handler () <0x44>
in (wrapper managed-to-native) Gtk.Application:gtk_main () <0xffffffff>
in (wrapper managed-to-native) Gtk.Application:gtk_main () <0x80>
in Gtk.Application:Run () <0xc>
in Beagle.Daemon.BeagleDaemon:DoMain (string[]) (at 
/build/buildd/beagle-0.2.6/beagled/BeagleDaemon.cs:463)
in Beagle.Daemon.BeagleDaemon:Main (string[]) (at 
/build/buildd/beagle-0.2.6/beagled/BeagleDaemon.cs:220)
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_string[] 
(object,intptr,intptr,intptr) <0x64>

Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0x94) [0xfe74a38]
        /usr/lib/libmono.so.0 [0xfe36754]
        [0x100380]
        [0xf6fc8594]
        [0xf6fc8228]
        [0xf6fc7d4c]
        [0xf6740240]
        [0xf67401c4]
        [0xf673ff1c]
        [0xf6742a34]
        [0xf67420a8]
        [0xf6741e1c]
        [0xf6741720]
        [0xf6741720]
        [0xf676ce10]
        [0xf6767e88]
        [0xf6767864]
        [0xf676768c]
        [0xf6767550]
        [0xf6767348]
        [0xf6766eb4]
        [0xf6766d50]
        [0xf6766980]
        [0xf677494c]
        [0xf69fb30c]
        /usr/lib/libmono.so.0 [0xfe522f0]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x30) [0xfeb3d14]
        /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1e0) [0xfeb9134]
        /usr/lib/libmono.so.0 [0xfec1644]
        [0xf6c125e0]
        [0xf6c120b0]
        [0xf6c11fd4]
        [0xf6c11f14]
        [0xf69fc160]
        [0xf69fbf34]
        [0xf69f9e98]
        [0xf6c1a750]
        [0xf6f7788c]
        [0xf6f7752c]
        [0xf6f77434]
        [0x1021c018]
        /usr/lib/libglib-2.0.so.0 [0xfcf384c]
        /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x280) [0xfcf0564]
        /usr/lib/libglib-2.0.so.0 [0xfcf495c]
        /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x280) [0xfcf4db4]
        /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0x104) [0xf567b48]
        [0xf6f77388]
        [0xf6f772b0]
        [0xf7704f50]
        [0xf7703958]
        [0xf7701c38]
        /usr/lib/libmono.so.0 [0xfe522f0]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x30) [0xfeb3d14]
        /usr/lib/libmono.so.0(mono_runtime_exec_main+0x94) [0xfeb7618]
        /usr/lib/libmono.so.0(mono_runtime_run_main+0x180) [0xfebb304]
        /usr/lib/libmono.so.0(mono_jit_exec+0xb4) [0xfe676b8]
        /usr/lib/libmono.so.0(mono_main+0xd54) [0xfe684c8]
        beagled [0x100015d0]
        /lib/tls/libc.so.6 [0xfa38a34]
        /lib/tls/libc.so.6(__libc_start_main+0xb4) [0xfa38b84]
Aborted
quad:~$

But it's not like the stacktrace is always that way, as you see
sometimes the bug appears much earlier:

quad:~$ beagled --fg
Debug: Starting Beagle Daemon (version 0.2.6)
Debug: Running on Mono 1.1.13.6
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg
Debug: Established a connection to the X server
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:


Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0x94) [0xfe74a38]
        /usr/lib/libmono.so.0 [0xfe36754]
        [0x100380]
        [0xf6f919b8]
        [0xf6f913f0]
        [0xf6c1a580]
        [0xf6c19d94]
        [0xf6c19bb0]
        [0xf6c19a7c]
        /usr/lib/libmono.so.0 [0xfe522f0]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x30) [0xfeb3d14]
        /usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x60) [0xfeb54c4]
        /usr/lib/libmono.so.0 [0xfee8fd4]
        /usr/lib/libmono.so.0 [0xff41dc0]
        /usr/lib/libmono.so.0(GC_start_routine+0x64) [0xff61ad8]
        /lib/tls/libpthread.so.0 [0xfc598e8]
        /lib/tls/libc.so.6(__clone+0x84) [0xfaff444]
Aborted
quad:~$

Once a while it even starts up fine... To crash later:

quad:~$ beagled --fg
Debug: Starting Beagle Daemon (version 0.2.6)
Debug: Running on Mono 1.1.13.6
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg
Debug: Established a connection to the X server
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver
Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
Debug: Found 2 backends in /usr/lib/beagle/Backends/EvolutionBackends.dll
Debug: KMail folders not found. Will keep trying
Debug: Starting Inotify Backend
Debug: Found 10 backends in /usr/lib/beagle/BeagleDaemonLib.dll
Debug: Reading mapping from filters
Debug: Loading system static indexes.
Debug: Initializing static queryable: /var/cache/beagle/indexes/applications
Debug: Initializing static queryable: /var/cache/beagle/indexes/documentation
Debug: Found 2 system-wide indexes.
Debug: Loading user-configured static indexes.
Debug: Found 0 user-configured static indexes..
Debug: Waiting 60 seconds before starting queryables
Debug: Starting Scheduler thread
Debug: Starting Inotify threads
Debug: Daemon initialization finished after .93s
Debug: Starting queryables
Debug: Starting backend: 'EvolutionDataServer'
Debug: Scanning addressbooks and calendars
Debug: Scanned addressbooks and calendars in .19s
Debug: Starting backend: 'EvolutionMail'
Debug: Starting backend: 'KMail'
Debug: Starting Evolution mail backend
Debug: Starting backend: 'Files'
Debug: Starting KMail backend
Debug: KMail directories (local mail) 
/home/johannes/.kde/share/apps/kmail/dimap not found, will repoll.
Debug: Adding root: /home/johannes
Warn: Likely sqlite database version mismatch trying to read from 
/home/johannes/.beagle/Indexes/FileSystemIndex/FileAttributesStore.db.  Purging.
Debug: Starting mail crawl
Debug: Will index mbox /home/johannes/.evolution/mail/local/Inbox
Debug:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:


Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0x94) [0xfe74a38]
        /usr/lib/libmono.so.0 [0xfe36754]
        [0x100380]
        [0xf6f919b8]
        [0xf6f913f0]
        [0xf6f8403c]
        [0xf6f83fd8]
        [0xf6f83f78]
        [0xf6f83ef8]
        [0xf6f80254]
        [0xf6f80078]
        [0xf6f715cc]
        [0xf5f789fc]
        [0xf5f77f10]
        [0xf5f77ae0]
        [0xf5f74f34]
        [0xf5f74714]
        [0xf5f8dcb8]
        [0xf6c19bb0]
        [0xf6c19dc8]
        [0xf6c19bb0]
        [0xf6c19a7c]
        /usr/lib/libmono.so.0 [0xfe522f0]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x30) [0xfeb3d14]
        /usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x60) [0xfeb54c4]
        /usr/lib/libmono.so.0 [0xfee8fd4]
        /usr/lib/libmono.so.0 [0xff41dc0]
        /usr/lib/libmono.so.0(GC_start_routine+0x64) [0xff61ad8]
        /lib/tls/libpthread.so.0 [0xfc598e8]
        /lib/tls/libc.so.6(__clone+0x84) [0xfaff444]
Aborted
quad:~$

valgrind isn't working all too well reporting literally thousands of errors,
but the last error before mono is terminated is:

==8225== Process terminating with default action of signal 11 (SIGSEGV)
==8225==  Bad permissions for mapped region at address 0xB0B8C28
==8225==    at 0xB0B8C28: ???
==8225==    by 0xFA09C0C: sigsuspend (in /lib/tls/libc-2.3.6.so)
==8225==    by 0xFF1C008: GC_suspend_handler (in /usr/lib/libmono.so.0.0.0)
==8225==    by 0xB0B9564: ???
==8225==    by 0xFE36AFC: mono_arch_output_basic_block (in 
/usr/lib/libmono.so.0.0.0)
==8225==    by 0xFDEE77C: mono_codegen (in /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE0A218: mini_method_compile (in /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE0AF98: (within /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE6D2BC: mono_compile_method (in /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE0B16C: (within /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE0B2D4: (within /usr/lib/libmono.so.0.0.0)
==8225==    by 0xFE6CD10: mono_runtime_invoke (in /usr/lib/libmono.so.0.0.0)

(error count is: ERROR SUMMARY: 148835 errors from 8620 contexts)

I started valgrind using:

$ valgrind --error-limit=no --trace-children=yes \
        mono /usr/lib/beagle/BeagleDaemon.exe --fg 2>&1 | tee /tmp/valgrind.log

The full gzip'ed log from another run (~360K) is available upon request.

I don't understand why it should be different on my ppc64 and ppc32 systems
(it works fine on my powerbook) since the software is virtually identical.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc5
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages beagle depends on:
ii  adduser                      3.87        Add and remove users and groups
ii  bash                         3.1-4       The GNU Bourne Again SHell
ii  libatk1.0-0                  1.11.4-2    The ATK accessibility toolkit
ii  libc6                        2.3.6-7     GNU C Library: Shared libraries
ii  libcairo2                    1.0.4-2     The Cairo 2D vector graphics libra
ii  libexif12                    0.6.13-4    library to parse EXIF files
ii  libfontconfig1               2.3.2-5.1   generic font configuration library
ii  libgalago-cil                0.3.2-4     CLI bindings for libgalago
ii  libgconf2.0-cil              2.8.2-2     CLI binding for GConf 2.12
ii  libglade2.0-cil              2.8.2-2     CLI binding for the Glade librarie
ii  libglib2.0-0                 2.10.3-1    The GLib library of C routines
ii  libglib2.0-cil               2.8.2-2     CLI binding for the GLib utility l
ii  libgmime2.1-cil              2.1.19-1    CLI binding for the MIME library, 
ii  libgnome2.0-cil              2.8.2-2     CLI binding for GNOME 2.12
ii  libgnomevfs2-0               2.14.2-1    GNOME virtual file-system (runtime
ii  libgtk2.0-0                  2.8.17-1    The GTK+ graphical user interface 
ii  libgtk2.0-cil                2.8.2-2     CLI binding for the GTK+ toolkit 2
ii  libmono-corlib1.0-cil        1.1.13.6-4  Mono core library (1.0)
ii  libmono-sharpzip0.6-cil      1.1.13.6-4  Mono SharpZipLib library
ii  libmono-sharpzip0.84-cil     1.1.13.6-4  Mono SharpZipLib library
ii  libmono-sqlite1.0-cil        1.1.13.6-4  Mono Sqlite library
ii  libmono-system-data1.0-cil   1.1.13.6-4  Mono System.Data library
ii  libmono-system-runtime1.0-ci 1.1.13.6-4  Mono System.Runtime library
ii  libmono-system-web1.0-cil    1.1.13.6-4  Mono System.Web library
ii  libmono-system1.0-cil        1.1.13.6-4  Mono System libraries (1.0)
ii  libmono0                     1.1.13.6-4  libraries for the Mono JIT
ii  libmono1.0-cil               1.1.13.6-4  Mono libraries (1.0)
ii  libpango1.0-0                1.12.3-1    Layout and rendering of internatio
ii  librsvg2-2                   2.14.3-2    SAX-based renderer library for SVG
ii  libsqlite0                   2.8.16-1    SQLite shared library
ii  libx11-6                     2:1.0.0-6   X11 client-side library
ii  libxcursor1                  1.1.5.2-5   X cursor management library
ii  libxext6                     1:1.0.0-4   X11 miscellaneous extension librar
ii  libxfixes3                   1:3.0.1.2-2 X11 miscellaneous 'fixes' extensio
ii  libxi6                       1:1.0.0-5   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4   X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.0.2-3 X Rendering Extension client libra
ii  libxss1                      1:1.0.1-4   X11 Screen Saver extension library
ii  mono-runtime                 1.1.13.6-4  Mono runtime

Versions of packages beagle recommends:
pn  poppler-utils                 <none>     (no description available)

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to