Amanda-Users

Re: Problem with 2.4.5's selfcheck

2005-06-02 03:49:26
Subject: Re: Problem with 2.4.5's selfcheck
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Anthony Valentine <avalentine AT sbsalaska DOT com>
Date: Thu, 02 Jun 2005 09:23:03 +0200
Anthony Valentine wrote:

I get a seg fault when I try that command. Output is below (tabs added for readability).

sbsdp|amanda: /home/amanda > (echo 'OPTIONS features=fffffeff9ffe7f;' ; echo 'GNUTAR / 0') | /usr/local/libexec/selfcheck
    Segmentation fault

Then we need to know where it crashes.  Try this:
First make a little text file containing these three lines:

$ cat sendcheck-input
OPTIONS ;
GNUTAR /gemini/disk4/sort 0 OPTIONS |;bsd-auth;compress-fast;index;
GNUTAR /gemini/disk3/age 0 OPTIONS |;bsd-auth;index;
$


Then execute selfcheck under the debugger:

$ gdb /usr/local/libexec/selfcheck
...blabla...
(gdb)


And start the program handing the little file above on stdin.
When it crashes, execute the 'where' command and send that output.


(gdb)  run < sendcheck-input
...
Program received signal SIGSEGV, Segmentation fault.
...
(gdb)  where
...


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>