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

UNEXPECTED ERROR: panic: del_backref (FreeBSD 10.0 Only) #81

Closed
rayrapetyan opened this issue Jun 24, 2014 · 16 comments
Closed

UNEXPECTED ERROR: panic: del_backref (FreeBSD 10.0 Only) #81

rayrapetyan opened this issue Jun 24, 2014 · 16 comments

Comments

@rayrapetyan
Copy link

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.

@rayrapetyan
Copy link
Author

uname -a
FreeBSD ara-home-pc-freebsd 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

@vsespb
Copy link
Owner

vsespb commented Jun 24, 2014

Hello.

I need

  1. perl -V (note capital V)
  2. mtglacier --version (will list all module versions)
  3. did you modify FreeBSD's perl when compiling? Or it's the one shipped with system?
  4. happens always/often/rare/once ?

@rayrapetyan
Copy link
Author

Thanks for quick reply!

  1. and 2. - https://gist.github.com/rayrapetyan/a4ffe9652879a954138b
  2. No mods. It's the one from binary packages (pkg install ...)
  3. Tried just once and this happened.

@vsespb
Copy link
Owner

vsespb commented Jun 25, 2014

Cannot reproduce anything like that with that perl version (
Most likely this is perl crash happening after successful job.
I ll try to install FreeBSD 10 and reproduce.
Meanwhile, could you try again - need to know if it's intermediate issue or not.
also, is VQ7HF_2I40ZINiblBdkcIDOHb4HWPrgAd9mzQCkS3Lx-Am4xjncGd4cLYByX_CFJQtHfoK-ud8VVz25-nzC1_UXJc3AMN9NwkWAFXgC7gbdSCF4fh5tCquyVIoJBHaM4NgI-OAXvYg exists in ${glacier_client_journal} ?

@rayrapetyan
Copy link
Author

Tried same file second time - same result (+core dumped):

MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/
Version 1.115

PID 32167 Started worker
PID 32168 Started worker
PID 32169 Started worker
PID 32170 Started worker
PID 32168 Created an upload_id
V0IHtyMp9yOeayNQIPW5x3jK0sOtH4f6iD_7hN0cLZIaevyFfSlDq9SgJxyVKXCXMr0GRC5wBd_EbxFqiayRrKOyGV57
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [0]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [268435456]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [805306368]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [536870912]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [1073741824]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [1342177280]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [1610612736]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [1879048192]
PID 32168 HTTP 408 This might be normal. Will retry (365 seconds spent
for request)
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [2147483648]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [2415919104]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [2952790016]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [2684354560]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [3221225472]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [3489660928]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [3758096384]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [4026531840]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [4294967296]
PID 32167 Finished 2014_06_25_bu.7z hash
[75ee302e6e711bcf706091b7bd9b10cb0221c6ef70c855c73fea84e77687400f]
archive_id
[FsFGeVueFoHoPzmlmum7hErgrV_0dkxUdC3ICDJlcEMOhYd4a4UIQbwA30oEd7HMX8mRTjJe4sBbJn0kt7Fz1JqjOk8Lvtv1Y3ia5Ia3ngu20UIaodYvbN4qSRpyabyCRWhh_4WFjw]
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.
Segmentation fault (core dumped)

Core dump stack:

(gdb) backtrace
#0 0x00000008008731f5 in Perl_Gv_AMupdate ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#1 0x0000000800873508 in Perl_gv_handler ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#2 0x00000008008e6514 in S_curse ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#3 0x00000008008e5b92 in Perl_sv_clear ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#4 0x00000008008dc369 in Perl_sv_clean_objs ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#5 0x00000008008669c7 in perl_destruct ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#6 0x0000000000400f39 in main ()

Tried very small file (several bytes) - no errors:

MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/
Version 1.115

PID 73800 Started worker
PID 73801 Started worker
PID 73802 Started worker
PID 73803 Started worker
PID 73801 Created an upload_id
EMbBYX7U4O37ICeAPZ676WbMaJ2wFtAOEB_Mgkefl1_EryWnlS-ZQCU0NHxTX86eArmcGM01HLeGR_xWZG-_AvnaVe_n
PID 73800 Uploaded part for test.txt at offset [0]
PID 73803 Finished test.txt hash
[5d506eceef307d246057b96b3da12ee51d0c4806670b61f07054a5fd49fc9e13]
archive_id
[5HFdPiDSl277ZMghxkW4IvYhrnHLsuLEflsXIfOcQrxwZgFsJDVyAUBgELtOK-jgiEF2SpMyUvvzvdGotxb6ylis0sf-Pw7KJOZTMWCOHJ5F1uLOTdQpvYtMSlLg-lexe-tqVZWNXw]
OK DONE

On 06/24/14 23:52, Victor Efimov wrote:

Cannot reproduce anything like that with that perl version (
Most likely this is perl crash happening after successful job.
I ll try to install FreeBSD 10 and reproduce.
Meanwhile, could you try again - need to know if it's intermediate issue
or not.
also, is
|VQ7HF_2I40ZINiblBdkcIDOHb4HWPrgAd9mzQCkS3Lx-Am4xjncGd4cLYByX_CFJQtHfoK-ud8VVz25-nzC1_UXJc3AMN9NwkWAFXgC7gbdSCF4fh5tCquyVIoJBHaM4NgI-OAXvYg|
exists in |${glacier_client_journal}| ?


Reply to this email directly or view it on GitHub
#81 (comment).

@rayrapetyan
Copy link
Author

In both failed cases entries in journal were created successfully.

@vsespb
Copy link
Owner

vsespb commented Jun 25, 2014

Ok good. What is the exact size of big file?
25.06.2014 20:19 пользователь "Robert Ayrapetyan" notifications@github.com
написал:

Tried same file second time - same result (+core dumped):

MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/
Version 1.115

PID 32167 Started worker
PID 32168 Started worker
PID 32169 Started worker
PID 32170 Started worker
PID 32168 Created an upload_id

V0IHtyMp9yOeayNQIPW5x3jK0sOtH4f6iD_7hN0cLZIaevyFfSlDq9SgJxyVKXCXMr0GRC5wBd_EbxFqiayRrKOyGV57
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [0]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [268435456]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [805306368]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [536870912]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [1073741824]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [1342177280]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [1610612736]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [1879048192]
PID 32168 HTTP 408 This might be normal. Will retry (365 seconds spent
for request)
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [2147483648]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [2415919104]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [2952790016]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [2684354560]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [3221225472]
PID 32167 Uploaded part for 2014_06_25_bu.7z at offset [3489660928]
PID 32170 Uploaded part for 2014_06_25_bu.7z at offset [3758096384]
PID 32168 Uploaded part for 2014_06_25_bu.7z at offset [4026531840]
PID 32169 Uploaded part for 2014_06_25_bu.7z at offset [4294967296]
PID 32167 Finished 2014_06_25_bu.7z hash
[75ee302e6e711bcf706091b7bd9b10cb0221c6ef70c855c73fea84e77687400f]
archive_id

[FsFGeVueFoHoPzmlmum7hErgrV_0dkxUdC3ICDJlcEMOhYd4a4UIQbwA30oEd7HMX8mRTjJe4sBbJn0kt7Fz1JqjOk8Lvtv1Y3ia5Ia3ngu20UIaodYvbN4qSRpyabyCRWhh_4WFjw]
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.
Segmentation fault (core dumped)

Core dump stack:

(gdb) backtrace
#0 0x00000008008731f5 in Perl_Gv_AMupdate ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#1 0x0000000800873508 in Perl_gv_handler ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#2 0x00000008008e6514 in S_curse ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#3 0x00000008008e5b92 in Perl_sv_clear ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#4 0x00000008008dc369 in Perl_sv_clean_objs ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#5 0x00000008008669c7 in perl_destruct ()
from /usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#6 0x0000000000400f39 in main ()

Tried very small file (several bytes) - no errors:

MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/
Version 1.115

PID 73800 Started worker
PID 73801 Started worker
PID 73802 Started worker
PID 73803 Started worker
PID 73801 Created an upload_id

EMbBYX7U4O37ICeAPZ676WbMaJ2wFtAOEB_Mgkefl1_EryWnlS-ZQCU0NHxTX86eArmcGM01HLeGR_xWZG-_AvnaVe_n
PID 73800 Uploaded part for test.txt at offset [0]
PID 73803 Finished test.txt hash
[5d506eceef307d246057b96b3da12ee51d0c4806670b61f07054a5fd49fc9e13]
archive_id

[5HFdPiDSl277ZMghxkW4IvYhrnHLsuLEflsXIfOcQrxwZgFsJDVyAUBgELtOK-jgiEF2SpMyUvvzvdGotxb6ylis0sf-Pw7KJOZTMWCOHJ5F1uLOTdQpvYtMSlLg-lexe-tqVZWNXw]
OK DONE

On 06/24/14 23:52, Victor Efimov wrote:

Cannot reproduce anything like that with that perl version (
Most likely this is perl crash happening after successful job.
I ll try to install FreeBSD 10 and reproduce.
Meanwhile, could you try again - need to know if it's intermediate issue
or not.
also, is

|VQ7HF_2I40ZINiblBdkcIDOHb4HWPrgAd9mzQCkS3Lx-Am4xjncGd4cLYByX_CFJQtHfoK-ud8VVz25-nzC1_UXJc3AMN9NwkWAFXgC7gbdSCF4fh5tCquyVIoJBHaM4NgI-OAXvYg|
exists in |${glacier_client_journal}| ?


Reply to this email directly or view it on GitHub
<
https://github.com/vsespb/mt-aws-glacier/issues/81#issuecomment-47066148>.


Reply to this email directly or view it on GitHub
#81 (comment)
.

@rayrapetyan
Copy link
Author

4473440906 bytes

@rayrapetyan
Copy link
Author

Tried with medium-size file (720610878 bytes) - no errors.

@vsespb
Copy link
Owner

vsespb commented Jun 26, 2014

I tried to reproduce with 4473440906 file, under FreeBSD 10:

a bit different Build of BSD

FreeBSD BSD10 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

difference between perl -V

2d1
<    
4,5c3,4
<     osname=freebsd, osvers=10.0-release, archname=amd64-freebsd-thread-multi
<     uname='freebsd bsd10 10.0-release freebsd 10.0-release #0 r260789: thu jan 16 22:34:59 utc 2014 root@snap.freebsd.org:usrobjusrsrcsysgeneric amd64 '
---
> osname=freebsd, osvers=10.0-release-p3, archname=amd64-freebsd-thread-multi
> uname='freebsd ara-home-pc-freebsd 10.0-release-p3 freebsd 10.0-release-p3 #0: tue may 13 18:31:10 utc 2014 root@amd64-builder.daemonology.net:usrobjusrsrcsysgeneric amd64 '
24c23
<     libs=-lm -lcrypt -lutil
---
> libs=-lgdbm -lm -lcrypt -lutil
42,45c41
<   Compiled at Jun 27 2014 00:56:40
<   %ENV:
<     PERL_MB_OPT="--install_base "/home/vse/perl5""
<     PERL_MM_OPT="INSTALL_BASE=/home/vse/perl5"
---
> Compiled at Jun 10 2014 16:06:37

difference between mtglacier --version

64c64
< common::sense 3.73    /usr/local/lib/perl5/site_perl/5.16/mach/common/sense.pm
---
> common::sense 3.6 /usr/local/lib/perl5/site_perl/5.16/common/sense.pm

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

Not a CODE reference at ./gemu-test-worker.pl line 1310, <STDIN> line 1.
END failed--call queue aborted at ./gemu-test-worker.pl line 1310, <STDIN> line 1.
Segmentation fault (core dumped)

under BSD, only.
under Linux I was unable to reproduce any of problems (with same perl version).

Well, I need to think..

@rayrapetyan
Copy link
Author

Try to update your FreeBSD distrib:

sudo freebsd-update fetch install

I'll also try to upgrade "common::sense" on my machine.

@vsespb
Copy link
Owner

vsespb commented Jun 27, 2014

Upgraded BSD. Also upgraded perl to latest build (with pkg install perl5), same - mtglacier without errors. Another script which prepares 4Gb file to mtglacier testing always with the error (except, after upgrading perl error now is simply "Segmentation fault").
I think something is wrong somewhere in FreeBSD build process, but I cannot make small proof-of-concept script to reproduce the issue yet.

@rayrapetyan
Copy link
Author

How did you installed perl-JSON-XS/perl-libwww-perl?

I guess using CPAN (because version of common::sense module on your
system is from third-party source).

Try through packages:

pkg install p5-libwww
pkg install p5-JSON-XS

I've cleared-up all Perl installations on my PC (I had both 5.14 and
5.16) and reinstalled Perl-everything from packages.

Now I'm also getting only "Segmentation Fault":

PID 21157 Uploaded part for 2014_06_26_bu.7z at offset [3489660928]
PID 21156 Uploaded part for 2014_06_26_bu.7z at offset [3758096384]
PID 21158 Uploaded part for 2014_06_26_bu.7z at offset [4026531840]
PID 21155 Uploaded part for 2014_06_26_bu.7z at offset [4294967296]
PID 21157 Finished 2014_06_26_bu.7z hash
[224611dae731cabc43ebabffcd155fc9f86ebca4aee1a154f9e8eaf27d4e1404]
archive_id
[-sXVlY6f7gwJHAmaB3cTy1verC0WmBuUm-HTNmgvAS1SguP7ZllMDtZTYVCK6ibaUBSV0wluKvJGLEzYm8kXIg_pJWyPlPgG4mgn5WmkiAI0NN-ZeUTlaWoezJgMwcXe99gfU78o5A]
Segmentation fault (core dumped)

New stack:

(gdb) backtrace
#0 0x00000008014b4af3 in sbrk () from /lib/libc.so.7
#1 0x00000008014b4ea9 in sbrk () from /lib/libc.so.7
#2 0x00000008014c04dc in free () from /lib/libc.so.7
#3 0x00000008008e5b1b in Perl_sv_clear () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#4 0x00000008008dcbe4 in Perl_sv_free2 () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#5 0x0000000800896e0f in Perl_cv_undef () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#6 0x00000008008e5cd8 in Perl_sv_clear () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#7 0x00000008008dcbe4 in Perl_sv_free2 () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#8 0x0000000800909087 in Perl_free_tmps () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#9 0x00000008008d4a42 in Perl_pp_nextstate () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#10 0x00000008008d4976 in Perl_runops_standard () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#11 0x000000080086a8fe in perl_run () from
/usr/local/lib/perl5/5.16/mach/CORE/libperl.so
#12 0x0000000000400eda in main ()

Have found almost same stack trace here -
https://rt.cpan.org/Public/Bug/Display.html?id=49336 (however, case
described there with Math lib is not reproducible).

My opinion - it's connected with clang compiler (that's the default
compiler in FreeBSD since 10.0), probably some optimization flags (like
described here - https://rt.cpan.org/Public/Bug/Display.html?id=75134).

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
one (+1 star from me), thanks!

On 06/27/14 04:38, Victor Efimov wrote:

Upgraded BSD. Also upgraded perl to latest build (with |pkg install
perl5|), same - |mtglacier| without errors. Another script which
prepares 4Gb file to |mtglacier| testing always with the error (except,
after upgrading perl error now is simply "Segmentation fault").
I think something is wrong somewhere in FreeBSD build process, but I
cannot make small proof-of-concept script to reproduce the issue yet.


Reply to this email directly or view it on GitHub
#81 (comment).

@vsespb
Copy link
Owner

vsespb commented Jun 27, 2014

How did you installed perl-JSON-XS/perl-libwww-perl?

yes, cpan

Try through packages:

basically it's not a problem for me that I cannot reproduce it in mtglacier, I am reproducing it with another script (t/gemu-test/gemu-test-worker.pl
in mtglacier repo, btw, however I don't think you should try it, it's use undocumented). So I believe bug indeed exists and reproducible.

Have found almost same stack trace here -

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.

My opinion - it's connected with clang compiler

exactly! I found this too. I asked for help in Perl community http://www.perlmonks.org/?node_id=1091458
dave_the_m, one of perl devs, answered that it's probably internal corruption of perl data and it will be hard to debug.

described here - https://rt.cpan.org/Public/Bug/Display.html?id=75134

maybe

It doesn't look like a bug in your scripts. Please close this issue.

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.

I've tried tens of "glacier-client" scripts and yours is the best one (+1 star from me), thanks!

thanks!

And thank you for reporting this issue.

@vsespb
Copy link
Owner

vsespb commented Jun 30, 2014

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)

@vsespb vsespb added the bug label Jul 2, 2014
@marcin-gryszkalis
Copy link

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

@vsespb vsespb changed the title UNEXPECTED ERROR: panic: del_backref UNEXPECTED ERROR: panic: del_backref (FreeBSD 10.0 Only) Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants