Skip to Content.
Sympa Menu

freetds - dbopen problem in dblib under Debian 2.0.36 (really)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Tom Channic" <channic AT kcco.com>
  • To: freetds
  • Subject: dbopen problem in dblib under Debian 2.0.36 (really)
  • Date: Thu, 29 Jul 1999 11:13:16


Hi,

I'm trying to port a SUNOS 4.x app to Debian 2.0.36.

I got it to compile but when it runs I get a segmentation fault.

Looking at the stack frame in the debugger, I can see that it gets
into the "search_interfaces_file" function and finds the correct
info from the interfaces file, and calls lookup_host. The SEGV
comes when lookup_host calls getservbyname, which calls getservbyname_r,
which then calls three unnamed functions, the last of which calls
dbopen again (!?) with a null value for server.

Anyone seen anything like this before?

Tom Channic




Archive powered by MHonArc 2.6.24.

Top of Page