s-news
[Top] [All Lists]

Re: A Strange behaviour of "unpaste"

To: "Gunter, Bert" <bert_gunter@merck.com>, <Pierre.Ilouga@evotecoai.com>
Subject: Re: A Strange behaviour of "unpaste"
From: "David Smith" <dsmith@insightful.com>
Date: Mon, 25 Nov 2002 13:36:16 -0800
Cc: <s-news@lists.biostat.wustl.edu>
Thread-index: AcKUtSw1ugTcuGs7T/iTWVNUQ5bk/AAD09TA
Thread-topic: [S] A Strange behaviour of "unpaste"
Yes, it was a bug in unpaste (the internal C code was overflowing a 
fixed-length buffer). Thanks to the report from Dr Ilouga, the bug has now been 
identified, and a fix will be included in the next release.  In the meantime, 
do not run unpaste on a string longer than 4095 characters to avoid this bug.

There's more information on our Known Bugs page at
http://www.insightful.com/support/faqdetail.asp?FAQID=137&IsArchive=0

# David Smith

-- 
David M Smith <dsmith@insightful.com>
Product Manager, Insightful Corp, Seattle WA
Tel: +1 (206) 802 2360
Fax: +1 (206) 283 6310

Insightful Corporation (www.insightful.com) provides analytical solutions for 
text and data using S-PLUS, Insightful Miner, InFact and consulting services. 

> -----Original Message-----
> From: Gunter, Bert [mailto:bert_gunter@merck.com]
> Sent: Sunday, November 24, 2002 1:15 PM
> To: 'Pierre.Ilouga@evotecoai.com'; s-news@lists.biostat.wustl.edu
> Subject: Re: [S] A Strange behaviour of "unpaste"
> 
> 
> What version and platform of S-Plus are you using?
> 
> In S-Plus 6.1 R1 on Windows, it worked with x of length 15 
> instead of 1500
> and Z<-paste(x[1:10],..etc.). However it failed with your 
> example giving the
> error:
> 
> Problem: Invalid frame number (0) in set_frame, while calling 
> subroutine
> S_unpaste 
> Use traceback() to see the call stack
> 
> Therefore,I'm pretty sure it's a bug. 
> 
> Cheers,
> 
> Bert Gunter
> Biometrics Research RY 84-16
> Merck & Company
> P.O. Box 2000
> Rahway, NJ 07065-0900
> Phone: (732) 594-7765
> mailto: bert_gunter@merck.com
> 
> "The business of the statistician is to catalyze the 
> scientific learning
> process."      -- George E.P. Box
> 
> 
> -----Original Message-----
> From: Pierre.Ilouga@evotecoai.com [mailto:Pierre.Ilouga@evotecoai.com]
> Sent: Friday, November 22, 2002 10:59 AM
> To: s-news@lists.biostat.wustl.edu; 
> s-news-owner@lists.biostat.wustl.edu
> Subject: [S] A Strange behaviour of "unpaste"
> 
> 
> 
> Hi to the Splusers,
> 
> my remark will be very short.
> 
> Let    x<- rep("A", 1500)  ;  x[5]<- "AB=AB"
> 
> 1-   Z<-paste(x[1:1000] , collapse=" ,")
>      Z.list<- unpaste( Z , sep= "=")    yields a list of length 2  (as
> expected)
> 
>           but
> 
> 2-   Z<-paste(x, collapse=" ,")
>      Z.list<- unpaste( Z , sep= "=")   results to an error with the
> following messages:
> 
> Terminating S Session: Signal: bad address signal
> Warning in restart(first): restart ignored after error 
> (unless clear=T),
> while calling subroutine S_unpaste
> Warning in restart(first): restart ignored after error 
> (unless clear=T),
> while calling subroutine S_unpaste
> Warning in restart(first): restart ignored after error 
> (unless clear=T),
> while calling subroutine S_unpaste
> Warning in restart(first): restart ignored after error 
> (unless clear=T),
> while calling subroutine S_unpaste
> 
> WHY?
> 
> Dr. Pierre Ilouga
> EVOTEC OAI
> Screening Operations/Discovery Informatics
> Schnackenburgallee 114
> D-22525 Hamburg
> Germany
> 
> 
> S-PLUS : Copyright (c) 1988, 2002 Insightful Corp.
> S : Copyright Lucent Technologies, Inc.
> Version 6.1.2 Release 2 for Linux 2.2.12 : 2002
> Working data will be in .Data
> 
> 
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
> 
> --------------------------------------------------------------
> ----------------
> Notice: This e-mail message, together with any attachments, 
> contains information of Merck & Co., Inc. (Whitehouse 
> Station, New Jersey, USA) that may be confidential, 
> proprietary copyrighted and/or legally privileged, and is 
> intended solely for the use of the individual or entity named 
> on this message.  If you are not the intended recipient, and 
> have received this message in error, please immediately 
> return this by e-mail and then delete it.
> 
> ==============================================================
> ================
> 
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
> 
> 

<Prev in Thread] Current Thread [Next in Thread>