-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm trying to bundle my Mr. Voice application under OS X, and it's not working. I've tried with PAR-0.85 as well as the latest code from the PAR Subversion repository, and I'm getting the same problem. The bundling works fine, but when I run the binary, I get:
Kenbridge:~/mrvoice/trunk minter$ ./mrvoice Bus error
I've unzipped the PAR-bundled executable, but can't see anything obvious. I ran an OS X "ktrace" on the process, and it revealed something potentially suspicious.
......
13951 mrvoice RET stat 0
13951 mrvoice CALL open(0x131e880,0x601,0x1b6)
13951 mrvoice NAMI "/tmp/par-minter/cache-2d15537553d73f2f9002680cc2d9be02f0dbd4cd/ 983c1746.bundle"
13951 mrvoice RET open 9
13951 mrvoice CALL fstat(0x9,0x1800260)
13951 mrvoice RET fstat 0
13951 mrvoice CALL fcntl(0x9,0x2,0x1)
13951 mrvoice RET fcntl 0
13951 mrvoice PSIG SIGBUS SIG_DFL
Looking at the file referenced, I see:
Kenbridge:~/mrvoice/trunk minter$ ls -lsa /tmp/par-minter/cache-2d15537553d73f2f9002680cc2d9be02f0dbd4cd/ 983c1746.bundle
0 -rw-r--r-- 1 minter wheel 0 2 Dec 19:06 /tmp/par-minter/cache-2d15537553d73f2f9002680cc2d9be02f0dbd4cd/ 983c1746.bundle
So this 983c1746.bundle file is zero-bytes, which is probably a problem. But I can't really figure out where that's coming from. I checked the output of "par -vvv -o mrvoice mrvoice.pl" and don't see 983c1746 referenced anywhere. I deleted the /tmp/par-minter/ directory before running the file, so it's being generated by the current executable.
I've uploaded the relevant information to my webserver in case anyone can take a look at this and provide more information. I can't provide my app under OS X until this is resolved.
Application built under OS X 10.3: http://www.lunenburg.org/tmp/mrvoice.bz2
pp output: http://www.lunenburg.org/tmp/pp.txt
kdump trace output: http://www.lunenburg.org/tmp/kdump.txt.bz2
Thanks, Wade -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBsivlo4DwsyRGDscRAlphAKDcB/1P57JqIQxscPBs3Bm56KniZgCgvWYP nI3QkkoAKjkVkz0ZYp75c3Q= =mh4H -----END PGP SIGNATURE-----
