rlm_sql segmentation fault

2003-07-15 Thread Chris Akens
Currently trying to use iODBC to connect to a MSSQL database. I am using the
latest CVS snapshot of freeradius. Appears iODBC has been corrently
installed. I took Alan's previous advice of make -- make install in the
rlm_sql_iodbc dir and everything appeared to make fine.

The issue I am having is when i start radiusd there is a segmentation fault
after rlm_sql loads. Below is part of the debug.


rlm_sql (sql): Driver rlm_sql_iodbc (module rlm_sql_iodbc) loaded and linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]/RedDB
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect to rlm_sql_iodbc #0
Segmentation fault


This is where I am having issues, I am unsure where exactly the problem
lies. In radiusd.conf...mssql.conf...?? I can provide further info if
needed.

Any and all help is greatly appreciated.

Thanks,
Chris


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: rlm_sql segmentation fault

2003-07-15 Thread Paul Hampson
 From: Chris Akens
 Sent: Wednesday, 16 July 2003 3:05 AM

 Currently trying to use iODBC to connect to a MSSQL database. I am using the
 latest CVS snapshot of freeradius. Appears iODBC has been corrently
 installed. I took Alan's previous advice of make -- make install in the
 rlm_sql_iodbc dir and everything appeared to make fine.

All the usual warnings abound of making sure you're not mixing modules
from different FreeRADIUS versions.

 The issue I am having is when i start radiusd there is a segmentation fault
 after rlm_sql loads. Below is part of the debug.

 rlm_sql (sql): Driver rlm_sql_iodbc (module rlm_sql_iodbc) loaded and linked
 rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]/RedDB
 rlm_sql (sql): starting 0
 rlm_sql (sql): Attempting to connect to rlm_sql_iodbc #0

Is this the latest? According to CVSweb, that should be
Attempting to connect rlm_sql_iodbc #0 What's the Version: line
at the top of src/modules/rlm_sql/sql.c say?

 Segmentation fault

 This is where I am having issues, I am unsure where exactly the problem
 lies. In radiusd.conf...mssql.conf...?? I can provide further info if
 needed.

Gosh, I hope a bad configuration doesn't lead to segfaults :-)

 Any and all help is greatly appreciated.

I think you need to get stuck into doc/bugs, particularly the part about
what to do if the server coredumps. Unless someone else recognises this
problem immediately, the gdb backtrace should shed some light on the
matter...

--
=
Paul TBBle Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

This is a one line proof...if we start
sufficiently far to the left.
-- Cambridge University Math Department
-
Random signature generator 3.0 by Paul TBBle Hampson
=


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html