You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a test case illustrating the issue. This is an issue with YottaDB r1.20/r1.22 as well as GT.M V6.3-0003/V6.3-004.
> source test.csh
.
.
YDB>
%YDB-E-DBPRIVERR, No privilege for attempted update operation for file: /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/a.dat
YDB>
**%YDB-F-KILLBYSIGSINFO1, YottaDB process 26248 has been killed by a signal 11 at address 0x00007FA456397A61 (vaddr 0x00007FA4570E1008)
%YDB-F-SIGACCERR, Signal was caused by invalid permissions for mapped object
Segmentation fault (core dumped)**
> cat test.csh
rm -f a.dat x.dat mumps.dat
setenv ydb_gbldir x.gld
rm -f $ydb_gbldir$ydb_dist/mumps -run GDE <<GDE_EOFchange -segment DEFAULT -file=x.datadd -name a -region=aregadd -region areg -dyn=asegadd -segment aseg -file=a.datGDE_EOF$ydb_dist/mupip create
setenv ydb_gbldir mumps.gld
rm -f $ydb_gbldir$ydb_dist/mumps -run GDE <<GDE_EOFchange -segment DEFAULT -file=mumps.datadd -name a -region=aregadd -region areg -dyn=asegadd -segment aseg -file=a.datGDE_EOF$ydb_dist/mupip create -region=DEFAULT # do not recreate AREG since it already exists$ydb_dist/mupip set -read_only -nostats -acc=MM -reg AREG
$ydb_dist/mumps -direct <<YDB_EOF set ^|"mumps.gld"|a=1 set ^|"x.gld"|a=1YDB_EOF
Draft Release Note
Attempts to update a database file which has the READ_ONLY flag set through multiple global directories that map some namespace into this database file correctly issues a DBPRIVERR error. In prior versions, any attempts to update the database file through a second global directory would abnormally terminate the process with a KILLBYSIGINFO1 error (SIG-11).
The text was updated successfully, but these errors were encountered:
…AD_ONLY flag through multiple global directories
The open of the same database file through the second global directory was not setting
reg->read_only to TRUE and that caused updates to the db file which go through this second
global directory to let the update proceed resulting in an out-of-design situation that
later manifests itself as a SIG-11.
nars1
added a commit
to nars1/YottaDBtest
that referenced
this issue
May 17, 2018
… flag through multiple global directories
The open of the same database file through the second global directory was not setting
reg->read_only to TRUE and that caused updates to the db file which go through this second
global directory to let the update proceed resulting in an out-of-design situation that
later manifests itself as a SIG-11.
nars1
added a commit
to YottaDB/YDBTest
that referenced
this issue
May 17, 2018
Final Release Note
Description
Below is a test case illustrating the issue. This is an issue with YottaDB r1.20/r1.22 as well as GT.M V6.3-0003/V6.3-004.
Draft Release Note
Attempts to update a database file which has the READ_ONLY flag set through multiple global directories that map some namespace into this database file correctly issues a DBPRIVERR error. In prior versions, any attempts to update the database file through a second global directory would abnormally terminate the process with a KILLBYSIGINFO1 error (SIG-11).
The text was updated successfully, but these errors were encountered: