Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

octave mmap failure (netbsd-current/amd64)



Hi,

I'm seeing mmap failures with octave. It is most easily repeated by

        echo 'det([1])' |  octave

producing

...
error: mmap of entire address space failed: Cannot allocate memory

ktrace/kdump contains

...
 10273      1 octave-3.2.4 RET   __getcwd 24/0x18
 10273      1 octave-3.2.4 CALL  open(0x7f7ffbd39d38,0,0x2f2f2f2f2f2f2f2f)
 10273      1 octave-3.2.4 NAMI  "/usr/pkg/libexec/octave/3.2.4/oct/x86_64--
netbsd/det.oct"
 10273      1 octave-3.2.4 RET   open 3
 10273      1 octave-3.2.4 CALL  __fstat50(3,0x7f7fffffc4e0)
 10273      1 octave-3.2.4 RET   __fstat50 0
 10273      1 octave-3.2.4 CALL  mmap(0,0x1000,1,1,3,0,0)
 10273      1 octave-3.2.4 RET   mmap 140187698843648/0x7f7ffdfdd000
 10273      1 octave-3.2.4 CALL  munmap(0x7f7ffdfdd000,0x1000)
 10273      1 octave-3.2.4 RET   munmap 0
 10273      1 octave-3.2.4 CALL  mmap(0x400000,0x20d000,5,0x15000002,3,0,0)
 10273      1 octave-3.2.4 RET   mmap -1 errno 12 Cannot allocate memory
 10273      1 octave-3.2.4 CALL  close(3)
 10273      1 octave-3.2.4 RET   close 0
 10273      1 octave-3.2.4 CALL  __sigprocmask14(0,0,0x7f7ffbca2f28)
 10273      1 octave-3.2.4 RET   __sigprocmask14 0
 10273      1 octave-3.2.4 CALL  write(2,0x7f7ff9f8a1b8,0x43)
 10273      1 octave-3.2.4 GIO   fd 2 wrote 67 bytes
       "error: mmap of entire address space failed: Cannot allocate memory\n"
...

Is the problem unique to my system or do other people see this error too?

Thanks,
Sverre


Home | Main Index | Thread Index | Old Index