Bug 216835 - games/vavoom: utils/vcc crashes with clang 4.0 on amd64
Summary: games/vavoom: utils/vcc crashes with clang 4.0 on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Barbara Guida
URL:
Keywords: needs-patch
Depends on:
Blocks: 216008
  Show dependency treegraph
 
Reported: 2017-02-05 20:42 UTC by Jan Beich
Modified: 2017-06-04 15:20 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bar)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2017-02-05 20:42:16 UTC
[ 94%] Generating ../../basev/common/progs/engine.dat
cd /wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/progs/common && mkdir -p /wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/basev/common/progs
cd /wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/progs/common && ../../utils/vcc/../bin/vcc -P/wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/basev/common/progs /wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/progs/common/engine/classes.vc /wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/basev/common/progs/engine.dat
*** Signal 10

(lldb) r
Process 32871 launching
Process 32871 launched: '../../utils/vcc/../bin/vcc' (x86_64)
Process 32871 stopped
* thread #1, stop reason = signal SIGBUS: hardware error
    frame #0: vcc`VLexer::PushSource(this=0x000000000069aed0, Loc=0x000000000069b204, FileName=0x000000000069aec0) at vc_lexer.cpp:265
   262                  return;
   263          }
   264
-> 265          VSourceFile* NewSrc = new VSourceFile();
   266          NewSrc->Next = Src;
   267          Src = NewSrc;
   268
(lldb) bt
* thread #1, stop reason = signal SIGBUS: hardware error
  * frame #0: vcc`VLexer::PushSource(this=0x000000000069aed0, Loc=0x000000000069b204, FileName=0x000000000069aec0) at vc_lexer.cpp:265
    frame #1: vcc`VLexer::OpenSource(this=0x000000000069aed0, FileName=0x000000000069aec0) at vc_lexer.cpp:224
    frame #2: vcc`main(argc=4, argv=0x00007fffffffea60) at vcc.cpp:103
    frame #3: 0x000000000040179f vcc`_start + 383
(lldb) fr v
(VLexer *) this = 0x000000000069aed0
(TLocation &) Loc = 0x000000000069b204 (Loc = 0)
(const VStr &) FileName = 0x000000000069aec0 (Str = "/wrkdirs/usr/ports/games/vavoom/work/vavoom-1.33/progs/common/engine/classes.vc")
(VFileReader *) Strm = 0x0000000801a31528
(VLexer::VSourceFile *) NewSrc = 0x0000000000000000
(const char *) PathEnd = 0x0000000000000000
(int) FileSize = 0

http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-02-04_06h47m47s/logs/errors/vavoom-1.33_10.log
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-06-04 15:11:23 UTC
A commit references this bug:

Author: bar
Date: Sun Jun  4 15:10:59 UTC 2017
New revision: 442564
URL: https://svnweb.freebsd.org/changeset/ports/442564

Log:
  Apply some patches from OpenSUSE to fix some issues, including the build on recent compilers.

  PR:	216835, 219295

Changes:
  head/games/vavoom/Makefile
  head/games/vavoom/files/patch-libs_core_zone.cpp
  head/games/vavoom/files/patch-libs_core_zone.h
  head/games/vavoom/files/patch-source_host.cpp
  head/games/vavoom/files/patch-source_misc.cpp
  head/games/vavoom/files/patch-source_pr__exec.cpp
  head/games/vavoom/files/patch-source_r__sky.cpp
  head/games/vavoom/files/patch-source_sys__sdl.cpp
  head/games/vavoom/files/patch-source_timidity_readmidi.cpp
  head/games/vavoom/files/patch-source_vc__dehacked.cpp
  head/games/vavoom/files/patch-source_vc__object.cpp
  head/games/vavoom/files/patch-utils_glbsp_CMakeLists.txt
  head/games/vavoom/files/patch-utils_vcc_vcc.cpp
  head/games/vavoom/files/pkg-message.in
  head/games/vavoom/pkg-plist