[LLVMbugs] [Bug 12894] New: Assertion failed: (NumGlobalIntvs && "No global intervals configured") on OSX Lion 10.7.4

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 19 21:51:07 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12894

             Bug #: 12894
           Summary: Assertion failed: (NumGlobalIntvs && "No global
                    intervals configured") on OSX Lion 10.7.4
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mrsmiley98 at lycos.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8598
  --> http://llvm.org/bugs/attachment.cgi?id=8598
Preprocessed source for avio.c

Using clang-3.2svn from git at revision 2b309fb, I can't compile Avidemux-2.6,
but I can compile it with clang-3.1.

I see:
  clang: error: unable to execute command: Illegal instruction: 4

And specifically:
  Assertion failed: (NumGlobalIntvs && "No global intervals configured"),
function splitAroundRegion, file RegAllocGreedy.cpp, line 960.

This is my setup:
  OSX Lion 10.7.4
  64bit Core i5, 8MB RAM
  XCode-4.3.2
  clang-git (3.2 at 2b309fb)
  cmake-2.8.8
  avidemux-svn (2.6 r7967)
  ffmpeg-0.10.2 (internal package within avidemux)

Here is the terminal output I see:
  https://raw.github.com/gist/2743595

Here is the source file it crashes on, avio.c, from ffmpeg-0.10.2
  https://raw.github.com/gist/2745899


Steps to reproduce:  Building avidemux-2.6 from svn on OSX is complex.  So I
use Homebrew and this formula: 
  https://raw.github.com/2bits/homebrew/newAdm3/Library/Formula/avidemux3.rb

  1) Download and install XCode-4.3.2.
  2) Install Homebrew into /usr/local (http://mxcl.github.com/homebrew)
  3) brew update
  4) brew doctor <-- should say "Your system is raring to brew."
  5) brew install --with-clang --HEAD llvm
  6) sudo cp /usr/local/Cellar/llvm/HEAD/bin/clang /usr/bin
  7) sudo cp /usr/local/Cellar/llvm/HEAD/bin/clang++ /usr/bin
  8) Save that url above into /usr/local/Library/Formula/avidemux3.rb
  9) brew install `brew deps avidemux3`
 10) brew install -vd --with-debug avidemux3

However, it's clear that the assertion happens during the building of the
internal ffmpeg-0.10.2 that avidemux supplies.  So if you want to download and
build ffmpeg-0.10.2 from the ffmpeg website, you should get a lot of assertions
like I do, even if they are not the exact same ones because the build doesn't
get that far.
  8) brew install -vd ffmpeg

I will attach the preprocessed source and run script.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list