[unixODBC-support] core dump in libodbccr.so on HP iA64

Cherie Soleil sunf2002 at gmail.com
Tue Nov 13 10:59:51 GMT 2007


Nick
Here I resend the trace as a zip file.
On Nov 13, 2007 6:55 PM, Cherie Soleil <sunf2002 at gmail.com> wrote:
> Hi Nick
> I got 3 odbctrace at 3 different kinds of condition.
> condition1:
> set SQL_CUR_USE_DRIVER and got core dump. At this condition the trace
> file is odbcdriver.out.
>
> condition2:
> set SQL_CUR_USE_IF_NEEDED, at this condition the connection will core
> dump. The odbctrace.out is odbctrace_ifneeded_withlib.out.
>
> condition3:
> set SQL_CUR_USE_IF_NEEDED,but move libodbccr.so to other place ,there
> were report error libodbccr.so can't be found. The trace file is
> odbctrace_ifneeded_nolib.out.
>
> Here's the core dump information of condition2:
>
> #0  0xc0000000003b4950:1 in free+0x81 () from /usr/lib/hpux64/libc.so.1
> (gdb) where
> #0  0xc0000000003b4950:1 in free+0x81 () from /usr/lib/hpux64/libc.so.1
> #1  0xc0000000083fda50:0 in free_bound_columns () at SQLBindCol.c:88
> #2  0xc000000008405e50:0 in CLFreeHandle () at SQLFreeHandle.c:106
> #3  0xc0000000180a6850:0 in __SQLFreeHandle () at SQLFreeHandle.c:429
> #4  0xc0000000180a7350:0 in SQLFreeHandle () at SQLFreeHandle.c:574
>
>
> Hope that can help.
>
>
>
> On Nov 13, 2007 6:39 PM, Nick Gorham <nick.gorham at easysoft.com> wrote:
> > Cherie Soleil wrote:
> >
> > >Hi Nick
> > >Can you tell me how to get unixodbc trace.
> > >If I set
> > >
> > >[ODBC]
> > >Trace=yes
> > >TraceFile=/tmp/odbctrace1.out
> > >in odbc.ini the trace file won't be created.  In our application we
> > >use dlopen(libodbc.so) to use the API interface. If [ODBC] entry must
> > >be put in odbcinst.ini ? I set ODBCINI as my odbc.ini ,how can I
> > >generate one odbcinst.ini and make it take effect?
> > >
> > >
> >
> > Well, when the lib was built, it would have a default sysprefix, either
> > put a odbcinst.ini there, or set ODBCSYSINI to the directory that
> > contains odbc.ini and odbcinst.ini
> >
> > --
> >
> > Nick Gorham
> > Easysoft Limited
> > http://www.easysoft.com, http://www.unixODBC.org
> >
> > _______________________________________________
> > unixODBC-support mailing list
> > unixODBC-support at easysoft.com
> > http://mail.easysoft.com/mailman/listinfo/unixodbc-support
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.rar
Type: application/octet-stream
Size: 4798 bytes
Desc: not available
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20071113/9b72a20d/attachment.obj>


More information about the unixODBC-support mailing list