[Cado-nfs-discuss] problem while factoring RSA-129

Roberto Zanasi zanasi.roberto at fermi.mo.it
Sun Mar 25 16:24:18 CEST 2018


Hello.

I'm trying to factor the "famous" RSA-129 number (this is why that number
is famous:
https://en.wikipedia.org/wiki/The_Magic_Words_are_Squeamish_Ossifrage) but
I'm facing a problem during the duplicate removal phase. This is the error
message:

===
Error:Filtering - Duplicate Removal, splitting pass: Program run on server
failed with exit code -6
      Error:Filtering - Duplicate Removal, splitting pass: Command line
was: /home/roberto/prova-cado-nfs/cado-nfs/build/voyager/filter/dup1
-prefix dup1.0 -out /tmp/cado.07tjxuxt/c130.dup1/ -n 1 -filelist
/tmp/cado.07tjxuxt/c130.dup1.filelist.1 >
/tmp/cado.07tjxuxt/c130.dup1.stdout.1 2>
/tmp/cado.07tjxuxt/c130.dup1.stderr.1

Error:Filtering - Duplicate Removal, splitting pass: Stderr output follows
(stored in file /tmp/cado.07tjxuxt/c130.dup1.stderr.1):
                                                         b'antebuffer set
to /home/roberto/prova-cado-nfs/cado-nfs/build/voyager/utils/antebuffer\n#
Opening output file for slice 1 :
/tmp/cado.07tjxuxt/c130.dup1//1/dup1.0.0000.gz\n# Opening output file for
slice 0 :
/tmp/cado.07tjxuxt/c130.dup1//0/dup1.0.0000.gz\nfilter_rels_producer_thread:
load error (Bad file descriptor)
from\n/home/roberto/prova-cado-nfs/cado-nfs/build/voyager/utils/antebuffer
24 /tmp/cado.07tjxuxt/c130.upload/c130.1130000-1140000.dx43rdb3.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1120000-1130000.zsfb8qp4.gz
/tmp/cado.07tjxuxt/c130.upload/c130.920000-930000.8rh35286.gz
/tmp/cado.07tjxuxt/c130.upload/c130.980000-990000.mzntf9o7.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1340000-1350000.2z89k03s.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1160000-1170000.t2mcsv0v.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1440000-1450000.esdlc2eg.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1330000-1340000.uszvgz8x.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1410000-1420000.47955c4_.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1010000-1020000.le9tghb8.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1360000-1370000.d7d__zzd.gz
/tmp/cado.07tjxuxt/c130.upload/c130.900000-910000.z7kg2hzd.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1260000-1270000.ujlmmnpa.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1300000-1310000.v_i0060e.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1200000-1210000.lzboav8u.gz
/tmp/cado.07tjxuxt/c130.upload/c130.880000-890000.tto8b4z2.gz
/tmp/cado.07tjxuxt/c130.upload/c130.770000-780000.al2uvlh8.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1020000-1030000.r31lekn2.gz
/tmp/cado.07tjxuxt/c130.upload/c130.840000-850000.cyrifsec.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1220000-1230000.nyn1vzry.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1030000-1040000.97bjqomd.gz
/tmp/cado.07tjxuxt/c130.upload/c130.720000-730000.gp2nodql.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1250000-1260000.1xdv7qfg.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1270000-1280000.6eropx7p.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1240000-1250000.ce6xh304.gz
/tmp/cado.07tjxuxt/c130.upload/c130.810000-820000.wx5xveef.gz
/tmp/cado.07tjxuxt/c130.upload/c130.930000-940000.m4ksdvjz.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1350000-1360000.j71lmdvo.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1060000-1070000.1hiidpag.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1230000-1240000.j2l8lqys.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1180000-1190000.bxri2rq9.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1400000-1410000.ytrzu523.gz
/tmp/cado.07tjxuxt/c130.upload/c130.890000-900000.tsn7yv4w.gz
/tmp/cado.07tjxuxt/c130.upload/c130.760000-770000.qns5atb3.gz
/tmp/cado.07tjxuxt/c130.upload/c130.780000-790000.o78t1w1r.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1050000-1060000.5vi8pn19.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1190000-1200000.9i25gj3x.gz
/tmp/cado.07tjxuxt/c130.upload/c130.950000-960000.4y20w9t_.gz
/tmp/cado.07tjxuxt/c130.upload/c130.850000-860000.clccq50j.gz
/tmp/cado.07tjxuxt/c130.upload/c130.800000-810000.3qisahjw.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1370000-1380000.uga9g8wa.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1280000-1290000.r023l_6e.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1040000-1050000.78iha3fz.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1420000-1430000.ye95pryd.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1100000-1110000.c68e73yp.gz
/tmp/cado.07tjxuxt/c130.upload/c130.820000-830000.0uxa7r8c.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1140000-1150000.32oybivk.gz
/tmp/cado.07tjxuxt/c130.upload/c130.830000-840000.e8g3mtf5.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1290000-1300000._ih61yw8.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1380000-1390000.gahbmrx5.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1110000-1120000.huv2pr6u.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1310000-1320000.b_tycapv.gz
/tmp/cado.07tjxuxt/c130.upload/c130.860000-870000.ltofpuxs.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1070000-1080000.1bjo78ct.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1150000-1160000.s8u79umu.gz
/tmp/cado.07tjxuxt/c130.upload/c130.730000-740000.kyvrxrll.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1000000-1010000.eabjs3ge.gz
/tmp/cado.07tjxuxt/c130.upload/c130.910000-920000.lmm500z8.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1170000-1180000.z4kbzfh4.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1390000-1400000.yfb3jd16.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1090000-1100000.h86cc6hi.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1320000-1330000.wqlmabbn.gz
/tmp/cado.07tjxuxt/c130.upload/c130.711270-720000.ak2atej7.gz
/tmp/cado.07tjxuxt/c130.upload/c130.790000-800000.w7s3yi6k.gz
/tmp/cado.07tjxuxt/c130.upload/c130.960000-970000.mjqtd68d.gz
/tmp/cado.07tjxuxt/c130.upload/c130.870000-880000.p8c4kh_p.gz
/tmp/cado.07tjxuxt/c130.upload/c130.940000-950000.bdsjj0r6.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1210000-1220000.55o7k1q9.gz
/tmp/cado.07tjxuxt/c130.upload/c130.970000-980000.oisqt92y.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1080000-1090000.ftvv9ghg.gz
/tmp/cado.07tjxuxt/c130.upload/c130.750000-760000.5n9zmca8.gz
/tmp/cado.07tjxuxt/c130.upload/c130.740000-750000.h86st3jv.gz
/tmp/cado.07tjxuxt/c130.upload/c130.990000-1000000.gghxuidb.gz
/tmp/cado.07tjxuxt/c130.upload/c130.1430000-1440000._dkfvyay.gz | gzip -dc
-\n'
           Traceback (most recent call last):

                                                                     File
"./cado-nfs.py", line 122, in <module>

                                                    factors =
factorjob.run()

                                            File
"./scripts/cadofactor/cadotask.py", line 5515, in run

                                                     last_status, last_task
= self.run_next_task()

                              File "./scripts/cadofactor/cadotask.py", line
5590, in run_next_task

           return [task.run(), task.title]

                                                                File
"./scripts/cadofactor/cadotask.py", line 3169, in run

                                                     raise
Exception("Program failed")

====

I'm using the latest cado-nfs version (which is, I think, 3.0.0: I have
downloaded it from the git repository).

This is the output of make cmake:
===
-- Configuring CADO revision e54ecf196
-- PREFIX=/home/roberto/prova-cado-nfs/cado-nfs/installed (from environment)
-- CFLAGS=-O2 (from environment)
-- CXXFLAGS=-O2 (from environment)
-- MAKE=make (from environment)
-- C compiler: GNU 6.3.0
-- C++ compiler: GNU 6.3.0
-- Enabling C++11 support
-- CFLAGS=-std=c99 -g -W -Wall -O2  (synthetized)
-- CXXFLAGS=-std=c++11 -g -W -Wall -O2  -Wno-literal-suffix (synthetized)
-- GMP_INCDIR=/usr/include/i386-linux-gnu
-- GMP_LIBDIR=/usr/lib/i386-linux-gnu
-- bits in unsigned long: 32
-- bits in unsigned long long: 64
-- Testing for gmp_random predictability
-- Testing for gmp_random predictability -- ok
-- 32-bit platform, lazily disabling all Intel simd intrinsics
-- Testing whether ARM NEON code can be used
-- Testing whether ARM NEON code can be used -- No (cannot compile)
-- Trying to compile gcc-style x86_64 inline assembly
-- Trying to compile gcc-style x86_64 inline assembly -- Failed
-- Trying to compile gcc-style ARM inline assembly
-- Trying to compile gcc-style ARM inline assembly -- Failed
-- Trying to compile gas-syntax assembly sources
-- Trying to compile gas-syntax assembly sources -- Failed
-- Looking for log2
-- Looking for log2 - requires m
-- Looking for exp2
-- Looking for exp2 - requires m
-- Looking for cabsl
-- Looking for cabsl - requires m
-- Looking for clog
-- Looking for clog - requires m
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for popen
-- Looking for popen - found
-- Looking for pclose
-- Looking for pclose - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for waitpid
-- Looking for waitpid - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Testing whether RUSAGE_THREAD can be used
-- Trying to compile with RUSAGE_THREAD -- Success
-- Testing the existence of __sync_fetch functions
-- Testing the existence of __sync_fetch functions -- Success
-- Testing the existence of asprintf/vasprintf functions
-- Testing the existence of asprintf/vasprintf functions -- Success
-- Checking for MinGW
-- Checking for MinGW -- no
-- Testing if rand() gives true alea
-- Testing if rand() gives true alea -- Probably
-- Testing if srand() yields a deterministic sequence
-- Testing if srand() yields a deterministic sequence -- Yes
-- HWLOC_INCDIR=HWLOC_INCDIR-NOTFOUND
-- HWLOC_LIB=HWLOC_LIB-NOTFOUND
-- /usr/bin/python3 --version returned: Python 3.5.3
-- Importing module sqlite3 in Python succeeded.
-- Perl version is 5.24.1
-- JEVENTS_INCDIR=JEVENTS_INCDIR-NOTFOUND
-- JEVENTS_LIB=JEVENTS_LIB-NOTFOUND
-- Testing whether C++11 alignas() can be used
-- Testing whether C++11 alignas() can be used -- yes
-- Building with static libraries (ENABLE_SHARED="")
-- Looking for pthread_create
-- Looking for pthread_create - requires pthread
-- Looking for pthread_barrier_wait
-- Looking for pthread_barrier_wait - requires pthread
-- MPI is not enabled
-- Using libs:  (math) pthread (pthreads)
-- DL mode disabled for linear algebra
-- GF(2) implementations enabled for linear algebra: u64k1, u64k2, u64k3,
u64k4
-- GF(2) SpMV backends for linear algebra: bucket, basic, sliced
-- Main scripts will go to
/home/roberto/prova-cado-nfs/cado-nfs/installed/bin
-- Libraries and binaries will go to
/home/roberto/prova-cado-nfs/cado-nfs/installed/lib/cado-nfs-3.0.0
-- Data will go to
/home/roberto/prova-cado-nfs/cado-nfs/installed/share/cado-nfs-3.0.0
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/roberto/prova-cado-nfs/cado-nfs/build/voyager
===

I don't have a local.sh file (I'm compiling cado-nfs on a linux debian
system).

This is the output of gcc -v:

===
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --program-prefix=i686-linux-gnu- --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin
--enable-default-pie --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-i386/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-i386
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-i386
--with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--with-target-system-zlib --enable-objc-gc=auto --enable-targets=all
--enable-multiarch --with-arch-32=i686 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic --enable-checking=release
--build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18)
===

What should I do to fix the error?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20180325/9e94fb5e/attachment-0001.html>


More information about the Cado-nfs-discuss mailing list