Opened 13 years ago

#3908 new defect

Tutorial Sections 3 and 4 crash mapserver 6.0.0

Reported by: kyngchaos Owned by: sdlime
Priority: normal Milestone:
Component: MapServer CGI Version: 6.0
Severity: normal Keywords:
Cc:

Description

I don't know if it's a change in 6.0 not accounted for in the tutorial (it dates from last April, well before 6.0) or some platform build issue. Sections 3 and 4 of the tutorial crash mapserver on OS X with:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   org.mapserver.mapserver       	0x000000010005481c yylex + 617
1   org.mapserver.mapserver       	0x0000000100054b40 yyparse + 591
2   org.mapserver.mapserver       	0x000000010007e6b7 msEvalContext + 348
3   org.mapserver.mapserver       	0x00000001000b2021 msLayerIsVisible + 173
4   org.mapserver.mapserver       	0x00000001000b6862 msDrawMap + 264
5   org.mapserver.mapserver       	0x000000010004220e msGenerateImages + 98
6   mapserv                       	0x0000000100003568 main + 1721
7   mapserv                       	0x0000000100000ab4 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff5fbfe9a0  rcx: 0x00000001022264b0  rdx: 0x0000000000000000
  rdi: 0x0000000000000096  rsi: 0x00007fff5fbfea40  rbp: 0x00007fff5fbfbb90  rsp: 0x00007fff5fbfbb80
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x000000010220fa30
  r12: 0x00007fff5fbfea70  r13: 0x0000000000000002  r14: 0x00007fff5fbfbcb8  r15: 0x0000000000000010
  rip: 0x000000010005481c  rfl: 0x0000000000010212  cr2: 0x0000000000000010

I don't see anything in the map file that needs updating for 6.0.

Change History (0)

Note: See TracTickets for help on using tickets.