[Mono-bugs] [Bug 462438] SIGSEGV while running tests/pinvoke2.exe on PowerPC
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 30 13:20:32 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=462438
User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462438#c6
--- Comment #6 from Steven Munroe <munroesj at us.ibm.com> 2008-12-30 11:20:29 MST ---
gdb session:
build32_22/mono/tests> gdb ../../mono/mini/mono
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007 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 "ppc-suse-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint
Signal Stop Print Pass to program Description
SIGXCPU No No Yes CPU time limit exceeded
SIGPWR No No Yes Power fail/restart
SIG33 No No Yes Real-time event 33
SIG35 No No Yes Real-time event 35
(gdb) set environment MONO_PATH ../../../mcs/class/lib/net_2_0
(gdb) set environment MONO_SHARED_DIR
/home/sjmunroe/src/mono-ppc/build32_22/runtime
(gdb) set environment MONO_CFG_DIR
/home/sjmunroe/src/mono-ppc/build32_22/runtime/etc
(gdb) run pinvoke2.exe
Starting program: /home/sjmunroe/src/mono-ppc/build32_22/mono/mini/mono
pinvoke2.exe
[Thread debugging using libthread_db enabled]
[New Thread 0xf7fb6210 (LWP 28029)]
[New Thread 0xf77a34b0 (LWP 28032)]
[New Thread 0xf77434b0 (LWP 28033)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7fb6210 (LWP 28029)]
0x1015fa38 in mono_class_init (class=0x10381e48)
at /home/sjmunroe/src/mono-ppc/mono-2.2-patched/mono/metadata/class.c:3525
3525 if (class->generic_class && !class->generic_class->is_dynamic)
{
(gdb) print class->generic_class
$1 = (MonoGenericClass *) 0xffffffff
(gdb) x/50 *class
Value can't be converted to integer.
(gdb) x/50 class
0x10381e48: 0x1039bde8 0x10300ed8 0x00000000 0x00000000
0x10381e58: 0x1037dd18 0x40000011 0x6c696274 0x65737400
0x10381e68: 0x00000010 0x00000019 0x80000000 0x0001ffff
0x10381e78: 0x00000002 0x10243f30 0x1038c9e0 0x00000019
0x10381e88: 0x1030f420 0x10381de0 0x00000000 0x00000000
0x10381e98: 0x1038da10 0x00000011 0x1038c800 0x00000000
0x10381ea8: 0x00000000 0x00000011 0x10308e90 0x00000000
0x10381eb8: 0x00000000 0x00000019 0x10309900 0x10381de0
0x10381ec8: 0x00000000 0x00000000 0x1038dae0 0x00000031
0x10381ed8: 0x00000100 0x00000000 0xffffffff 0xffffffff
0x10381ee8: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
0x10381ef8: 0xffffffff 0x01ffffff 0x00000000 0x000000d1
0x10381f08: 0x10381f08 0x10381f08
(gdb) print *class
$2 = {element_class = 0x1039bde8, cast_class = 0x10300ed8, supertypes = 0x0,
idepth = 0, rank = 0 '\0', instance_size = 272096536, inited = 0,
init_pending = 1, size_inited = 0, valuetype = 0, enumtype = 0,
blittable = 0, unicode = 0, wastypebuilder = 0, min_align = 0 '\0',
packing_size = 0, ghcimpl = 0, has_finalize = 0, marshalbyref = 0,
contextbound = 0, delegate = 0, gc_descr_inited = 0, has_cctor = 0,
has_references = 1, has_static_refs = 0, no_special_static_fields = 0,
is_com_object = 0, nested_classes_inited = 1, simd_type = 0,
exception_type = 105 'i', parent = 0x65737400, nested_in = 0x10,
nested_classes = 0x19, image = 0x80000000,
name = 0x1ffff <Address 0x1ffff out of bounds>,
name_space = 0x2 <Address 0x2 out of bounds>, enum_basetype = 0x10243f30,
declsec_flags = 272157152, type_token = 25, vtable_size = 271643680,
interface_count = 4152, interface_id = 7648, max_interface_id = 0,
interface_offsets_count = 0, interfaces_packed = 0x0,
interface_offsets_packed = 0x1038da10,
interface_bitmap = 0x11 <Address 0x11 out of bounds>,
interfaces = 0x1038c800, sizes = {class_size = 0, element_size = 0,
generic_param_token = 0}, flags = 0, field = {first = 17,
count = 271617680}, method = {first = 0, count = 0}, property = {
first = 25, count = 271620352}, event = {first = 272113120, count = 0},
marshal_info = 0x0, fields = 0x1038dae0, properties = 0x31, events = 0x100,
methods = 0x0, this_arg = {data = {klass = 0xffffffff, type = 0xffffffff,
---Type <return> to continue, or q <return> to quit---
array = 0xffffffff, method = 0xffffffff, generic_param = 0xffffffff,
generic_class = 0xffffffff}, attrs = 65535, type = 255, num_mods = 63,
byref = 1, pinned = 1, modifiers = 0x10381ee8}, byval_arg = {data = {
klass = 0xffffffff, type = 0xffffffff, array = 0xffffffff,
method = 0xffffffff, generic_param = 0xffffffff,
generic_class = 0xffffffff}, attrs = 65535, type = 255, num_mods = 63,
byref = 1, pinned = 1, modifiers = 0x10381ef0},
generic_class = 0xffffffff, generic_container = 0xffffffff,
reflection_info = 0xffffffff, gc_descr = 0x1ffffff, runtime_info = 0x0,
next_class_cache = 0xd1, vtable = 0x10381f08, field_def_values = 0x10381f08}
(gdb)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list