[clug] Reading strace output
Craig Small
csmall at enc.com.au
Thu May 13 20:05:38 MDT 2010
On Fri, May 14, 2010 at 11:38:13AM +1000, Carlo Hamalainen wrote:
> I'm having trouble with an ODBC connection to an Intersystems Cache
> database. Every few days I am unable to connect, whether I try pyodbc
> or isql from unixodbc directly. I'm using the ODBC driver from
> Intersystems.
It looks like the remote system tells the local system to go away
"Access Denied" which then starts your program on a eat all the memory
mode by shifting the data segment.
It's hard to work out where exactly the problem is. The program does see
the message and closes the socket, but after that its difficult to tell
what it's trying to do. A wild guess would be mallocing a buffer and
trying to read a closed socket. In any case its a bug.
If you have access to the source code I'd be looking for the close()s
and probably printing some stderr messages or logs.
- Craig
--
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/ Debian GNU/Linux, software should be Free
More information about the linux
mailing list