[LLVMbugs] [Bug 881] NEW: Segmentation fault on x86 - apple

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 16 21:33:26 PDT 2006


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

           Summary: Segmentation fault on x86 - apple
           Product: libraries
           Version: 1.8
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rcleven at mac.com


Just running tblgen with / without args gives this:

ryan-clevens-computer:~/Desktop/llvm/build rcleven$ sudo make VERBOSE=1
for dir in lib/System lib/Support utils lib/VMCore lib tools docs; do \
  if [ ! -f $dir/Makefile ]; then \
    /Users/rcleven/Desktop/llvm/build/../autoconf/mkinstalldirs $dir; \
    /bin/cp /Users/rcleven/Desktop/llvm/build/..//$dir/Makefile $dir/Makefile; \
  fi; \
  (make -C $dir all ) || exit 1; \
done
make[1]: Nothing to be done for `all'.
if [ ! -f bzip2/Makefile ]; then \
  /Users/rcleven/Desktop/llvm/build/../autoconf/mkinstalldirs bzip2; \
  /bin/cp /Users/rcleven/Desktop/llvm/build/../lib/Support/bzip2/Makefile bzip2/Makefile; \
fi; \
make -C bzip2 all ;
make[2]: Nothing to be done for `all'.
for dir in TableGen fpcmp PerfectShuffle; do \
  if [ ! -f $dir/Makefile ]; then \
    /Users/rcleven/Desktop/llvm/build/../autoconf/mkinstalldirs $dir; \
    /bin/cp /Users/rcleven/Desktop/llvm/build/../utils/$dir/Makefile $dir/Makefile; \
  fi; \
  (make -C $dir all ) || exit 1; \
done
/usr/bin/cmp -s /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileLexer.l /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileLexer.l.cvs || \
      (/bin/cp /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileLexer.cpp /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileLexer.cpp.cvs; /bin/cp /Users/rcleven/Desktop/llvm/
build/../utils/TableGen/FileLexer.l /Users/rcleven/Desktop/llvm/build/../utils/TableGen/
FileLexer.l.cvs)
/usr/bin/cmp -s /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileParser.y /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileParser.y.cvs || \
      (/bin/cp /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileParser.cpp /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileParser.cpp.cvs; \
       /bin/cp /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileParser.y /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileParser.y.cvs; \
       /bin/cp /Users/rcleven/Desktop/llvm/build/../utils/TableGen/FileParser.h /Users/rcleven/
Desktop/llvm/build/../utils/TableGen/FileParser.h.cvs)
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
/Users/rcleven/Desktop/llvm/build/Release/bin/tblgen -I /Users/rcleven/Desktop/llvm/build/../lib/
VMCore -I/Users/rcleven/Desktop/llvm/build/../include -I /Users/rcleven/Desktop/llvm/build/../lib/
Target       /Users/rcleven/Desktop/llvm/build/../include/llvm/Intrinsics.td -o /Users/rcleven/
Desktop/llvm/build/lib/VMCore/Release/Intrinsics.gen.tmp -gen-intrinsic
make[1]: *** [/Users/rcleven/Desktop/llvm/build/lib/VMCore/Release/Intrinsics.gen.tmp] 
Segmentation fault
make: *** [all] Error 1
ryan-clevens-computer:~/Desktop/llvm/build rcleven$ gdb Release/bin/tblgen 
GNU gdb 6.3.50-20050815 (Apple version gdb-477) (Sun Apr 30 20:01:44 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ..... done

(gdb) run -I /Users/rcleven/Desktop/llvm/build/../lib/VMCore -I/Users/rcleven/Desktop/llvm/build/../
include -I /Users/rcleven/Desktop/llvm/build/../lib/Target       /Users/rcleven/Desktop/llvm/build/../
include/llvm/Intrinsics.td -o /Users/rcleven/Desktop/llvm/build/lib/VMCore/Release/
Intrinsics.gen.tmp -gen-intrinsic
Starting program: /Users/rcleven/Desktop/llvm/build/Release/bin/tblgen -I /Users/rcleven/Desktop/
llvm/build/../lib/VMCore -I/Users/rcleven/Desktop/llvm/build/../include -I /Users/rcleven/Desktop/
llvm/build/../lib/Target       /Users/rcleven/Desktop/llvm/build/../include/llvm/Intrinsics.td -o /Users/
rcleven/Desktop/llvm/build/lib/VMCore/Release/Intrinsics.gen.tmp -gen-intrinsic
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xe4bbc70f
0x004f575f in receive_samples ()
(gdb) bt
#0  0x004f575f in receive_samples ()
#1  0xbfff0027 in ?? ()
#2  0x8fe0a516 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE ()
#3  0x8fe0ca08 in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#4  0x8fe03180 in __dyld__ZN4dyld24initializeMainExecutableEv ()
#5  0x000027ad in _call_mod_init_funcs () at /SourceCache/Csu/Csu-58.1.1/crt.c:304
#6  0x000026d9 in _start (argc=10, argv=0xbffff798, envp=0xbffff7c4) at /SourceCache/Csu/
Csu-58.1.1/crt.c:222
#7  0x00002689 in start ()



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list