John Liu wrote:
Dear All,

I also have another question. I compiled an Molecular dynamic simulation
software, DL_Poly. I got the executable file. It runs great in other
Linux/Unix system, if I compiled it in other Linux/Unix. But here I compiled
it and get the executable file, it doesn't work. The error message like this

Exception: STATUS_STACK_OVERFLOW at eip=0049A913
eax=0005E10C ebx=00000000 ecx=00032CAC edx=0048D100 esi=610FF1A0
edi=0049B530
ebp=0022CCB8 esp=0022CCA4 program=C:\cygwin\home\Owner\orig\DLPOLY.X, pid
4912,
thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CCB8  0049A913  (0048D100, 61169244, 0022CCE8, 0048CE58)
0022CCE8  0048CE83  (00000001, 61169244, 04C20090, 0022CC70)
0022CD98  61006168  (00000000, 0022CDD0, 610054E0, 0022CDD0)
610054E0  61004416  (0000009C, A02404C7, E8610FF1, FFFFFF48)
      6 [main] DLPOLY.X 4912 _cygtls::handle_exceptions: Error while dumping
sta
te (probably corrupted stack)

Anybody tell me why?


Sure.  DL_Poly has a bug.  Just because a program runs on other platforms
does not mean that it's bug free or even very portable.  You should build
the program with debug symbols and run it under gdb.  When the program
crashes, you'll see where it is and be able to look for causes.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

--
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/

Reply via email to