RE: [U2] [UV] This 2 line program can crash a UV session

2005-08-29 Thread Claus Derlien
I tried on universe 10.1.0 running on DEBIAN 3.1

This is the output from raid..
RAID BP TEST2
 TEST2:   1: A=SPACE(7)
:: S
 TEST2:   2: A= LOWER(FOLD(A,1))
:: S
Abnormal termination of UniVerse.
Fault type is 11.  Layer type is BASIC run machine.
Fault occurred in BASIC program TEST2 at address e.

And here is the output from vlist

1: A=SPACE(7)
1 0 : 184 space  7  = A

2: A= LOWER(FOLD(A,1))
2 6 : 230 fold   A 1  = $R0
2 E : 0DA lower  $R0  = A

3: CRT A
3 00014 : 046 crtcrlfA

I tried to split lower and fold up into seperate lines, and ran the program 
with RAID

after the fold A prints as an empty string but trying to display the content of 
A with A/ in RAID
produces several screens of binary output from the display device (ugly sight) 
file, and after that the program continues but dies on the call to lower() no 
wonders with that input to lower :-)

scrolling up in the binary rubbish i can see this : 

:: s
 TEST2:   4: CRT '(':A:')'
:: A/
STRING: T r L=-1 `$p/@1STRING: %c %c L=%i `%s'~O

notice that L = -1 ; so right after this the LOWER(A) will try to manipulate 
stuff from shared memory, perhaps some common variables ??+

how long is A when the reported length is -1 ??

this is a potential buffer underrun problem, time to exploit the possibility 
for manipulating the run time engine :-))

I don't know if the above is useful but it was kind of interesting

best regards from 'sunny' Denmark

Claus Derlien
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Norman, David
 (SAAS)
 Sent: Monday, August 29, 2005 2:08 AM
 To: 'u2-users@listserver.u2ug.org'
 Subject: RE: [U2] [UV] This 2 line program can crash a UV session
 
 
 Crashes on 10.0.16 HP-UX if folding on 1 character, OK if folding on
 2characters.
 
 
 David Norman
 Senior Software Engineer
 SA Ambulance Service
 Box 3, GPO
 Adelaide, South Australia 5001
 *+61 8 8274 0384
 fax +61 8 8271 4844
 * [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] 
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 **
 ** 
 Denne mail er blevet scannet af http://www.virus112.com 
 **
 **
 
 

Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk

***
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt materiale, 
der kun er beregnet for adressaten,
og maa ikke udleveres eller kopieres til uvedkommende. Har De ved en 
fejltagelse modtaget denne email, bedes
De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa forhaand 
tak.
***
This email and any files transmitted with it may contain confidential 
information intended for the addressee(s) only.
The information is not to be surrendered or copied to unauthorised persons. If 
you have received this
communication in error, please notify us immediately by telephone: +45 6313 
8550. Thank you.
***
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] This 2 line program can crash a UV session

2005-08-29 Thread Bjorn Behr
We are running UniVerse 10.1.3, Windows 2003 Server  it crashes here as
well. So it is not a HP-UX error.

Regards
Bjorn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
Sent: 27 August 2005 04:54
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] This 2 line program can crash a UV session

0001: A = SPACE(7)
0002: A = LOWER(FOLD(A,1))

I've been using fold to put a VM at a specific interval in a variable for
example:
001:  A = FOLD(AABBCCDDEEFFGG,2)

Which is shorter than:
A = AA,BB,CC,DD,EE,FF,GG
CONVERT , TO @AM IN A

But fold has this feature where it will ignore the length specified if it
finds spaces.  (Something that would be nice to over-ride).  In my case
instead of getting a @AM between each space, the program crashes and kicks
the user out of universe.

Universe 10.1.8 running on HP-UX 




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Trigger on a dictionary

2005-08-29 Thread Stuart Boydell
Anyone know how to (neatly) add a trigger to a dictionary?

create trigger blah after insert or update or delete on DICT FILE for each row
calling *blah;

UniVerse/SQL: DICT Unexpected

Apart from maybe creating a temporary voc entry to the D_FILE not sure how to
do this.

Regards,
Stuart
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] REMOVE results as promised.

2005-08-29 Thread Rex Gozar
Mark,

Post your test program so we know the test will be exactly the same.

I posted that I found substring assignment to be very fast (under one
second) yet your test showed it as taking over 8 minutes.  I suspect that
this is not simply a platform difference, but rather the tests we used were
significantly different.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson
 Sent: Sunday, August 28, 2005 7:15 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] REMOVE results as promised.


 Has anyone tested my reported D3 best method (DIM A(5) on another
 system? All of the alternate replies have been one or 2 tests
 on diverse
 systems. All 9 tests should be done on the same system to get
 relativity.
 My 1 cent.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UD] Have you seen this error (Invalid lock sequence)?

2005-08-29 Thread Noah Hart
Has anyone seen this type of error before?
(If it's in the docs, please point me there)

In LIA/_TEST at line 8 upl lock error(102).
In LIA/_TEST at line 8 1: error in U_dyn_hash for file 'MELG-VENDOR',
key '200407*DELTA*123450099', number=12398
In LIA/_TEST at line 8 1: error in U_delete_tuple for file
'MELG-VENDOR', key '200407*DELTA*123450099', number=12398
In LIA/_TEST at line 8 UPL error = 102 : Invalid lock sequence
In LIA/_TEST at line 8 Lockname (1199473 40632326) RX -- 101572608
PT-fid -- (1199473  40632326)  ISR(101572608)--[0 1] 24(S
1)

It is a problem?
How can it be fixed?

Thanks,

Noah 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/