Opened 13 years ago

Closed 13 years ago

#4885 closed bug (fixed)

jam seg faults

Reported by: khindenburg Owned by: mmu_man
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Following instructions on /trunk/docs/userguide/en/installation/install-source-mac.html

Afterwards, jam seg faults,

jam -v 2.5-haiku-20090626 OS=MACOSX

Note that I installed the requirements using gentoo-prefix (instead of macports). Packages: gnu-regexp, gawk, wget

Running Snow Leopard.

Change History (5)

comment:1 by khindenburg, 13 years ago

Here's what gdb reports

Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000018700 0x0000000100003b4e in normalize_path ()

comment:2 by axeld, 13 years ago

Version: R1/alpha1R1/Development

Can you provide a complete stack trace? (the output of gdb's "bt" command)

comment:3 by khindenburg, 13 years ago

#0 0x0000000100003b4e in normalize_path () #1 0x0000000100005942 in jcache () #2 0x000000010000b14a in yyline () #3 0x000000010000b2c6 in yylex () #4 0x000000010000400d in yyparse () #5 0x0000000100009434 in parse_file () #6 0x0000000100002d8b in compile_include () #7 0x00000001000021cb in compile_rules () #8 0x000000010000944f in parse_file () #9 0x0000000100001680 in main ()

comment:4 by mmu_man, 13 years ago

Owner: changed from bonefish to mmu_man
Status: newassigned

Spent some time on it, then I realized there was a warning for a reason on pathunix.c:255... it just misses the getcwd() prototype, so defaults to int return, which seems to be 32bit...

comment:5 by mmu_man, 13 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in hrev34515.

Note: See TracTickets for help on using tickets.