koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Re: [Koha-zebra] ZOOM seg fault


From: Mike Taylor
Subject: [Koha-devel] Re: [Koha-zebra] ZOOM seg fault
Date: Wed, 1 Feb 2006 09:05:09 GMT

> Date: Tue, 31 Jan 2006 16:27:55 +0100
> From: Paul POULAIN <address@hidden>
> 
> > Hmm.  Can you send me a stack-trace?
>
> I probably can... if you explain how to do ;-)

Use something like this:

$ gdb perl
GNU gdb 6.3-debian
Copyright 2004 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 "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run test_cql2rpn.pl
Starting program: /usr/bin/perl test_cql2rpn.pl
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210698048 (LWP 25507)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210698048 (LWP 25507)]
0xb526732b in yaz_version (version_str=0xb648affc "2.1.",
    sys_str=0xb4ee9f98 'x' <repeats 100 times>) at version.c:27
27              strcpy(version_str, YAZ_VERSION);
(gdb) bt
#0  0xb526732b in yaz_version (version_str=0xb648affc "2.1.",
    sys_str=0xb4ee9f98 'x' <repeats 100 times>) at version.c:27
#1  0xb52650c5 in XS_Net__Z3950__ZOOM_yaz_version ()
   from /usr/local/lib/perl/5.8.7/auto/Net/Z3950/ZOOM/ZOOM.so
#2  0x080c40dd in Perl_pp_entersub ()
#3  0x080bcf0b in Perl_runops_standard ()
#4  0x08060cde in Perl_get_cv ()
#5  0x08064712 in Perl_call_sv ()
#6  0x08064bbd in Perl_call_list ()
#7  0x080972e1 in Perl_newATTRSUB ()
#8  0x08095d4e in Perl_utilize ()
#9  0x08089b24 in Perl_yyparse ()
#10 0x080f2991 in Perl_find_runcv ()
#11 0x080f4f20 in Perl_pp_require ()
#12 0x080bcf0b in Perl_runops_standard ()
#13 0x08060cde in Perl_get_cv ()
#14 0x08064712 in Perl_call_sv ()
#15 0x08064bbd in Perl_call_list ()
#16 0x080972e1 in Perl_newATTRSUB ()
#17 0x08095d4e in Perl_utilize ()
#18 0x08089b24 in Perl_yyparse ()
#19 0x0806732a in Perl_my_failure_exit ()
#20 0x08068d68 in perl_parse ()
---Type <return> to continue, or q <return> to quit---
#21 0x0805fd89 in main ()
(gdb)

ANd we'd better hope that this shows something useful, as I have now
run the program under the ElectricFence memory-debugger, and it works
just fine.

What YAZ are you using now?

Adam, it would be good to get another YAZ release out, so that we can
all be running the same code.

 _/|_    ___________________________________________________________________
/o ) \/  Mike Taylor  <address@hidden>  http://www.miketaylor.org.uk
)_v__/\  "Do I understand you correctly, Professor Groves?  Surely you're
         not advancing the astonishing theory that the mentality of
         Neanderthal man compares favourably with that organ which
         ten million years of evolution has developed in his modern
         counterpart?" -- dialogue from "The Neanderthal Man".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]