This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trying to compile and run GPSIM


Hello, I tried to compile GPSIM 0.21.1 for simulation of Microchip PIC chips. But when I try to run it, I get Segmentation fault.

Strace gives me following. It looks that problem appears somewhere after the usage of dll_crt0_1.
But I don't have a clue what to do with the results. Can somebody help me ?


Thanks,
Vasek

END OF STRACE OUTPUT:
164 94486 [main] gpsim 3668 normalize_posix_path: src /dev/conout
105 94591 [main] gpsim 3668 normalize_posix_path: /dev/conout = normalize_po
six_path (/dev/conout)
142 94733 [main] gpsim 3668 mount_info::conv_to_win32_path: conv_to_win32_pa
th (/dev/conout)
144 94877 [main] gpsim 3668 mount_info::conv_to_win32_path: src_path /dev/co
nout, dst conout, flags 0x2, rc 0
152 95029 [main] gpsim 3668 dtable::build_fhandler: fd 2, fh 0x615F07C8
108 95137 [main] gpsim 3668 fhandler_base::set_flags: flags 0x10002, supplie
d_bin 0x0
139 95276 [main] gpsim 3668 fhandler_base::set_flags: O_TEXT/O_BINARY set in
flags 0x10000
141 95417 [main] gpsim 3668 fhandler_base::set_flags: filemode set to binary


213 95630 [main] gpsim 3668 fhandler_console::open: incremented open_fhs, no
w 3
141 95771 [main] gpsim 3668 fhandler_console::open: opened conin$ 0x13, cono
ut$ 0x37
162 95933 [main] gpsim 3668 fhandler_console::output_tcsetattr: 0 = tcsetatt
r (,A020018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
164 96097 [main] gpsim 3668 dtable::init_std_file_from_handle: fd 2, handle
0x17
254 96351 [main] gpsim 3668 dll_crt0_1: user_data->main 0x401690
114 96465 [main] gpsim 3668 wait_for_sigthread: wait_sig_inited 0x758
3524 99989 [main] gpsim 3668 handle_exceptions: In cygwin_except_handler exc
0xC0000005 at 0x3D105E sp 0x22FCF0
172 100161 [main] gpsim 3668 handle_exceptions: In cygwin_except_handler sig
= 11 at 0x3D105E
144 100305 [main] gpsim 3668 handle_exceptions: In cygwin_except_handler call
ing 0x0
100447 [main] gpsim 3668 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
142 100447 [main] gpsim 3668 handle_exceptions: Exception: STATUS_ACCESS_VIOL
ATION
228 100675 [main] gpsim 3668 try_to_debug: debugger_command ''
101342 [main] gpsim 3668 open_stackdumpfile: Dumping stack trace to gpsim.exe.s
tackdump
667 101342 [main] gpsim 3668 open_stackdumpfile: Dumping stack trace to gpsim
.exe.stackdump
3121664 3223006 [main] gpsim 3668 signal_exit: about to call do_exit (18B00)
210 3223216 [main] gpsim 3668 do_exit: do_exit (101120)
128 3223344 [main] gpsim 3668 void: 0x0 = signal (20, 0x1)
109 3223453 [main] gpsim 3668 void: 0x0 = signal (1, 0x1)
101 3223554 [main] gpsim 3668 void: 0x0 = signal (2, 0x1)
99 3223653 [main] gpsim 3668 void: 0x0 = signal (3, 0x1)
132 3223785 [main] gpsim 3668 fhandler_console::close: decremented open_fhs, n
ow 2
177 3223962 [main] gpsim 3668 fhandler_console::close: decremented open_fhs, n
ow 1
169 3224131 [main] gpsim 3668 fhandler_console::close: decremented open_fhs, n
ow 0
149 3224280 [main] gpsim 3668 sigproc_terminate: entering
108 3224388 [main] gpsim 3668 proc_terminate: nchildren 0, nzombies 0
102 3224490 [main] gpsim 3668 proc_terminate: leaving
156 3224646 [main] gpsim 3668 __to_clock_t: dwHighDateTime 0, dwLowDateTime 80
1152
140 3224786 [main] gpsim 3668 __to_clock_t: total 00000000 00000050
103 3224889 [main] gpsim 3668 __to_clock_t: dwHighDateTime 0, dwLowDateTime 30
0432
136 3225025 [main] gpsim 3668 __to_clock_t: total 00000000 0000001E
1966 3226991 [main] gpsim 3668 _pinfo::exit: Calling ExitProcess 101120




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]