-
Notifications
You must be signed in to change notification settings - Fork 57
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
UNEXPECTED ERROR: panic: del_backref (FreeBSD 10.0 Only) #81
Comments
uname -a |
Hello. I need
|
Thanks for quick reply!
|
Cannot reproduce anything like that with that perl version ( |
Tried same file second time - same result (+core dumped): MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/ PID 32167 Started worker Not a CODE reference at Core dump stack: (gdb) backtrace Tried very small file (several bytes) - no errors: MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/ PID 73800 Started worker On 06/24/14 23:52, Victor Efimov wrote:
|
In both failed cases entries in journal were created successfully. |
Ok good. What is the exact size of big file?
|
4473440906 bytes |
Tried with medium-size file (720610878 bytes) - no errors. |
I tried to reproduce with 4473440906 file, under FreeBSD 10: a bit different Build of BSD
difference between
difference between
not a big difference, I think. So, I was unable to reproduce error. Everything works fine. However in my helper script (i.e. not a part of mglacier, completely different script) I saw a part of this error
under BSD, only. Well, I need to think.. |
Try to update your FreeBSD distrib: sudo freebsd-update fetch install I'll also try to upgrade "common::sense" on my machine. |
Upgraded BSD. Also upgraded perl to latest build (with |
How did you installed perl-JSON-XS/perl-libwww-perl? I guess using CPAN (because version of common::sense module on your Try through packages: pkg install p5-libwww I've cleared-up all Perl installations on my PC (I had both 5.14 and Now I'm also getting only "Segmentation Fault": PID 21157 Uploaded part for 2014_06_26_bu.7z at offset [3489660928] New stack: (gdb) backtrace Have found almost same stack trace here - My opinion - it's connected with clang compiler (that's the default It doesn't look like a bug in your scripts. Please close this issue. P.S. I've tried tens of "glacier-client" scripts and yours is the best On 06/27/14 04:38, Victor Efimov wrote:
|
yes, cpan
basically it's not a problem for me that I cannot reproduce it in
that's not it, it mostly related to perl threads. there are a lot of similar crashes, when using perl threads. but I am not using it at all. problem for me now is to create a small proof-of-concept script and report the bug back to perl team or FreeBSD team.
exactly! I found this too. I asked for help in Perl community http://www.perlmonks.org/?node_id=1091458
maybe
well, I'll try to debug it a bit more. I usually prefer to workaround bugs in 3rd party code or document that something is not working in README.
thanks! And thank you for reporting this issue. |
UPD: finaly created PoC and reported bug https://rt.perl.org/Ticket/Display.html?id=122199 seems for 5.16 clang only affected. but for 5.18 gcc as well. at current moment I feed workaround is to either install 5.20 or to reduce part size (don't use too much memory) |
Hi, I can confirm similar crash in different scripts related to 10.0 (both clang and gcc), after upgrading to 10.1 and rebuilding with newer clang crashes are gone. My case was tracked in perl RT #122868 |
cmd: ${glacier_client_prog} upload-file --config ${glacier_client_conf} --vault ${vault_name} --journal ${glacier_client_journal} --partsize 256 --filename ${bu_file_path} --set-rel-filename ${prefix}_${bu_file_name}
output:
MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/ Version 1.115
PID 62112 Started worker
PID 62113 Started worker
PID 62114 Started worker
PID 62115 Started worker
PID 62114 Created an upload_id Xi3BPvsYOqIoSH6wA7dWL_vMW3AHOMxVMVorZP0nHLaqy3fJIaOJeZnpRTNuJb2yXxyJlnB7TqaNHyYQVMrHp0T9pdTM
PID 62112 Uploaded part for 2014_06_24_bu.7z at offset [0]
PID 62115 Uploaded part for 2014_06_24_bu.7z at offset [268435456]
PID 62113 Uploaded part for 2014_06_24_bu.7z at offset [536870912]
PID 62114 Uploaded part for 2014_06_24_bu.7z at offset [805306368]
PID 62112 Uploaded part for 2014_06_24_bu.7z at offset [1073741824]
PID 62115 Uploaded part for 2014_06_24_bu.7z at offset [1342177280]
PID 62113 Uploaded part for 2014_06_24_bu.7z at offset [1610612736]
PID 62114 Uploaded part for 2014_06_24_bu.7z at offset [1879048192]
PID 62112 Uploaded part for 2014_06_24_bu.7z at offset [2147483648]
PID 62115 Uploaded part for 2014_06_24_bu.7z at offset [2415919104]
PID 62113 Uploaded part for 2014_06_24_bu.7z at offset [2684354560]
PID 62114 Uploaded part for 2014_06_24_bu.7z at offset [2952790016]
PID 62112 Uploaded part for 2014_06_24_bu.7z at offset [3221225472]
PID 62115 Uploaded part for 2014_06_24_bu.7z at offset [3489660928]
PID 62113 Uploaded part for 2014_06_24_bu.7z at offset [3758096384]
PID 62114 Uploaded part for 2014_06_24_bu.7z at offset [4026531840]
PID 62112 Uploaded part for 2014_06_24_bu.7z at offset [4294967296]
PID 62115 Finished 2014_06_24_bu.7z hash [75ee302e6e711bcf706091b7bd9b10cb0221c6ef70c855c73fea84e77687400f] archive_id [VQ7HF_2I40ZINiblBdkcIDOHb4HWPrgAd9mzQCkS3Lx-Am4xjncGd4cLYByX_CFJQtHfoK-ud8VVz25-nzC1_UXJc3AMN9NwkWAFXgC7gbdSCF4fh5tCquyVIoJBHaM4NgI-OAXvYg]
UNEXPECTED ERROR: panic: del_backref, *svp=801e59fc0, sv=8048dd5d0 at /ara/backup/disaster_backup/glacier/mt-aws/lib/App/MtAws.pm line 120.
Not a CODE reference at /ara/backup/disaster_backup/glacier/mt-aws/lib/App/MtAws.pm line 122.
END failed--call queue aborted at ./glacier/mt-aws/mtglacier line 122.
panic: invalid MRO! at ./glacier/mt-aws/mtglacier line 122 during global destruction.
The text was updated successfully, but these errors were encountered: