[fpc-pascal] GDB Crash with FPC 2.2.1 (works with 2.2.0)
Tobias Giesen
tobias_subscriber at tgtools.com
Sat May 31 11:56:09 CEST 2008
Hello,
now that the Lazarus snapshots are including FPC 2.2.1 for OS X (i386),
I am using this version. I had to add the -Cg- option because my old
assembly code is not compatible with PIC.
Unfortunately the debugger crashes with the following crash report. Is
there anything I can do to make it work? I am compiling a medium-sized
application with LCL and the Carbon widgetset.
Thanks
Tobias
-------------------
Date/Time: 2008-05-31 11:27:52.612 +0200
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: gdb-i386-apple-darwin
Path: /usr/libexec/gdb/gdb-i386-apple-darwin
Parent: lazarus [6600]
Version: ??? (???)
PID: 7572
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x4d7f9dd4
Thread 0 Crashed:
0 gdb-i386-apple-darwin 0x0019f5ec d_substitution + 151
1 gdb-i386-apple-darwin 0x001a2ddd cplus_demangle_type + 885
2 gdb-i386-apple-darwin 0x001a2ec1 cplus_demangle_type + 1113
3 gdb-i386-apple-darwin 0x001a2f2e d_bare_function_type + 61
4 gdb-i386-apple-darwin 0x001a2ca4 cplus_demangle_type + 572
5 gdb-i386-apple-darwin 0x001a2f2e d_bare_function_type + 61
6 gdb-i386-apple-darwin 0x001a38ac d_encoding + 1007
7 gdb-i386-apple-darwin 0x001a3b1a d_demangle + 532
8 gdb-i386-apple-darwin 0x001a3c86 cplus_demangle_v3 + 20
9 gdb-i386-apple-darwin 0x000de332 cplus_demangle + 128
10 gdb-i386-apple-darwin 0x0002fa60 symbol_find_demangled_name + 99
11 gdb-i386-apple-darwin 0x0002fcca symbol_set_names + 567
12 gdb-i386-apple-darwin 0x000b0c61 prim_record_minimal_symbol_and_info + 395
13 gdb-i386-apple-darwin 0x0015284b record_minimal_symbol + 1209
14 gdb-i386-apple-darwin 0x001574bb read_dbx_symtab + 1358
15 gdb-i386-apple-darwin 0x0015a023 dbx_symfile_read + 593
16 gdb-i386-apple-darwin 0x00166c7a macho_build_psymtabs + 2601
17 gdb-i386-apple-darwin 0x00166dd5 macho_symfile_read + 263
18 gdb-i386-apple-darwin 0x0008d570 syms_from_objfile + 1282
19 gdb-i386-apple-darwin 0x000912af symbol_file_add_with_addrs_or_offsets + 647
20 gdb-i386-apple-darwin 0x00091a06 symbol_file_add_main_1 + 233
21 gdb-i386-apple-darwin 0x00091b27 symbol_file_command + 216
22 gdb-i386-apple-darwin 0x0009fce3 file_command + 44
23 gdb-i386-apple-darwin 0x00022bbd execute_command + 702
24 gdb-i386-apple-darwin 0x00015ff0 mi_execute_cli_command + 144
25 gdb-i386-apple-darwin 0x00017003 captured_mi_execute_command + 371
26 gdb-i386-apple-darwin 0x0003d661 catch_exception + 65
27 gdb-i386-apple-darwin 0x000163d8 mi_execute_command + 157
28 gdb-i386-apple-darwin 0x0001657f mi_execute_command_wrapper + 47
29 gdb-i386-apple-darwin 0x00040962 handle_file_event + 344
30 gdb-i386-apple-darwin 0x00040361 process_event + 132
31 gdb-i386-apple-darwin 0x0004123e gdb_do_one_event + 1159
32 gdb-i386-apple-darwin 0x0003d87f catch_errors + 76
33 gdb-i386-apple-darwin 0x000403bf start_event_loop + 81
34 gdb-i386-apple-darwin 0x00017abd captured_command_loop + 17
35 gdb-i386-apple-darwin 0x0003d87f catch_errors + 76
36 gdb-i386-apple-darwin 0x00018ddb captured_main + 4835
37 gdb-i386-apple-darwin 0x0003d87f catch_errors + 76
38 gdb-i386-apple-darwin 0x00018e1b gdb_main + 62
39 gdb-i386-apple-darwin 0x000024b9 main + 51
40 gdb-i386-apple-darwin 0x0000246a _start + 216
41 gdb-i386-apple-darwin 0x00002391 start + 41
More information about the fpc-pascal
mailing list