Beagle-extract-content runtime error



Hi,

I'm running the beagle-extract-content program from within my C++ program using popen() to get a pipe to the programs output. I am then reading file keywords into my program from beagle-extract-content. The program is parallelized to crawl several directories with each thread instantiating a separate beagle-extract-content instance.

I frequently get runtime errors from beagle-extract-content. I have attached the stacktrace that it spits out to the bottom of the email. I have beagle running on Ubuntu 8.04 with Mono JIT compiler version 1.2.6. Any ideas what is going on with this? Thanks.

Andrew

Aborted
Stacktrace:

at (wrapper managed-to-native) System.IO.MonoIO.Open (string ,System .IO .FileMode ,System .IO .FileAccess ,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) <0x00004> at (wrapper managed-to-native) System.IO.MonoIO.Open (string ,System .IO .FileMode ,System .IO .FileAccess ,System.IO.FileShare,System.IO.FileOptions,System.IO.MonoIOError&) <0xffffffff> at System.IO.FileStream..ctor (string ,System .IO .FileMode ,System .IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions) <0x002be> at System.IO.FileStream..ctor (string ,System .IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,bool) <0x000a1> at System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess) <0x00068> at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor (string,System.IO.FileMode,System.IO.FileAccess) <0xffffffff> at System.Configuration.InternalConfigurationHost.OpenStreamForRead (string) <0x00098>
  at System.Configuration.Configuration.Load () <0x00074>
at System.Configuration.Configuration.Init (System .Configuration .Internal.IConfigSystem,string,System.Configuration.Configuration) <0x0009c> at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem,string) <0x00099> at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem,string) <0x00071> at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem,string) <0x00071> at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem,string) <0x00071> at System.Configuration.InternalConfigurationFactory.Create (System.Type,object[]) <0x00045> at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (System .Configuration .ConfigurationUserLevel,System.Reflection.Assembly,string) <0x0023f> at System .Configuration .ClientConfigurationSystem .System.Configuration.Internal.IInternalConfigSystem.GetSection (string) <0x00048> at System.Configuration.ConfigurationManager.GetSection (string) <0x0001b> at System.Configuration.ConfigurationSettings.GetConfig (string) <0x0000a>
  at System.Xml.Serialization.XmlSerializer..cctor () <0x001da>
at (wrapper runtime-invoke) System.Xml.Serialization.XmlSerializer.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at Beagle.Indexable..cctor () <0xffffffff>
  at Beagle.Indexable..cctor () <0x00009>
at (wrapper runtime-invoke) Beagle.Indexable.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at ExtractContentTool.Main (string[]) <0xffffffff>
  at ExtractContentTool.Main (string[]) <0x0029d>
at (wrapper runtime-invoke) ExtractContentTool.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	beagle-extract-content [0x816b1fa]
	beagle-extract-content [0x807de81]
	[0xb7fc2440]
	beagle-extract-content [0x810efc2]
	beagle-extract-content [0x810f2cc]
	beagle-extract-content [0x80d273b]
	[0xb6ed3bfe]
	[0xb6ed2f1f]
	[0xb6ed2c42]
	[0xb6ed2b89]
	[0xb6ed2af8]
	[0xb6ed28f9]
	[0xb6ed271d]
	[0xb6ed21cd]
	[0xb6ed1d3a]
	[0xb6ed1d12]
	[0xb6ed1d12]
	[0xb6ed1d12]
	[0xb6ed1a66]
	[0xb6ece930]
	[0xb6ece351]
	[0xb6ece174]
	[0xb6ece0ab]
	[0xb6ecde33]
	[0xb6ecdbee]
	beagle-extract-content(mono_runtime_class_init+0x311) [0x8099ca1]
	beagle-extract-content [0x807f4ed]
	[0xb7bed264]
	[0xb6ecdb16]
	beagle-extract-content(mono_runtime_class_init+0x311) [0x8099ca1]
	beagle-extract-content [0x807f4ed]
	[0xb7bed264]
	[0xb79371c4]
	beagle-extract-content(mono_runtime_exec_main+0x10e) [0x809c68e]
	beagle-extract-content(mono_runtime_run_main+0x173) [0x809c933]
	beagle-extract-content(mono_main+0x6a9) [0x805acd9]
	beagle-extract-content [0x805a122]
	/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d7e450]
	beagle-extract-content [0x805a091]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210947040 (LWP 24549)]
[New Thread -1220641904 (LWP 24635)]
[New Thread -1220494448 (LWP 24550)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7fc2410 in __kernel_vsyscall ()
  3 Thread -1220494448 (LWP 24550)  0xb7fc2410 in __kernel_vsyscall ()
  2 Thread -1220641904 (LWP 24635)  0xb7fc2410 in __kernel_vsyscall ()
  1 Thread -1210947040 (LWP 24549)  0xb7fc2410 in __kernel_vsyscall ()

Thread 3 (Thread -1220494448 (LWP 24550)):
#0  0xb7fc2410 in __kernel_vsyscall ()
#1  0xb7ee9196 in __nanosleep_nocancel ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08105c91 in mono_type_full_name ()
#3 0xb7ee14fb in start_thread () from /lib/tls/i686/cmov/ libpthread.so.0
#4  0xb7e3ee5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1220641904 (LWP 24635)):
#0  0xb7fc2410 in __kernel_vsyscall ()
#1  0xb7ee5aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x081088ff in mono_type_full_name ()
#3  0x0810b3cd in mono_type_full_name ()
#4  0x0810b43c in mono_type_full_name ()
#5  0x0811ba1a in mono_pthread_key_for_tls ()
#6  0x00000000 in ?? ()

Thread 1 (Thread -1210947040 (LWP 24549)):
#0  0xb7fc2410 in __kernel_vsyscall ()
#1 0xb7ee899b in __read_nocancel () from /lib/tls/i686/cmov/ libpthread.so.0
#2  0xb7f64ecd in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
#3  0xb7f6531f in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
#4  0xb7f65d1d in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#5 0xb7f661dc in g_spawn_command_line_sync () from /usr/lib/ libglib-2.0.so.0
#6  0x0816b295 in mono_print_thread_dump ()
#7  0x0807de81 in mono_breakpoint_clean_code ()
#8  <signal handler called>
#9  0x08109bf0 in mono_type_full_name ()
#10 0x0810efc2 in mono_type_full_name ()
#11 0x0810f2cc in mono_type_full_name ()
#12 0x080d273b in mono_thread_hazardous_free_or_queue ()
#13 0xb6ed3bfe in ?? ()
#14 0x00048b90 in ?? ()
#15 0x00000003 in ?? ()
#16 0x00000001 in ?? ()
#17 0x00000001 in ?? ()
#18 0x00000000 in ?? ()
#0  0xb7fc2410 in __kernel_vsyscall ()


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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]