Bug#758903: clang-3.5: assembler segfaults on .org - 1
Daniele Forsi
dforsi at gmail.com
Fri Aug 22 17:22:24 UTC 2014
Package: clang-3.5
Version: 1:3.5~+rc1-2
Severity: normal
I reduced the test case to a single line:
.org . - 1
This is the stack trace of the segfault:
0 libLLVM-3.5.so.1 0xb63204c7 llvm::sys::PrintStackTrace(_IO_FILE*) + 39
1 libLLVM-3.5.so.1 0xb63206dc
2 libLLVM-3.5.so.1 0xb631ff34
3 linux-gate.so.1 0xb7794400 __kernel_sigreturn + 0
4 libc.so.6 0xb545c807
5 libLLVM-3.5.so.1 0xb5aacd3b llvm::MCObjectStreamer::EmitFill(unsigned long long, unsigned char) + 107
6 libLLVM-3.5.so.1 0xb5aab4eb llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) + 299
7 libLLVM-3.5.so.1 0xb5d347d2
8 libLLVM-3.5.so.1 0xb5d34b20
9 clang 0x082b15c1 cc1as_main(char const**, char const**, char const*, void*) + 5633
10 clang 0x082ad497 main + 9463
11 libc.so.6 0xb53f9a63 __libc_start_main + 243
12 clang 0x082ad4c6
Stack dump:
0. Program arguments: /usr/lib/llvm-3.5/bin/clang -cc1as -triple i386-pc-linux-gnu -filetype obj -main-file-name segfault.S -target-cpu pentium4 -fdebug-compilation-dir /home/daniele/Programmazione/vetusboot-cmake -dwarf-debug-producer Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0) -o /tmp/segfault-cd209e.o /tmp/segfault-82c151.s
1. Program arguments: -triple i386-pc-linux-gnu -filetype obj -main-file-name segfault.S -target-cpu pentium4 -fdebug-compilation-dir /home/daniele/Programmazione/vetusboot-cmake -dwarf-debug-producer Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0) -o /tmp/segfault-cd209e.o /tmp/segfault-82c151.s
0 libLLVM-3.5.so.1 0xb63204c7 llvm::sys::PrintStackTrace(_IO_FILE*) + 39
1 libLLVM-3.5.so.1 0xb63206dc
2 libLLVM-3.5.so.1 0xb631ff34
3 linux-gate.so.1 0xb7794400 __kernel_sigreturn + 0
4 libc.so.6 0xb545c807
5 libLLVM-3.5.so.1 0xb5aacd3b llvm::MCObjectStreamer::EmitFill(unsigned long long, unsigned char) + 107
6 libLLVM-3.5.so.1 0xb5aab4eb llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) + 299
7 libLLVM-3.5.so.1 0xb5d347d2
8 libLLVM-3.5.so.1 0xb5d34b20
9 clang 0x082b15c1 cc1as_main(char const**, char const**, char const*, void*) + 5633
10 clang 0x082ad497 main + 9463
11 libc.so.6 0xb53f9a63 __libc_start_main + 243
12 clang 0x082ad4c6
clang: error: unable to execute command: Segmentation fault
clang: error: clang integrated assembler command failed due to signal (use -v to see invocation)
Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0)
Target: i386-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://bugs.debian.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/segfault-730e40.S
clang: note: diagnostic msg: /tmp/segfault-730e40.sh
clang: note: diagnostic msg:
********************
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.14-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clang-3.5 depends on:
ii libc6 2.19-9
ii libc6-dev 2.19-9
ii libclang-common-3.5-dev 1:3.5~+rc1-2
ii libclang1-3.5 1:3.5~+rc1-2
ii libedit2 3.1-20140620-2
ii libffi6 3.1-2
ii libgcc-4.9-dev 4.9.1-4
ii libgcc1 1:4.9.1-4
ii libllvm3.5 1:3.5~+rc1-2
ii libobjc-4.9-dev 4.9.1-4
ii libstdc++-4.9-dev 4.9.1-4
ii libstdc++6 4.9.1-4
ii libtinfo5 5.9+20140712-2
Versions of packages clang-3.5 recommends:
ii llvm-3.5-dev 1:3.5~+rc1-2
ii python 2.7.8-1
Versions of packages clang-3.5 suggests:
pn clang-3.5-doc <none>
pn gnustep <none>
pn gnustep-devel <none>
-- no debconf information
-------------- next part --------------
# 1 "<built-in>"
# 1 "segfault.S"
.org . - 1
-------------- next part --------------
"/usr/lib/llvm-3.5/bin/clang" -cc1as -triple i386-pc-linux-gnu -filetype obj -main-file-name segfault-730e40.S -target-cpu pentium4 -dwarf-debug-producer Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on LLVM 3.5.0) /tmp/segfault-82c151.s
More information about the Pkg-llvm-team
mailing list