Skip to content

pcaMethods caught illegal operation on docker image on server #28

Description

@loguille

Hello,
I got an error with pcaMethods when using it on a docker image on my server.
when I use it on a simple matrix I got the error :

*** caught illegal operation ***
address 0x7f8b13c0f224, cause 'illegal operand'

Traceback:
 1: RnipalsPca(prepres$data, nPcs = nPcs, ...)
 2: pcaMethods::pca(t(mat), method = "rnipals", nPCs = 2)
An irrecoverable exception occurred. R is aborting now ...

here is the config used of the server :

Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             40 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      10
  On-line CPU(s) list:       0-9
Vendor ID:                   AuthenticAMD
  Model name:                QEMU Virtual CPU version 2.5+
    CPU family:              15
    Model:                   107
    Thread(s) per core:      1
    Core(s) per socket:      10
    Socket(s):               1
    Stepping:                1
    BogoMIPS:                8583.83
    Flags:                   fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl cpuid extd_apicid tsc_known_freq pni ssse3 fma cx16 sse4_1
                             sse4_2 x2apic movbe popcnt aes xsave avx f16c hypervisor lahf_lm cmp_legacy abm 3dnowprefetch vmmcall bmi1 avx2 bmi2 avx512f avx512dq avx512cd avx512bw avx512vl
Virtualization features:
  Hypervisor vendor:         KVM
  Virtualization type:       full
Caches (sum of all):
  L1d:                       640 KiB (10 instances)
  L1i:                       640 KiB (10 instances)
  L2:                        5 MiB (10 instances)
  L3:                        160 MiB (10 instances)
NUMA:
  NUMA node(s):              1
  NUMA node0 CPU(s):         0-9
Vulnerabilities:
  Gather data sampling:      Not affected
  Indirect target selection: Not affected
  Itlb multihit:             Not affected
  L1tf:                      Not affected
  Mds:                       Not affected
  Meltdown:                  Not affected
  Mmio stale data:           Not affected
  Reg file data sampling:    Not affected
  Retbleed:                  Not affected
  Spec rstack overflow:      Not affected
  Spec store bypass:         Not affected
  Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:                Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
  Srbds:                     Not affected
  Tsa:                       Not affected
  Tsx async abort:           Not affected
  Vmscape:                   Not affected

The important thing to notice is that when I use pcaMethod on the server it works fine but not when I launch it from a docker image.

Thank you in advance

Loïc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions