logo       

Re: More plplot issues...: msg#00019

Subject: Re: More plplot issues...
Thanx Trevor,

That's the way I have to do it, but sometimes one forgets....

Regards,
Kare

On Tue, 2007-05-08 at 09:44 +1200, Trevor Carey-Smith wrote:
Hi,
Not sure if this is the problem, but if your script is bailing out with an error before plend() is called then next time you run the script it will try to open plplot when its already open. There may be a better fix, but if you just call plend() before rerunning your script it might solve your problem

Regards,
Trevor.

----- Original Message -----
From: Kåre Edvardsen <ked@xxxxxxx>
Date: Monday, May 7, 2007 10:57 pm
Subject: [Perldl] More plplot issues...
To: Perl <perldl@xxxxxxxxxxxxxxx>

> There is a very unfortunate thing with plplot and PDL; when making
> mistakes which makes PDL barf, I often experience the whole PDL
> sessionto terminate with segmentation fault. If I for instance
> get a warning
> like:
>
> perldl> do 'test.pl'
> Can't call method "nslice" on an undefined value at test.pl line 187.
>
> I then correct the mistake and re-run the code, but somehow my plplot
> calls are messed up, even they are correct programmed and I get this
> error:
>
> *** PLPLOT WARNING ***
> plsdev: Must be called before plinit.
> Segmentation fault
>
> This is not very funny when it takes 15 min to re-run the whole
> chunk of
> code which builds up the piddles I want to plot.
>
> Does anyone know if Is it possible to make the perldl session more
> crash-safe?
>
> Cheers,
> Kare
>
_______________________________________________
Perldl mailing list
Perldl@xxxxxxxxxxxxxxx
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe