Ok - this is almost certainly a problem with LANG and/or LC_ALL.

See http://www.mbay.net/~mpeppler/Linux-ASE-FAQ.html#q1.14

Michael

On Fri, 2004-01-09 at 08:37, [EMAIL PROTECTED] wrote:
> thanx!
> 
> You need the backtrace?
> 
> 
> (gdb) bt
> #0  0x42049caf in buffered_vfprintf () from /lib/tls/libc.so.6
> #1  0x4204966f in vfprintf () from /lib/tls/libc.so.6
> #2  0x4204f48f in fprintf () from /lib/tls/libc.so.6
> #3  0x404f8722 in com_perr () from /opt/sybase-11.9.2//lib/libcomn.so
> #4  0x404ea3ed in com_intl_verify_ctxloc () from /opt/sybase-11.9.2//lib/libcomn.so
> #5  0x404a9273 in cs_ctx_alloc () from /opt/sybase-11.9.2//lib/libcs.so
> #6  0x40435d3e in syb_init (dbistate=0x0) at dbdimp.c:604
> #7  0x40432af2 in boot_DBD__Sybase (my_perl=0x804bc70, cv=0x8331e78) at
> Sybase.xsi:24
> #8  0x400a3235 in Perl_pp_entersub (my_perl=0x804bc70) at pp_hot.c:2781
> #9  0x40086a0a in Perl_runops_debug (my_perl=0x804bc70) at dump.c:1414
> #10 0x4003a9bb in S_run_body (my_perl=0x804bc70, oldscope=0) at perl.c:1705
> #11 0x4003a645 in perl_run (my_perl=0x804bc70) at perl.c:1624
> #12 0x080493a3 in main ()
> #13 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
> 
> uhm I guess not. Can you tell me the exact info you are looking for?
> 
> Regards,
> 
> Martin Gingras
> 
> Selon Michael Peppler <[EMAIL PROTECTED]>:
> 
> > If you have the core file you should be able to do the following:
> > 
> > gdb `which perl` core.2468
> > 
> > Michael
> > 
> > On Fri, 2004-01-09 at 08:27, [EMAIL PROTECTED] wrote:
> > > Hi,
> > > 
> > > I am not an expert with gdb but I am unable to find what executable produce
> > the
> > > core..
> > > 
> > > [EMAIL PROTECTED] DBI-1.40]# gdb DBI.pm core.2468
> > > GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
> > > Copyright 2003 Free Software Foundation, Inc.
> > > GDB is free software, covered by the GNU General Public License, and you
> > are
> > > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > > Type "show copying" to see the conditions.
> > > There is absolutely no warranty for GDB.  Type "show warranty" for
> > details.
> > > This GDB was configured as
> > > "i386-redhat-linux-gnu"..."/root/.cpan/build/DBI-1.40/DBI.pm": not in
> > executable
> > > format: File format not recognized
> > >  
> > > Core was generated by `perl -MDBI -e DBI->installed_versions'.
> > > Program terminated with signal 11, Segmentation fault.
> > > #0  0x42049caf in ?? ()
> > > (gdb) quit
> > > [EMAIL PROTECTED] DBI-1.40]#
> > > 
> > > Can you help me?
> > > 
> > > Thanx
> > > 
> > > Martin Gingras
> > > 
> > > Selon Michael Peppler <[EMAIL PROTECTED]>:
> > > 
> > > > On Fri, 2004-01-09 at 06:45, [EMAIL PROTECTED] wrote:
> > > > 
> > > > > from the /tmp/dbitrace.log
> > > > > 
> > > > > <cut>
> > > > > 
> > > > >  <- install_driver= DBI::dr=HASH(0x82317ac)
> > > > >     -> DBI->install_driver(Sponge) for linux perl=5.008 pid=6841
> > ruid=0
> > > > euid=0
> > > > >        install_driver: DBD::Sponge version 11.10 loaded from
> > > > > /root/.cpan/build/DBI-1.40/blib/lib/DBD/Sponge.pm
> > > > >    
> > dbih_setup_handle(DBI::dr=HASH(0x81fac64)=>DBI::dr=HASH(0x835442c),
> > > > > DBD::Sponge::dr, 0, Null!)
> > > > >     dbih_make_com(Null!, 0, DBD::Sponge::dr, 112, 0) thr#804bc70
> > > > >     <- install_driver= DBI::dr=HASH(0x81fac64)
> > > > >     -> DBI->install_driver(Sybase) for linux perl=5.008 pid=6841
> > ruid=0
> > > > euid=0
> > > > > <IT SEGFAULT HERE>
> > > > > 
> > > > > I'm using DBD-Sybase-1.02.
> > > > 
> > > > Hmmm.... Could you send me a stack trace of the core dump please?
> > > > 
> > > > I tried DBI 1.40 here and I didn't have any problems.
> > > > 
> > > > Michael
> > > > -- 
> > > > Michael Peppler                              Data Migrations, Inc.
> > > > [EMAIL PROTECTED]                 http://www.mbay.net/~mpeppler
> > > > Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
> > or 
> > > > long term contract positions - http://www.mbay.net/~mpeppler/resume.html
> > > > 
> > > 
> > -- 
> > Michael Peppler                              Data Migrations, Inc.
> > [EMAIL PROTECTED]                 http://www.mbay.net/~mpeppler
> > Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
> > long term contract positions - http://www.mbay.net/~mpeppler/resume.html
> > 
> 
-- 
Michael Peppler                              Data Migrations, Inc.
[EMAIL PROTECTED]                 http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Reply via email to