Project

General

Profile

Bug #60599

omaddu bulk segmentation fault

Added by Alexey Bobyr about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
QAGroup
Category:
Scalix Server
Target version:
Start date:
08/05/2016
Due date:
08/08/2016
% Done:

100%

Estimated time:
0.00 h
Operation System:
Rhel 7

Description

cmd hanged

time /opt/scalix/bin/omaddu --bulk -e -p pass --class limited test usrs.list 

but in logs

ARNING                        Administration(omaddmn       ) 08.04.16 04:45:56
[OM 29021] No Orn to IA mapping found for entry /test

SERIOUS ERROR                  Administration(omaddu        ) 08.04.16 04:53:21
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 19170
Procedure trace follows:
  -> cdl_IsOu1Hosting
  -> cdl_GetOu1FromOrn
  -> nm_ParseORN
  <- nm_ParseORN
  <- cdl_GetOu1FromOrn
  <- cdl_IsOu1Hosting
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACIModContextFlags
  <- dr_ACIModContextFlags

cat ./usr.list
...
@DHV6YKZZ
@JCT4AVYL
@NUV7EL84
@CVVF6Z08
@F68O7OOK
@90T2Y6RL
@2YH22I1W

I don't know it can be malformed format from my side but
ommaddu must exit with error and not run.


Subtasks

History

#1

Updated by Alexey Bobyr about 3 years ago

 omaddu --bulk -p 1 -m -noMsgStore  --class limited test ./usrs.list

SERIOUS ERROR                  Administration(omaddu        ) 08.04.16 06:04:12
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 3781
Procedure trace follows:
  -> cdl_IsOu1Hosting
  -> cdl_GetOu1FromOrn
  -> nm_ParseORN
  <- nm_ParseORN
  <- cdl_GetOu1FromOrn
  <- cdl_IsOu1Hosting
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACICheckReadPerm
  <- dr_ACICheckReadPerm
  -> dr_ACIModContextFlags
  <- dr_ACIModContextFlags

[root@test scalix]# ll
total 176
drwxr-xr-x 10 root root    101 Aug  4 04:46 tt
-rw-rw-r--  1 root root 180000 Aug  4 05:37 usrs.list
[root@test scalix]# 

root@test scalix]# tail ./usrs.list 
aolokqyv v2xj6fp4
dv1z4wv3 8prhwiwc
iofcuvgb 707pompj
ito9mhfh ueoiqwe5
55xlamis z13g53yr
bvphwve1 v9lrlr4j
i9ml5qkx nxctakud
s7o1yxl7 ysg4q9pf
fbs8nt1f 78cdcsfr
ybhvpdbt im7xa9y3
[root@test scalix]# 

and I don't know why it fails

#2

Updated by Alexey Bobyr about 3 years ago

finally worked following cmd

[root@test scalix]# omaddu --bulk -p 1 -m -few --class limited test ./usrs.list

omaddu : Number of users added: 10000
[root@test scalix]# 

with a -few it worked or removed extra space '-noMsgStore --class' and removed noMsgStore

#3

Updated by Danny T about 3 years ago

Could be related to 60600 - I don't know yet.

#4

Updated by Danny T about 3 years ago

  • Status changed from New to Answered
  • Assignee changed from ServerDevsGroup to Danny T

Seems to be a separate issue, old code (not modified recently), investigating ...

#5

Updated by Danny T about 3 years ago

  • Status changed from Answered to In Progress
  • Estimated time deleted (0.00 h)

Fixed in latest build 14902.
Need to merge to trunk ...

#6

Updated by Danny T about 3 years ago

  • Tracker changed from Bug internal to Bug
  • Target version changed from 12.7 to Scalix 12.6
#7

Updated by Danny T about 3 years ago

  • Estimated time deleted (0.00 h)
#9

Updated by Danny T about 3 years ago

  • Assignee changed from Danny T to QAGroup
  • Estimated time deleted (0.00 h)

Also available in: Atom PDF