Re: Freebcp coredump

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hello James:

Thank you for your answer.

Here is the backtrace command output

gdb64 /usr/local/freetds-0.82/bin/freebcp core
Detected IPF executable.
Invoking /opt/langtools/bin/gdb.
HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for 
warranty/support.
..
Core was generated by `freebcp'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
#0  0x60000000c01d8e20:1 in strlen+0x41 () from /usr/lib/hpux32/libc.so.1
(gdb) backtrace
#0  0x60000000c01d8e20:1 in strlen+0x41 () from /usr/lib/hpux32/libc.so.1
#1  0x60000000c025efe0:0 in strdup+0x30 () from /usr/lib/hpux32/libc.so.1
#2  0x60000000cabdd970:0 in bcp_init () at bcp.c:181
#3  0x4002a40:0 in file_formatted (pdata=0x7fffeec4, dir=2) at 
freebcp.c:580
#4  0x40050c0:0 in main (argc=8, argv=0x7ffff384) at freebcp.c:96
(gdb)

I hope this will help you  find where is the problem

Thanks a lot

Daymel




"James K. Lowden" <[email protected]>

Enviado por: [email protected]
06-12-2008 12:53
Por favor, responda a
FreeTDS Development Group <[email protected]>


Para
FreeTDS Development Group <[email protected]>
cc

Asunto
Re: [freetds] Freebcp coredump






[email protected] wrote:
> 
> $ gdb64 /usr/local/freetds-0.82/bin/freebcp core
> Detected IPF executable.
> Invoking /opt/langtools/bin/gdb.
> HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
> Copyright 1986 - 2001 Free Software Foundation, Inc.
> Hewlett-Packard Wildebeest 5.4.0 (based on GDB) is covered by the
> GNU General Public License. Type "show copying" to see the conditions to
> change it and/or distribute copies. Type "show warranty" for
> warranty/support.
> ..
> Core was generated by `freebcp'.
> Program terminated with signal 11, Segmentation fault.
> SEGV_MAPERR - Address not mapped to object
> #0  0x60000000c01d8e20:1 in strlen+0x41 () from
> #/usr/lib/hpux32/libc.so.1
> (gdb) q 

It would be interesting to see the output of a backtrace (bt) command
here.  It won't be easy to reproduce your results, but a backtrace would
show where things went awry and narrow down where to look. 

HTH. 

--jkl
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.