Did you compile everything?

Sometimes I've had problems with other binaries than PL itself (which
I always compile on the given system) when I've just copied them.


On Tue, Mar 6, 2012 at 5:26 PM, Mansur Mamkin <mmam...@mail.ru> wrote:
> Hi Alex!
>
> I have Linux Mint 12 x64 (based on Ubuntu) on my laptop + picoLisp x64 ver.
> 3.0.9.4 (testing release)
> gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
>
> I get segfault when I run ./dbg, then enter (traceAll) or (ht:Prin "&")
>
> I tried strace:
> --- (traceAll) ---
> .. skipped ...
> write(1, "\n", 1)                       = 1
> open("lib/ext", O_RDONLY)               = 3
> read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\0\0\0\0\0\0"..,
> 832) = 832
> fstat(3, {st_mode=S_IFREG|0775, st_size=6304, ...}) = 0
> getcwd("/home/mtm/picoLisp", 128)       = 19
> mmap(NULL, 2101624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
> 0x7f46b011b000
> mprotect(0x7f46b011c000, 2093056, PROT_NONE) = 0
> mmap(0x7f46b031b000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f46b031b000
> close(3)                                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> Process 2893 detached
> ---------------------
> --- (ht:Prin "&") ---
> .. skipped ...
> open("lib/ht", O_RDONLY)                = 3
> read(3,
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\21\0\0\0\0\0\0"..., 832)
> = 832
> fstat(3, {st_mode=S_IFREG|0775, st_size=18608, ...}) = 0
> getcwd("/home/mtm/picoLisp", 128)       = 19
> mmap(NULL, 2113920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
> 0x7fab38670000
> mprotect(0x7fab38672000, 2097152, PROT_NONE) = 0
> mmap(0x7fab38872000, 12288, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fab38872000
> close(3)                                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> Process 2884 detached
> -----------------------------
>
> The same version of PL works fine on CentOS 6.2 x64,
> so maybe that's not PL issue.
> If you have no idea about it at the moment, there is no big trouble, I can
> just migrate to CentOS.
>
> Regards,
> Mansur
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to