[fpc-pascal]Crash with CMEM

Andrey Kubyshev email at vtc.ru
Mon Dec 11 20:19:48 CET 2000


Hello fpc-pascal,

  Maybe my problem is in FAQs but i cannot find explanation for it.
  When i put CMEM unit whereever in my working project (before or
  after pthread unit) program crahses
  on initialization of something before my program starts.
  here is strace output. Maybe i need some compilation keys ?
  I used lates sources from CVS.
...
uname({sys="Linux", node="mylinux", ...}) = 0
rt_sigaction(SIGRT_0, {0x4003ee70, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4003ef10, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x4003f030, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0
sigaction(SIGFPE, {0x8099140, [], 0}, NULL, 0x806e908) = 0
sigaction(SIGSEGV, {0x8099140, [], 0}, NULL, 0x806e908) = 0
open("/etc/timezone", O_RDONLY)         = -1 ENOENT (No such file or directory)
stat("/usr/lib/zoneinfo/localtime", {st_mode=S_IFREG|0644, st_size=755, ...}) = 0
open("/usr/lib/zoneinfo/localtime", O_RDONLY) = 4
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 44) = 44
brk(0)                                  = 0x80e9940
brk(0x80e9970)                          = 0x80e9970
brk(0x80ea000)                          = 0x80ea000
read(4, 0, 536)                         = -1 EFAULT (Bad address)
read(4, 0, 134)                         = -1 EFAULT (Bad address)
--- SIGSEGV (Segmentation fault) ---
  

  

-- 
Best regards,
Kubyshev Andrey                          mailto:email at vtc.ru






More information about the fpc-pascal mailing list