Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Sereal-Encoder CPAN distribution.

Report information
The Basics
Id:
101906
Status:
open
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
zefram [...] fysh.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-2.202 tagged_above=-99.9 required=10 tests=[AWL=-0.291, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <20150203110823.GA25318@fysh.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.202
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1AF0B240522 for <cpan-bug+Sereal-Encoder@hipster.bestpractical.com>; Tue, 3 Feb 2015 06:08:36 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AUxeKjCNwg-1 for <cpan-bug+Sereal-Encoder@hipster.bestpractical.com>; Tue, 3 Feb 2015 06:08:35 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A1053240106 for <bug-Sereal-Encoder@rt.cpan.org>; Tue, 3 Feb 2015 06:08:34 -0500 (EST)
Received: (qmail 30511 invoked by alias); 3 Feb 2015 11:08:34 -0000
Received: from river.fysh.org (HELO river.fysh.org) (5.135.154.127) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 03 Feb 2015 03:08:31 -0800
Received: from zefram by river.fysh.org with local (Exim 4.80 #2 (Debian)) id 1YIbLD-00075l-Js; Tue, 03 Feb 2015 11:08:23 +0000
Delivered-To: cpan-bug+Sereal-Encoder@hipster.bestpractical.com
Subject: corrupted packet from tricky blessedness
Return-Path: <zefram@fysh.org>
X-RT-Mail-Extension: sereal-encoder
X-Original-To: cpan-bug+Sereal-Encoder@hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Tue, 3 Feb 2015 11:08:23 +0000
X-Spam-Level:
To: bug-Sereal-Encoder@rt.cpan.org
From: Zefram <zefram@fysh.org>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 675
I was playing around with variations on [rt.cpan.org #101878] and got this surprising result: $ perl -MSereal::Encoder=encode_sereal -MSereal::Decoder=decode_sereal -MData::Dumper=Dumper -we '@a=(3,0,0,3); $a[1]=\$a[0]; $a[2]=\$a[3]; bless \$a[0], "Foo"; bless \$a[3], "Foo"; decode_sereal(encode_sereal(\@a))' Sereal: Error in srl_decoder.c line 1476 and char 15 of input: Corrupted packet. OBJECTV(_FREEZE) used without preceding OBJECT(_FREEZE) to define classname at -e line 1. Obviously this is a more serious fault than the loss of blessedness that I was looking at. I'm reporting it separately because it appears to have a distinct (albeit related) cause. -zefram
MIME-Version: 1.0
X-Spam-Status: No, score=-5.284 tagged_above=-99.9 required=10 tests=[AWL=1.415, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-23066-1422961717-594.101906-4-0@rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-101906@rt.cpan.org> <20150203110823.GA25318@fysh.org> <rt-4.0.18-23066-1422961717-594.101906-4-0@rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.224.119.143 with SMTP id z15mr54147518qaq.11.1422979049244; Tue, 03 Feb 2015 07:57:29 -0800 (PST)
Message-ID: <CANgJU+U0XqM4PFb5emeGVP8wZpcr9M9=W5mszTGV=HtwuU_LeA@mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.284
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id AC7F8240457 for <cpan-bug+Sereal-Encoder@hipster.bestpractical.com>; Tue, 3 Feb 2015 10:57:37 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KbcAigjYDhop for <cpan-bug+Sereal-Encoder@hipster.bestpractical.com>; Tue, 3 Feb 2015 10:57:36 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 20EB52400DA for <bug-Sereal-Encoder@rt.cpan.org>; Tue, 3 Feb 2015 10:57:36 -0500 (EST)
Received: (qmail 13335 invoked by alias); 3 Feb 2015 15:57:35 -0000
Received: from mail-qc0-f178.google.com (HELO mail-qc0-f178.google.com) (209.85.216.178) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 03 Feb 2015 07:57:33 -0800
Received: by mail-qc0-f178.google.com with SMTP id b13so36037124qcw.9 for <bug-Sereal-Encoder@rt.cpan.org>; Tue, 03 Feb 2015 07:57:29 -0800 (PST)
Received: by 10.140.101.145 with HTTP; Tue, 3 Feb 2015 07:57:28 -0800 (PST)
Delivered-To: cpan-bug+Sereal-Encoder@hipster.bestpractical.com
Subject: Re: [rt.cpan.org #101906] corrupted packet from tricky blessedness
Return-Path: <demerphq@gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZusZKGXH8vV0ZT4t2kSpbW00d5+1FUoiIx4+jxJ5WRM=; b=KGXnJAgLHQ3ZC1VlAm/JamJ5pZThQdyF6QlaT2cV5kDH/G1U4vJmsa4XWWPRM14J9M YzKI0SJ9yB26d/C7qQ8LofoqkUgkqM/aU5lKKH5WVTk54EA8bVZheRwEABcZJO6W6oOl nmsFbGszuh5FxoZNUCp0Rsf3vQavRGIfXfwfoDJ1xnwEYH91b9VEEUrPVI2VO280eFEZ yQiO1YQbsbUeMDiiBGafuomZVa5sUqk0rvQ0eVxKMwHypcwVgU6KSO9edHlXg/RRs5oj iad9xfX0qQANDWbXX2nZbhSSKN8n+QrxcF2p9jAoDJTChaxa1o7X0WqJJsAsthDuUNxM ewag==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Sereal-Encoder@hipster.bestpractical.com
X-RT-Mail-Extension: sereal-encoder
Date: Tue, 3 Feb 2015 16:57:28 +0100
X-Spam-Level:
To: bug-Sereal-Encoder@rt.cpan.org
From: demerphq <demerphq@gmail.com>
RT-Message-ID: <rt-4.0.18-31295-1422979058-648.101906-0-0@rt.cpan.org>
Content-Length: 1272
thanks. I will try to investigate soon. On 3 February 2015 at 12:08, Zefram via RT <bug-Sereal-Encoder@rt.cpan.org> wrote:
Show quoted text
> Tue Feb 03 06:08:36 2015: Request 101906 was acted upon. > Transaction: Ticket created by zefram@fysh.org > Queue: Sereal-Encoder > Subject: corrupted packet from tricky blessedness > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: zefram@fysh.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101906 > > > > I was playing around with variations on [rt.cpan.org #101878] and got > this surprising result: > > $ perl -MSereal::Encoder=encode_sereal -MSereal::Decoder=decode_sereal -MData::Dumper=Dumper -we '@a=(3,0,0,3); $a[1]=\$a[0]; $a[2]=\$a[3]; bless \$a[0], "Foo"; bless \$a[3], "Foo"; decode_sereal(encode_sereal(\@a))' > Sereal: Error in srl_decoder.c line 1476 and char 15 of input: Corrupted packet. OBJECTV(_FREEZE) used without preceding OBJECT(_FREEZE) to define classname at -e line 1. > > Obviously this is a more serious fault than the loss of blessedness > that I was looking at. I'm reporting it separately because it appears > to have a distinct (albeit related) cause. > > -zefram >
-- perl -Mre=debug -e "/just|another|perl|hacker/"


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.