I am facing issues with 64 bit Judy compilation on solaris. Compiled it with --enable-64bit option in configure script.

Tried Jud1 and JudyL test code with 64 bit libraries but getting SEG Fault in j__udy1AllocJLW function.

Reading ld.so.1
Reading libc.so.1
program terminated by signal SEGV (no mapping at the fault address)
0xfffffd7fff2fff2c: t_delete+0x000c:    movq     0x0000000000000020(%rdi),%rax
Current function is j__udy1AllocJLW
  456           Pjlw_t Pjlw  = (Pjlw_t) MALLOC(JudyMalloc, Words, Words);
(dbx) where
  [1] t_delete(0x0, 0x0, 0x1000000, 0x0, 0x0, 0xfffffd7fff387b80), at 0xfffffd7fff2fff2c
  [2] realfree(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2ffcbe
  [3] _malloc_unlocked(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2ff745
  [4] malloc(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2ff53d
=>[5] j__udy1AllocJLW(Pop1 = 0), line 456 in "Judy1MallocIF.c"
  [6] Judy1Set(PPArray = 0xfffffd7fffdfe8a0, Index = 20U, PJError = 0xfffffd7fffdfe870), line 1789 in "Judy1Set.c"
  [7] main(), line 17 in "testCode.c"

Could you please suggest what might be the cause here

Thanks in advance for your help.


Looking for local information? Find it on Yahoo! Local

Love Cricket? Check out live scores, photos, video highlights and more. Click here.