comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: _Ref_Extra : BUG? (in Win2K 55b)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: _Ref_Extra : BUG? (in Win2K 55b) [message #27754] Thu, 01 November 2001 00:00
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
Martin Downing wrote:

> Heres the output I consistently get running the attached code in 5.5 beta
> W2K
> In case it crashes (only IDL not the OS) as 5.5b did for me, I advise
> finninshing anything useful first, then add a break where indicated in the
> code
> enjoy!
> =====================================
> Version 5.5 W2k run
>
> IDL> test_ref_extra_bug
> { x86 Win32 Windows Microsoft Windows 5.5 Beta Jun 20 2001 32 64}
> ;calling: test_extra, 3, /Key1
> TEST_EXTRA
> ** Structure <1d634f0>, 1 tags, length=2, data length=2, refs=1:
> KEY1 INT 1
> { 1}
> ;calling: test_ref_extra, 2, /Key1
> TEST_REF_EXTRA
> arg1 = 2
> E STRING = Array[1]
> KEY1
> TEST_REF_EXTRA
> arg1 = 1
> E STRING = Array[1]
> KEY1
> % Breakpoint at: TEST_REF_EXTRA 20
> D:\MARTIN\IDL\RA\junk\test_ref_extra_bug.pro
> .STEP ; into oblivion! (bang goes the IDL session and an email to RSI is on
> the way!!!)
>
> Brings amusement for all listening MAC and *nix users:
> 'The instruction at "0x2011238e" referenced memory at "0xfffffffc" the
> memory could not be read'
>
> ============
> version 5.4 (w2k) does a bit better
>
> IDL> test_ref_extra_bug
> { x86 Win32 Windows 5.4 Sep 25 2000 32 64}
> ;calling: test_extra, 3, /Key1
> TEST_EXTRA
> ** Structure <1907a48>, 1 tags, length=2, refs=1:
> KEY1 INT 1
> { 1}
> ;calling: test_ref_extra, 2, /Key1
> TEST_REF_EXTRA
> arg1 = 2
> E STRING = Array[1]
> KEY1
> TEST_REF_EXTRA
> arg1 = 1
> E STRING = Array[1]
> KEY1
> TEST_EXTRA
> E UNDEFINED = <Undefined>
>
> ==================================



I haven't looked closely at this, but here are my results
on linux idl v5.5:

IDL> test_ref_extra_bug
{ x86 linux unix linux 5.5 Aug 28 2001 32 32}
;calling: test_extra, 3, /Key1
TEST_EXTRA
** Structure <827ebdc>, 1 tags, length=2, data length=2, refs=1:
KEY1 INT 1
{ 1}
;calling: test_ref_extra, 2, /Key1
pro test_ref_ex,call, _REF_EXTRA=e
E STRING = Array[1]
pro test_ex,call, _EXTRA=e
** Structure <827ebdc>, 1 tags, length=2, data length=2, refs=1:
KEY1 INT 1
pro test_ref_ex,call, _REF_EXTRA=e
** Structure <827ebdc>, 1 tags, length=2, data length=2, refs=1:
KEY1 INT 1


Cheers,
bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: _Ref_Extra
Next Topic: Free IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:39:39 PDT 2025

Total time taken to generate the page: 0.00487 seconds