Skip Menu |

This queue is for tickets about the MARC-Record CPAN distribution.

Report information
The Basics
Id: 120966
Status: open
Priority: 0/
Queue: MARC-Record

People
Owner: Nobody in particular
Requestors: philippe.blouin [...] inlibro.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments


CC: mrylander [...] gmail.com, Eric Bégin (Eric.Begin [...] inLibro.com) <Eric.Begin [...] inLibro.com>
Subject: sprintf crashing the MARC library due to % in $marc8
Date: Wed, 5 Apr 2017 09:33:59 -0400
To: bug-MARC-Record [...] rt.cpan.org
From: Philippe Blouin <philippe.blouin [...] inlibro.com>
Hi! When going through our records, one of them always crash Missing argument in sprintf at /usr/share/perl5/MARC/Charset.pm line 308. Modification of a read-only value attempted at /usr/share/perl5/MARC/Charset.pm line 308. Seemingly, the cause is the % in the middle of the $marc8 value. sprintf then expects some extra variable, which causes the crash (one error leading to the next). Not sure how to avoid that. I needed to comment the lines 308-310 in the library to get through. Best regards, -- Philippe Blouin, Responsable du développement informatique Tél. : (888) 604-2627 philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com>
On Wed Apr 05 10:16:26 2017, philippe.blouin@inlibro.com wrote: Show quoted text
> When going through our records, one of them always crash
By any chance, could you attach or send me the record in question?
CC: mrylander [...] gmail.com, Eric Bégin (Eric.Begin [...] inLibro.com) <Eric.Begin [...] inLibro.com>
Subject: Re: [rt.cpan.org #120966] AutoReply: sprintf crashing the MARC library due to % in $marc8
Date: Thu, 23 Nov 2017 13:10:35 -0500
To: bug-MARC-Record [...] rt.cpan.org
From: Philippe Blouin <philippe.blouin [...] inlibro.com>
Sorry, never saw the follow-up. Here's a record that reproduce the probleme when trying to convert from marc8 to utf8. Regards, Philippe Blouin, Responsable du développement informatique Tél. : (888) 604-2627 philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> inLibro | pour esprit libre | www.inLibro.com <http://www.inLibro.com> On 04/05/2017 10:16 AM, Bugs in MARC-Record via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "sprintf crashing the MARC library due to % in $marc8", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #120966]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=120966 > > Please include the string: > > [rt.cpan.org #120966] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-MARC-Record@rt.cpan.org > > ------------------------------------------------------------------------- > Hi! > > When going through our records, one of them always crash > > Missing argument in sprintf at /usr/share/perl5/MARC/Charset.pm line 308. > Modification of a read-only value attempted at > /usr/share/perl5/MARC/Charset.pm line 308. > > Seemingly, the cause is the % in the middle of the $marc8 value. sprintf > then expects some extra variable, which causes the crash (one error > leading to the next). > > Not sure how to avoid that. I needed to comment the lines 308-310 in > the library to get through. > > Best regards, >
Download steustache-bibliographique.mrc.extrait
application/octet-stream 1.5k

Message body not shown because it is not plain text.