Skip to Content.
Sympa Menu

illinois-ml-nlp-users - [[Illinois-ml-nlp-users] ] Segmentation fault using SNoW+

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

[[Illinois-ml-nlp-users] ] Segmentation fault using SNoW+


Chronological Thread 
  • From: Cristián Serpell <cserpell AT gmail.com>
  • To: illinois-ml-nlp-users AT lists.cs.illinois.edu
  • Subject: [[Illinois-ml-nlp-users] ] Segmentation fault using SNoW+
  • Date: Tue, 27 Mar 2018 14:20:22 -0500

I've just downloaded SNoW+ Version 3.2.0, compiled and I haven't been able to
run the test phase, only the train one.

I compiled it using just make, with no errors, only a bunch of warnings
regarding deprecated libraries.

For example, see the output when running the tutorial below. I have tried with
other file formats, with no success. I ran it using strace, and it seems to
fail when reading the network file:

write(1, "Network file: 'tutorial.net'\n", 29Network file: 'tutorial.net'
) = 29
openat(AT_FDCWD, "tutorial.net", O_RDONLY) = 3
read(3, "target 0 0x1p+0 0x1p+0 1858 1407"..., 8191) = 8191
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

I am running in ubuntu 17.10.

Any help will be appreciated.

The output from command line:

Snow_v3.2/tutorial$ ./tutorial.sh
Testing SNoW using tutorial data...

../snow -train -I traindata.snow -F tutorial.net -A archfile

SNoW+ - Sparse Network of Winnows Plus
Cognitive Computations Group - University of Illinois at Urbana-Champaign
Version 3.2.0
Input file: 'traindata.snow'
Network file: 'tutorial.net'
Training with 2 cycles over training data.
Directing output to console.
Network Spec -> w(1.35,0.80,1.0,0.3159:0-1),

../snow -test -I testdata.snow -F tutorial.net

SNoW+ - Sparse Network of Winnows Plus
Cognitive Computations Group - University of Illinois at Urbana-Champaign
Version 3.2.0
Input file: 'testdata.snow'
Network file: 'tutorial.net'
Segmentation fault (core dumped)



Archive powered by MHonArc 2.6.19.

Top of Page