Wrong default value for the V/WRITE format


PAW version:2.08/14
Description
The default value for the V/WRITE format was until now 5(1X,G13.7). This was not very convenient because the simple following set of commands crashes PAW. Moreover, the number of elements red back was wrong (10 instead of 6 in the following example). Entries 7 to 10 are not properly initialised and contain undefined values which make v/print crashes.

PAW > v/create x(6) r 1 2 3 4 5 6
PAW > v/write x x.dat
PAW > v/read y x.dat
 *** Unknown vector Y is created with length 10
PAW > v/print y
 Y( 1) = 1
 Y( 2) = 2
 Y( 3) = 3
 Y( 4) = 4
 Y( 5) = 5
 Y( 6) = 6
 Y( 7) =
 *** Break *** Segmentation violation
( 0)  0x00252300   signal_handler + 0x1a0  [/cern/pro/bin/pawX11]
( 1)  0xc01264d8   sigreturn  [/lib/libc.sl]
( 2)  0x00253688   strfromd + 0x4d0  [/cern/pro/bin/pawX11]
( 3)  0x00269c94   kxvprint + 0x534  [/cern/pro/bin/pawX11]
( 4)  0x00250924   kutim0_ + 0x9c  [/cern/pro/bin/pawX11]
( 5)  0x00250a10   kutim0_ + 0x188  [/cern/pro/bin/pawX11]
( 6)  0x00250430   exec_decoded_cmd + 0x290  [/cern/pro/bin/pawX11]
( 7)  0x00250178   clean_word + 0x12f0  [/cern/pro/bin/pawX11]
( 8)  0x0024e170   exec_cmd_string + 0x858  [/cern/pro/bin/pawX11]
( 9)  0x0024dbe4   exec_cmd_string + 0x2cc  [/cern/pro/bin/pawX11]
(10)  0x0024da4c   exec_cmd_string + 0x134  [/cern/pro/bin/pawX11]
(11)  0x00266370   ku_shut + 0x258  [/cern/pro/bin/pawX11]
(12)  0x002660c0   ku_what + 0x38  [/cern/pro/bin/pawX11]
(13)  0x00262cb0   ku_whag + 0x30  [/cern/pro/bin/pawX11]
(14)  0x00262c58   kuwhag_ + 0x10  [/cern/pro/bin/pawX11]
(15)  0x0004b3e0   pamain_ + 0x50  [/cern/pro/bin/pawX11]
PAW >
Fixed in: KUIP 2.07/13
Workaround
Don't use the default value for the V/WRITE format:
PAW > v/write x x.dat G13.7


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch