Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amreport segmentation fault #62

Closed
brettowe opened this issue Aug 18, 2014 · 8 comments
Closed

amreport segmentation fault #62

brettowe opened this issue Aug 18, 2014 · 8 comments

Comments

@brettowe
Copy link

on arch linux for a while now I've been seeing a segfault with amreport
see it happening with all my configs on 2 servers
doing a backtrace on it i get the following

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b20b24 in Perl_pp_formline ()
from /usr/lib/perl5/core_perl/CORE/libperl.so
(gdb) bt
#0 0x00007ffff7b20b24 in Perl_pp_formline ()

from /usr/lib/perl5/core_perl/CORE/libperl.so
#1 0x00007ffff7ae41f6 in Perl_runops_standard ()

from /usr/lib/perl5/core_perl/CORE/libperl.so
#2 0x00007ffff7a7536e in perl_run ()

from /usr/lib/perl5/core_perl/CORE/libperl.so
#3 0x0000000000400e39 in main ()

perl version info is
This is perl 5, version 20, subversion 0 (v5.20.0) built for x86_64-linux-thread-multi

amanda is on 3.3.6
and was compiled with that version of perl also if that matters
let me know if any more info is required

@sfisol
Copy link

sfisol commented Sep 10, 2014

Same here on Debian jessie:

Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000563f8c in Perl_pp_formline (my_perl=0x1280010) at pp_ctl.c:876
876 pp_ctl.c: Nie ma takiego pliku ani katalogu.
(gdb) bt full
#0 0x0000000000563f8c in Perl_pp_formline (my_perl=0x1280010) at pp_ctl.c:876
send = 0x1f4e88c ""
tmpForm = 0x4
value = 42
len = 4
fmt = 0xf <error: Cannot access memory at address 0xf>
mg = 0x1f4e948
to_copy = 4
trans = 76 'L'
PRETTY_FUNCTION = "Perl_pp_formline"
#1 0x00000000004c98b9 in Perl_runops_debug (my_perl=0x1280010) at dump.c:2428
No locals.
#2 0x0000000000449028 in S_run_body (oldscope=, my_perl=) at perl.c:2456
No locals.
#3 perl_run (my_perl=0x0) at perl.c:2372
ret = 19398672
cur_env = {je_prev = 0x1280350, je_buf = {{jmpbuf = {1, 6297646883080576582, 4312358, 140735103176688, 0, 0, -6297334292737614266, 6297647394478169670}, __mask_was_saved = 0, __saved_mask = {__val = {19398672, 13, 19398672, 148565664, 0, 5313209, 19398672,
4312358, 140735103176688, 6280256, 139799573227009, 4813192, 0, 2950272792008836608, 4312358, 0}}}}, je_ret = 0, je_mustcatch = false}
__PRETTY_FUNCTION
= "perl_run"
#4 0x000000000041cd17 in main (argc=3, argv=0x7fff71d50ff8, env=0x7fff71d51018) at perlmain.c:114
exitstatus =
i =

Debian version of packages:
amanda 1:3.3.6-1+b1
perl 5.20.0-6
libc6 2.19-10

@martineau
Copy link

Can you post the log. used by amreport?

@brettowe
Copy link
Author

github wouldnt let me attach so here is links to amdump and log file both from same backup
https://www.dropbox.com/s/w4wi85ljqi1x4l8/amdump.20140909230501?dl=0
https://www.dropbox.com/s/zwkbkfywz43un5m/log.20140909230501.0?dl=0

@martineau
Copy link

I installed perl-5.20.0 and I got the same issue.
The bug is in perl-5.20 or in our interface to perl.

@gour
Copy link

gour commented Oct 3, 2014

Any progress on this? I've same issue on Debian Sid...

@martineau
Copy link

Try the patch at
e810e19

@gour
Copy link

gour commented Oct 6, 2014

Try the patch at

Thank you. It helps. :-)

@brettowe
Copy link
Author

brettowe commented Oct 6, 2014

that commit fixes the problem for me also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants