[Devel] unixODBC connection
Lenir
lenirsantiago at yahoo.com
Fri Jan 6 22:05:16 CET 2006
Hey guys
Were you guys able to find anything about this problem? Was Marco able to
look at the code?
Regards
Lenir
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: Thursday, December 29, 2005 6:24 AM
To: Lenir
Cc: devel at openser.org
Subject: Re: [Devel] unixODBC connection
Hi Lenir,
on a first look, I would say the problem is in the odbc library - maybe
the crash is triggered by an invalid parameter...I will try to debug the
problem...
regards and A Happy New Year,
bogdan
Lenir wrote:
> Ok, I did more testing, sometimes the modules startup fine if I don't
> use all numbers (ip addresses) in some of the fields of some tables
> (ie. trusted, domain), or if I start or end the values with a blank
> space, but it does not always work.
>
> Also, I figured out how to do a backtrace correctly, here it is:
>
> WARNING: no fork mode
>
> stateless - initializing
>
> 0(0) Maxfwd module- initializing
>
> 0(0) ACC - initializing
>
> 0(0) AUTH module - initializing
>
> textops - initializing
>
> Connected
>
> Returned connection string was:
>
> DSN=sybasetds;UID=sa;PWD=DialerR0x;
>
> 0(0) AVPops - initializing
>
> 0(0) permissions - initializing
>
> 0(0) WARNING: File not found: /usr/local/etc/openser/permissions.allow
>
> 0(0) Default allow file (/usr/local/etc/openser/permissions.allow) not
> found => empty rule set
>
> 0(0) WARNING: File not found: /usr/local/etc/openser/permissions.deny
>
> 0(0) Default deny file (/usr/local/etc/openser/permissions.deny) not
> found => empty rule set
>
> Connected
>
> Returned connection string was:
>
> DSN=sybasetds;UID=admin;PWD=password;
>
> *** glibc detected *** free(): invalid pointer: 0x08ec15c8 ***
>
> Program received signal SIGABRT, Aborted.
>
> [Switching to Thread -1208084800 (LWP 7823)]
>
> 0x0017f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>
> (gdb) bt
>
> #0 0x0017f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>
> #1 0x001bf7d5 in raise () from /lib/tls/libc.so.6
>
> #2 0x001c1149 in abort () from /lib/tls/libc.so.6
>
> #3 0x001f340a in __libc_message () from /lib/tls/libc.so.6
>
> #4 0x001f9b3f in _int_free () from /lib/tls/libc.so.6
>
> #5 0x001f9eba in free () from /lib/tls/libc.so.6
>
> #6 0x0032b85e in tds_dstr_free (s=0x8ec15c8) at tdsstring.c:71
>
> #7 0x0030cd5f in desc_free_record (drec=0x8ed87c0) at descriptor.c:140
>
> #8 0x0030cf4c in desc_free_records (desc=0x8ec0f60) at descriptor.c:152
>
> #9 0x00305704 in odbc_populate_ird (stmt=0x8ed8968) at odbc.c:2269
>
> #10 0x003060db in _SQLFetch (stmt=0x8ed8968) at odbc.c:2649
>
> #11 0x00306172 in SQLFetch (hstmt=0x8ed8968) at odbc.c:2777
>
> #12 0x0052f6b6 in SQLFetch () from /usr/lib/libodbc.so.1
>
> #13 0x00f01510 in convert_result (_h=0x8147bb8, _r=0x8147e20) at res.c:193
>
> #14 0x00eff445 in store_result (_h=0x8147bb8, _r=0xbffe944c) at
> dbase.c:339
>
> #15 0x002d5c15 in reload_trusted_table () at trusted.c:371
>
> #16 0x002d61e8 in init_trusted () at trusted.c:125
>
> #17 0x002d3395 in mod_init () at permissions.c:460
>
> #18 0x08084a93 in init_mod (m=0x811da10) at sr_module.c:460
>
> #19 0x08084a47 in init_mod (m=0x811dab0) at sr_module.c:457
>
> #20 0x08084a47 in init_mod (m=0x811db50) at sr_module.c:457
>
> #21 0x08084a47 in init_mod (m=0x811dbf0) at sr_module.c:457
>
> #22 0x08084a47 in init_mod (m=0x811dc90) at sr_module.c:457
>
> #23 0x08084a47 in init_mod (m=0x811dd30) at sr_module.c:457
>
> #24 0x08084a47 in init_mod (m=0x811ddd0) at sr_module.c:457
>
> #25 0x0806426d in main (argc=1, argv=0xbffe96e4) at main.c:1450
>
> (gdb)
>
> Lenir
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list