Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ problem with "system" command of unix on cygwin,getting codedump
|
problem with "system" command of unix on cygwin,getting codedump
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Amitb
(1 post) Bio
|
| Date
| Thu 12 Aug 2004 11:11 AM (UTC) |
| Message
| Hi..
i'm getting core dump after the "system" command of unix although the command is successful.
i'm pasting the dump below..
Breakpoint 1, iclsn_handle_files (prdCatBuff=0x22ed90, prdCatRowCnt=11, ieIdBuff=0x22ee70, ieIdRowCnt=1)
at iclsn_handler.c:1050
1050 sprintf(commandLine, "rm -f %s%s%s", inputFilePath, baseFileName,input_ext);
(gdb) n
1051 rc = system(commandLine);
(gdb) p commandLine
$1 = "rm -f /cygdrive/c/source/bins/test/ACTV_IC_000000_20040809_082000.FIN\000", ' ' <repeats 930 times>
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
0x610b4625 in random () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x610b4625 in random () from /usr/bin/cygwin1.dll
#1 0x6105c355 in dll_entry@12 () from /usr/bin/cygwin1.dll
#2 0x61096644 in sigfillset () from /usr/bin/cygwin1.dll
#3 0x610978af in sigfillset () from /usr/bin/cygwin1.dll
#4 0x61097bb5 in sigfillset () from /usr/bin/cygwin1.dll
#5 0x61097b28 in sigfillset () from /usr/bin/cygwin1.dll
#6 0x6109cf5d in sync () from /usr/bin/cygwin1.dll
#7 0x6108df2f in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#8 0x004017a4 in main () at iclsn_main.c:300 | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sun 15 Aug 2004 01:43 AM (UTC) |
| Message
| | Hard to say from that, try rebuilding with debugging enabled, -G3, I think on the compile line in the Makefile. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,282 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top