Hi Tobias,
> thanks for your bug report. However, I was unable to reproduce that behaviour > with the file you've attached. In the .azm source, another file (mcx.zmm) is > included, which I downloaded from the mcx source tarball > (<http://micans.org/mcl/src/mcl-08-157.tar.gz>). Did you use that version as > well? Yes, right. > Could you also run the following command: > $ strace zoem -d html -i mcxconvert.azm -o mcxconvert.html > and send the output to this bug report? Done. Could it be an arch specific problem? Since I'm using powerpc. Cheers, -- Philipp Benner
execve("/usr/bin/zoem", ["zoem", "-d", "html", "-i", "mcxconvert.azm", "-o", "mcxconvert.html"], [/* 29 vars */]) = 0 brk(0) = 0x804a000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001f000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30020000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/tls/ppc7450/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/tls/ppc7450/altivec", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/tls/ppc7450/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/tls/ppc7450", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/tls/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/tls/altivec", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/tls", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/ppc7450/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/ppc7450/altivec", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/ppc7450/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/ppc7450", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib/altivec", 0x7fdaedd8) = -1 ENOENT (No such file or directory) open("/home/philipp/usr/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/home/philipp/usr/lib", {st_mode=S_IFDIR|0755, st_size=952, ...}) = 0 open("tls/ppc7450/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/ppc7450/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("ppc7450/altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("ppc7450/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("altivec/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 6 fstat64(6, {st_mode=S_IFREG|0644, st_size=131476, ...}) = 0 mmap(NULL, 131476, PROT_READ, MAP_PRIVATE, 6, 0) = 0x30031000 close(6) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libm.so.6", O_RDONLY) = 6 read(6, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\313"..., 512) = 512 fstat64(6, {st_mode=S_IFREG|0644, st_size=706940, ...}) = 0 mmap(0x7f33000, 770764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f33000 mprotect(0x7fdc000, 65536, PROT_NONE) = 0 mmap(0x7fec000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xa9000) = 0x7fec000 close(6) = 0 open("/home/philipp/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/ppc7450/altivec/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/ppc7450/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/altivec/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("ppc7450/altivec/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("ppc7450/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("altivec/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 6 read(6, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\351"..., 512) = 512 fstat64(6, {st_mode=S_IFREG|0755, st_size=1458348, ...}) = 0 mmap(0x7dad000, 1528376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7dad000 mprotect(0x7f0b000, 65536, PROT_NONE) = 0 mmap(0x7f1b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x15e000) = 0x7f1b000 mmap(0x7f20000, 8760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f20000 close(6) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30021000 mprotect(0x7f1b000, 4096, PROT_READ) = 0 mprotect(0x7fec000, 12288, PROT_READ) = 0 mprotect(0x8045000, 8192, PROT_READ) = 0 munmap(0x30031000, 131476) = 0 brk(0) = 0x804a000 brk(0x806b000) = 0x806b000 open("mcxconvert.html", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 6 open("mcxconvert.azm", O_RDONLY) = 7 stat64("mcxconvert.azm", {st_mode=S_IFREG|0644, st_size=3225, ...}) = 0 fstat64(7, {st_mode=S_IFREG|0644, st_size=3225, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30031000 read(7, "\\def{\"man::synstyle\"}{long}\n\\def"..., 131072) = 3225 read(7, "", 131072) = 0 open("mcx.zmm", O_RDONLY) = 9 stat64("mcx.zmm", {st_mode=S_IFREG|0644, st_size=5032, ...}) = 0 fstat64(9, {st_mode=S_IFREG|0644, st_size=5032, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30051000 read(9, "\n\\\'set{reqver}{2006-032}\n\\\'if{\\\'"..., 131072) = 5032 read(9, "", 131072) = 0 open("man.zmm", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/man.zmm", O_RDONLY) = 10 stat64("/usr/share/zoem/mac/man.zmm", {st_mode=S_IFREG|0644, st_size=9636, ...}) = 0 fstat64(10, {st_mode=S_IFREG|0644, st_size=9636, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30071000 read(10, "\\:------------------------------"..., 131072) = 9636 read(10, "", 131072) = 0 brk(0x808c000) = 0x808c000 open("base.zmm", O_RDONLY) = -1 ENOENT (No such file or directory) brk(0x808b000) = 0x808b000 open("/usr/share/zoem/mac/base.zmm", O_RDONLY) = 11 stat64("/usr/share/zoem/mac/base.zmm", {st_mode=S_IFREG|0644, st_size=15945, ...}) = 0 fstat64(11, {st_mode=S_IFREG|0644, st_size=15945, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30091000 read(11, "\n\\\'import{ref.zmm}\n\\\'import{ctr."..., 131072) = 15945 read(11, "", 131072) = 0 open("ref.zmm", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/ref.zmm", O_RDONLY) = 12 stat64("/usr/share/zoem/mac/ref.zmm", {st_mode=S_IFREG|0644, st_size=1921, ...}) = 0 fstat64(12, {st_mode=S_IFREG|0644, st_size=1921, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x300b1000 read(12, "\n\\: refload#2 load ke"..., 131072) = 1921 read(12, "", 131072) = 0 open("ctr.zmm", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/ctr.zmm", O_RDONLY) = 13 stat64("/usr/share/zoem/mac/ctr.zmm", {st_mode=S_IFREG|0644, st_size=750, ...}) = 0 fstat64(13, {st_mode=S_IFREG|0644, st_size=750, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x300d1000 read(13, "\n\n\\\'if{\\\'defined{data}{pud::load"..., 131072) = 750 read(13, "", 131072) = 0 close(13) = 0 munmap(0x300d1000, 131072) = 0 close(12) = 0 munmap(0x300b1000, 131072) = 0 open("ctr.zmm", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/ctr.zmm", O_RDONLY) = 12 stat64("/usr/share/zoem/mac/ctr.zmm", {st_mode=S_IFREG|0644, st_size=750, ...}) = 0 fstat64(12, {st_mode=S_IFREG|0644, st_size=750, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x300b1000 read(12, "\n\n\\\'if{\\\'defined{data}{pud::load"..., 131072) = 750 read(12, "", 131072) = 0 close(12) = 0 munmap(0x300b1000, 131072) = 0 close(11) = 0 munmap(0x30091000, 131072) = 0 close(10) = 0 munmap(0x30071000, 131072) = 0 open("stamp.year", O_RDONLY) = 10 stat64("stamp.year", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0 read(10, "2008\n", 5) = 5 read(10, "", 5) = 0 close(10) = 0 open("stamp.month", O_RDONLY) = 10 stat64("stamp.month", {st_mode=S_IFREG|0644, st_size=4, ...}) = 0 read(10, "Jun\n", 4) = 4 read(10, "", 4) = 0 close(10) = 0 open("stamp.day", O_RDONLY) = 10 stat64("stamp.day", {st_mode=S_IFREG|0644, st_size=2, ...}) = 0 read(10, "5\n", 2) = 2 read(10, "", 2) = 0 close(10) = 0 open("stamp.tag", O_RDONLY) = 10 stat64("stamp.tag", {st_mode=S_IFREG|0644, st_size=21, ...}) = 0 read(10, "1.007-grumpy-gryphon\n", 21) = 21 read(10, "", 21) = 0 close(10) = 0 open("stamp.stamp", O_RDONLY) = 10 stat64("stamp.stamp", {st_mode=S_IFREG|0644, st_size=7, ...}) = 0 read(10, "08-157\n", 7) = 7 read(10, "", 7) = 0 close(10) = 0 close(9) = 0 munmap(0x30051000, 131072) = 0 open("mcxconvert.zmr", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/mcxconvert.zmr", O_RDONLY) = -1 ENOENT (No such file or directory) open("mcxconvert.zmt", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/zoem/mac/mcxconvert.zmt", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "[zinsert#1] ", 12[zinsert#1] ) = 12 write(2, "failure opening file <mcxconvert"..., 46failure opening file <mcxconvert.zmt> (rerun?)) = 46 write(2, "\n", 1 ) = 1 fstat64(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30051000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 11000 detached