gnucobol-users
[Top][All Lists]
Advanced

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

[open-cobol-list] cobc Segmentation fault (core dumped)


From: Michael Anderson
Subject: [open-cobol-list] cobc Segmentation fault (core dumped)
Date: Mon, 16 Sep 2013 12:09:29 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130803 Thunderbird/17.0.8

Hello all!

I'm working on a personal tax project, and wrote a little conversion utility.

When I compile it, a SEGV occurs......

Any pointers/hints to debug?
Any OC developers want to look at it?
I can send the cobol source to anyone interested.
Be forewarned, My COBOL coding style has angered some traditional COBOL programmers.

--
Thanks,
Mike.

Screen scrape follows:

$ cobc -v -x -free -ffunctions-all qif2csv.cob
preprocessing qif2csv.cob into /tmp/cob7521_0.cob
parsing /tmp/cob7521_0.cob (qif2csv.cob)
return status: 0
translating /tmp/cob7521_0.cob into /tmp/cob7521_0.c (qif2csv.cob)
Segmentation fault (core dumped)
j
$ gdb /usr/local/bin/cobc ./core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/bin/cobc...(no debugging symbols found)...done.
[New LWP 17921]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `cobc -x -Icopylib -free -ffunctions-all qif2csv.cob'.
Program terminated with signal 11, Segmentation fault.
#0  0x080511f8 in cb_field_variable_address ()
(gdb)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]