Crashes on Add Volume scan

Bug #656391 reported by Rob Nickerson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Basenji
Fix Released
Undecided
Patrick Ulbrich

Bug Description

Software crashes when scanning a new volume. Ubuntu 10.04, scanning an external 300GB vfat harddrive.

Report from terminal below. Any help would be greatly appreciated.

$ basenji
[Basenji DBG]: Basenji 0.7.1.0
[Basenji DBG]: Used runtime: /usr/lib/mono/2.0
XMP Toolkit error 203: Top level typedNode not allowed
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Mismatched top level rdf:about values
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Mismatched top level rdf:about values
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Top level typedNode not allowed
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Top level typedNode not allowed
Warning: Failed to decode XMP metadata.
Error: Upper boundary of data for directory Canon, entry 0x0012 is out of bounds: Offset = 0x000008d4, size = 48, exceeds buffer size by 2 Bytes; adjusting the size
Error: Offset of directory Canon, entry 0x0013 is out of bounds: Offset = 0x00000904; truncating the entry
Error: Offset of directory Canon, entry 0x0000 is out of bounds: Offset = 0x0000090c; truncating the entry
Error: Offset of directory Canon, entry 0x00b6 is out of bounds: Offset = 0x00000916; truncating the entry
XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Top level typedNode not allowed
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
XMP Toolkit error 201: XML parsing failure
Warning: Failed to decode XMP metadata.

** (Basenji:25472): WARNING **: Unable to open an iconv handle from codepage 0 -> UTF-8

** (Basenji:25472): WARNING **: Unable to open an iconv handle from codepage 0 -> UTF-8
XMP Toolkit error 201: XML parsing failure
Warning: Failed to decode XMP metadata.
XMP Toolkit error 201: XML parsing failure
Warning: Failed to decode XMP metadata.
XMP Toolkit error 201: XML parsing failure
Warning: Failed to decode XMP metadata.

** (Basenji:25472): CRITICAL **: gsf_blob_new: assertion `(size > 0 && data_to_copy != NULL) || (size == 0 && data_to_copy == NULL)' failed
Stacktrace:

Native stacktrace:

 mono() [0x80ca6e4]
 mono() [0x80f6893]
 [0x13d410]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0x2370b70 (LWP 27069)]
[New Thread 0x30fab70 (LWP 25482)]
[New Thread 0x3493b70 (LWP 25481)]
[New Thread 0x16d2b70 (LWP 25478)]
[New Thread 0x18c7b70 (LWP 25477)]
[New Thread 0x5a0cb70 (LWP 25474)]
[New Thread 0x13cb70 (LWP 25473)]
0x0013d422 in __kernel_vsyscall ()
  8 Thread 0x13cb70 (LWP 25473) 0x0013d422 in __kernel_vsyscall ()
  7 Thread 0x5a0cb70 (LWP 25474) 0x0013d422 in __kernel_vsyscall ()
  6 Thread 0x18c7b70 (LWP 25477) 0x0013d422 in __kernel_vsyscall ()
  5 Thread 0x16d2b70 (LWP 25478) 0x0013d422 in __kernel_vsyscall ()
  4 Thread 0x3493b70 (LWP 25481) 0x0013d422 in __kernel_vsyscall ()
  3 Thread 0x30fab70 (LWP 25482) 0x0013d422 in __kernel_vsyscall ()
  2 Thread 0x2370b70 (LWP 27069) 0x0013d422 in __kernel_vsyscall ()
* 1 Thread 0xcd46f0 (LWP 25472) 0x0013d422 in __kernel_vsyscall ()

Thread 8 (Thread 0x13cb70 (LWP 25473)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011f736 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081a6af8 in ?? ()
#3 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0x5a0cb70 (LWP 25474)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011e245 in sem_wait@@GLIBC_2.1 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0812e199 in ?? ()
#3 0x081527ea in ?? ()
#4 0x081c3062 in ?? ()
#5 0x081e1925 in ?? ()
#6 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0x18c7b70 (LWP 25477)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011c342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x08155569 in ?? ()
#5 0x081527ea in ?? ()
#6 0x081c3062 in ?? ()
#7 0x081e1925 in ?? ()
#8 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0x16d2b70 (LWP 25478)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011c342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x08155569 in ?? ()
#5 0x081527ea in ?? ()
#6 0x081c3062 in ?? ()
#7 0x081e1925 in ?? ()
#8 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0x3493b70 (LWP 25481)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011ef5b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080ca87e in ?? ()
#3 0x080f6893 in ?? ()
#4 <signal handler called>
#5 0x01331910 in ?? () from /usr/lib/libgsf-1.so.114
#6 0x01331d6e in ?? () from /usr/lib/libgsf-1.so.114
#7 0x013325c3 in gsf_msole_metadata_read () from /usr/lib/libgsf-1.so.114
#8 0x00f02118 in libextractor_ole2_extract ()
   from /usr/lib/libextractor/libextractor_ole2.so
#9 0x017bef32 in ?? () from /usr/lib/libextractor.so.1.1.1
#10 0x017bf4a8 in EXTRACTOR_getKeywords () from /usr/lib/libextractor.so.1.1.1
#11 0x0557fbcf in ?? ()
#12 0x0557fa75 in ?? ()
#13 0x055799cc in ?? ()
#14 0x0557a112 in ?? ()
#15 0x0557a112 in ?? ()
#16 0x0557a112 in ?? ()
#17 0x0557a112 in ?? ()
#18 0x0557a112 in ?? ()
#19 0x0557a112 in ?? ()
#20 0x0557a112 in ?? ()
#21 0x0557a112 in ?? ()
#22 0x0557910f in ?? ()
#23 0x055780cc in ?? ()
#24 0x05577dca in ?? ()
#25 0x08115d2f in mono_runtime_invoke_array ()
#26 0x08115f7e in ?? ()
#27 0x08155043 in ?? ()
#28 0x08155517 in ?? ()
#29 0x081527ea in ?? ()
#30 0x081c3062 in ?? ()
#31 0x081e1925 in ?? ()
#32 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#33 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x30fab70 (LWP 25482)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011c342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x08155569 in ?? ()
#5 0x081527ea in ?? ()
#6 0x081c3062 in ?? ()
#7 0x081e1925 in ?? ()
#8 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x2370b70 (LWP 27069)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x0011c342 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081ac76c in ?? ()
#3 0x081c728a in ?? ()
#4 0x08155569 in ?? ()
#5 0x081527ea in ?? ()
#6 0x081c3062 in ?? ()
#7 0x081e1925 in ?? ()
#8 0x0011796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9 0x00231a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xcd46f0 (LWP 25472)):
#0 0x0013d422 in __kernel_vsyscall ()
#1 0x00229ad8 in writev () from /lib/tls/i686/cmov/libc.so.6
#2 0x0055be5b in ?? () from /usr/lib/libxcb.so.1
#3 0x0055c2cb in ?? () from /usr/lib/libxcb.so.1
#4 0x0055c667 in xcb_writev () from /usr/lib/libxcb.so.1
#5 0x04638d79 in _XSend () from /usr/lib/libX11.so.6
#6 0x046393d9 in _XFlush () from /usr/lib/libX11.so.6
#7 0x04611101 in XFlush () from /usr/lib/libX11.so.6
#8 0x008f4cb4 in gdk_display_flush () from /usr/lib/libgdk-x11-2.0.so.0
#9 0x008e6f7a in gdk_window_process_all_updates ()
   from /usr/lib/libgdk-x11-2.0.so.0
#10 0x08ad176f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x008c3358 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#12 0x0031e661 in ?? () from /lib/libglib-2.0.so.0
#13 0x003205e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x003242d8 in ?? () from /lib/libglib-2.0.so.0
#15 0x00324817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#16 0x08b5c3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x04ef2738 in ?? ()
#18 0x04ef26fb in ?? ()
#19 0x0080743b in ?? ()
#20 0x00807204 in ?? ()
#21 0x08113b1e in mono_runtime_exec_main ()
#22 0x0811429a in mono_runtime_run_main ()
#23 0x080b3524 in mono_main ()
#24 0x0805ad25 in ?? ()
#25 0x0017abd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#26 0x0805ac61 in ?? ()

=================================================================
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.
=================================================================

Aborted

Revision history for this message
Patrick Ulbrich (pulb) wrote :

*Sigh* this seems to be another bug in on of the libextractor plugins, if I only had time to upgrade to the new API..

Please open ~/.config/Basenji/settings and temporarily add "ole2" to "ScannerExtractionBlacklist" (without quotes) to disable the faulty ole plugin for this volume.

Please let me know if this fixes the problem.

Changed in basenji:
assignee: nobody → Patrick Ulbrich (pulb)
Revision history for this message
Patrick Ulbrich (pulb) wrote :

I almost forgot: please don't forget to restart the app after editing the file :-)

Revision history for this message
Rob Nickerson (rob-j-nickerson) wrote :

Thanks Patrick, your solution worked for me. Keep up the hard work, your software is very useful to me an many others :-)

Revision history for this message
Patrick Ulbrich (pulb) wrote :

You're welcome :-)

Changed in basenji:
status: New → Fix Released
Patrick Ulbrich (pulb)
Changed in basenji:
milestone: none → 0.9
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.