- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PROGRAM Main
IMPLICIT NONE
C ..
C .. Local Scalars ..
DOUBLE PRECISION results
CHARACTER*4 aString
C ..
C .. External Function ..
DOUBLE PRECISION Test_Function
C ..
C .. Executable Statements ..
aString='abcd'
results = Test_Function(aString)
STOP
END
DOUBLE PRECISION Function Test_Function(aString)
IMPLICIT NONE
C ..
C .. Scalar Arguments ..
CHARACTER*4 aString
C ..
C .. Local Scalars ..
DOUBLE PRECISION var3
C ..
C .. Executable Statements ..
IF (aString.EQ.'abcd') THEN
var3 = 650.0D0
END IF
Test_Function = var3
RETURN
END
[Session started at 2009-12-31 12:32:41 -0800.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009)
Copyright 2004 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 "x86_64-apple-darwin".tty /dev/ttys016
sharedlibrary apply-load-rules all
Loading program into debugger
Program loaded.
run
[Switching to process 1332]
Running
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Attempt to take address of value not located in memory.)
Current language: auto; currently fortran
The Debugger has exited due to signal 11 (SIGSEGV).The Debugger has exited due to signal 11 (SIGSEGV).
(gdb)
---------------- Console-----------------
Process: gdb-i386-apple-darwin [1307]
Path: /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
Identifier: gdb-i386-apple-darwin
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: Xcode [546]
Date/Time: 2009-12-31 12:31:49.415 -0800
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Crashed Thread: 0 gdb main thread Dispatch queue: com.apple.main-thread
Thread 0 Crashed: gdb main thread Dispatch queue: com.apple.main-thread
0 gdb-i386-apple-darwin 0x000000010004129b symbol_natural_name + 4
1 gdb-i386-apple-darwin 0x000000010000e02c print_syms_for_block + 600
2 gdb-i386-apple-darwin 0x000000010000eb00 list_args_or_locals + 411
3 gdb-i386-apple-darwin 0x000000010000ecc1 mi_cmd_stack_list_args + 335
4 gdb-i386-apple-darwin 0x00000001000138c5 captured_mi_execute_command + 367
5 gdb-i386-apple-darwin 0x000000010006e6f9 catch_exception + 57
6 gdb-i386-apple-darwin 0x000000010001140a mi_execute_command + 140
7 gdb-i386-apple-darwin 0x0000000100073357 process_event + 133
8 gdb-i386-apple-darwin 0x000000010007406b gdb_do_one_event + 1049
9 gdb-i386-apple-darwin 0x000000010006e7e0 catch_errors + 70
10 gdb-i386-apple-darwin 0x0000000100073819 start_event_loop + 60
11 gdb-i386-apple-darwin 0x000000010007083c captured_command_loop + 9
12 gdb-i386-apple-darwin 0x000000010006e7e0 catch_errors + 70
13 gdb-i386-apple-darwin 0x0000000100070831 captured_main + 4851
14 gdb-i386-apple-darwin 0x000000010006e7e0 catch_errors + 70
15 gdb-i386-apple-darwin 0x000000010006f537 gdb_main + 43
16 gdb-i386-apple-darwin 0x0000000100000f29 main + 61
17 gdb-i386-apple-darwin 0x0000000100000ee4 start + 52
Thread 1:
0 libSystem.B.dylib 0x00007fff81b1c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff81b1cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff81b1ca55 start_wqthread + 13
Thread 2: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff81b1bbba kevent + 10
1 libSystem.B.dylib 0x00007fff81b1da85 _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff81b1d75c _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff81b1d286 _dispatch_worker_thread2 + 244
4 libSystem.B.dylib 0x00007fff81b1cbb8 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff81b1ca55 start_wqthread + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff81b02e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff81b034ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff88b227a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff88b21c2f CFRunLoopRunSpecific + 575
4 com.apple.DebugSymbols 0x00007fff806974ac SpotlightQueryThread(void*) + 380
5 libSystem.B.dylib 0x00007fff81b3bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff81b3be41 thread_start + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff81b1c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff81b1cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff81b1ca55 start_wqthread + 13
Thread 5: signal thread
0 libSystem.B.dylib 0x00007fff81b51022 __wait4 + 10
1 gdb-i386-apple-darwin 0x000000010015ef08 macosx_signal_thread + 189
2 libSystem.B.dylib 0x00007fff81b3bf8e _pthread_start + 331
3 libSystem.B.dylib 0x00007fff81b3be41 thread_start + 13
Thread 6: exception thread
0 libSystem.B.dylib 0x00007fff81b0d426 read + 10
1 gdb-i386-apple-darwin 0x000000010015fc31 macosx_exception_thread + 1200
2 libSystem.B.dylib 0x00007fff81b3bf8e _pthread_start + 331
3 libSystem.B.dylib 0x00007fff81b3be41 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000014 rcx: 0x0000000000000000 rdx: 0x00007fff70455560
rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x00007fff5fbff110 rsp: 0x00007fff5fbff110
r8: 0x00007fff5fbff0d0 r9: 0x0000000000000000 r10: 0x00000001015051e0 r11: 0x0000000100055230
r12: 0x00000001019e10a0 r13: 0x0000000000000000 r14: 0x00000001015064b0 r15: 0x0000000000000000
rip: 0x000000010004129b rfl: 0x0000000000010246 cr2: 0x0000000000000018
Binary Images:
0x100000000 - 0x1002a8fe7 +gdb-i386-apple-darwin ??? (???) <29E83524-92E9-6D66-329F-63BDA31D8644> /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???)
0x7fff8022c000 - 0x7fff802e2fff libobjc.A.dylib ??? (???)
0x7fff80333000 - 0x7fff80349fef libbsm.0.dylib ??? (???) <42D3023A-A1F7-4121-6417-FCC6B51B3E90> /usr/lib/libbsm.0.dylib
0x7fff80692000 - 0x7fff806d0fef com.apple.DebugSymbols 1.1 (70)
0x7fff813bc000 - 0x7fff813bcff7 com.apple.CoreServices 44 (44) <210A4C56-BECB-E3E4-B6EE-7EC53E02265D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff81748000 - 0x7fff81783ff7 com.apple.AE 496.1 (496.1) <27D2D2E9-B309-7E65-8C3F-7FF01148F0DE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff81b02000 - 0x7fff81cc0ff7 libSystem.B.dylib ??? (???) <526DD3E5-2A8B-4512-ED97-01B832369959> /usr/lib/libSystem.B.dylib
0x7fff81d8e000 - 0x7fff820c0fef com.apple.CoreServices.CarbonCore 861.2 (861.2) <39F3B259-AC2A-792B-ECFE-4F3E72F2D1A5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff82380000 - 0x7fff823ddfef com.apple.framework.IOKit 2.0 (???)
0x7fff823de000 - 0x7fff82497fff libsqlite3.dylib ??? (???) <5A15E12A-AE8F-1A36-BBC7-564E7D7AD0FB> /usr/lib/libsqlite3.dylib
0x7fff82498000 - 0x7fff82528fff com.apple.SearchKit 1.3.0 (1.3.0) <4175DC31-1506-228A-08FD-C704AC9DF642> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff825d6000 - 0x7fff825e5fff com.apple.NetFS 3.2.1 (3.2.1)
0x7fff826fe000 - 0x7fff82729ff7 libxslt.1.dylib ??? (???) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x7fff82acb000 - 0x7fff82ad1ff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff82ae8000 - 0x7fff82b32ff7 com.apple.Metadata 10.6.2 (507.4)
0x7fff82f2c000 - 0x7fff831b1ff7 com.apple.security 6.0 (36910) <67DF686D-B991-D0D6-20B6-9EA668018466> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff83ddc000 - 0x7fff83e98ff7 com.apple.CoreServices.OSServices 352 (352)
0x7fff84182000 - 0x7fff841fffef libstdc++.6.dylib ??? (???) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff84348000 - 0x7fff84356ff7 libkxld.dylib ??? (???) <568C35E7-B101-3F1E-0361-3E1E9F15C90B> /usr/lib/system/libkxld.dylib
0x7fff84de5000 - 0x7fff84fa3fff libicucore.A.dylib ??? (???) <5BD16988-545F-6A8C-9A6F-FB18ACDCAEC2> /usr/lib/libicucore.A.dylib
0x7fff85067000 - 0x7fff850b3fff libauto.dylib ??? (???) <072804DF-36AD-2DBE-7EF8-639CFB79077F> /usr/lib/libauto.dylib
0x7fff850ef000 - 0x7fff85117fff com.apple.DictionaryServices 1.1.1 (1.1.1) <9FD709FC-23F0-F270-EAC1-C590CD516A36> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff85ac4000 - 0x7fff85ad5fef libz.1.dylib ??? (???) <3A7A4C48-A4C8-A78A-8B87-C0DDF6601AC8> /usr/lib/libz.1.dylib
0x7fff85b09000 - 0x7fff85ba9fff com.apple.LaunchServices 362 (362)
0x7fff8613a000 - 0x7fff86251fef libxml2.2.dylib ??? (???)
0x7fff865b9000 - 0x7fff86685fff com.apple.CFNetwork 454.5 (454.5) <319C7138-2839-DA5E-413A-618248BD4A32> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff8676c000 - 0x7fff86770ff7 libmathCommon.A.dylib ??? (???) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff86db6000 - 0x7fff86df7ff7 com.apple.SystemConfiguration 1.10.1 (1.10.1)
0x7fff8793c000 - 0x7fff87a34fe7 libiconv.2.dylib ??? (???)
0x7fff880d4000 - 0x7fff88113fef libncurses.5.4.dylib ??? (???)
0x7fff88ad7000 - 0x7fff88c4aff7 com.apple.CoreFoundation 6.6.1 (550.13) <1E952BD9-37C6-16BE-B2F0-CD92A6283D37> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <526DD3E5-2A8B-4512-ED97-01B832369959> /usr/lib/libSystem.B.dylib
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page