Bug 1301596 - [abrt] clang: clang::SourceManager::translateLineCol(): clang-format killed by SIGSEGV
Summary: [abrt] clang: clang::SourceManager::translateLineCol(): clang-format killed b...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f84f1cfadac2a029108930ab25a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-25 13:27 UTC by Philip Withnall
Modified: 2016-12-20 18:10 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 18:10:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (48.13 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: cgroup (200 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: core_backtrace (1.13 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: dso_list (1000 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: environ (3.75 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: exploitable (82 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: limits (1.29 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: maps (5.24 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: mountinfo (3.85 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: namespaces (85 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: open_fds (140 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: proc_pid_status (1.04 KB, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details
File: var_log_messages (314 bytes, text/plain)
2016-01-25 13:28 UTC, Philip Withnall
no flags Details

Description Philip Withnall 2016-01-25 13:27:55 UTC
Description of problem:
clang-format -i -lines=0:0 some-c-file.c

The key bit here is -lines=0:0 (which is invalid, but still should not cause a crash).

Version-Release number of selected component:
clang-3.7.0-3.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        clang-format -i -lines=0:0 canterbury/paths.h
crash_function: clang::SourceManager::translateLineCol
executable:     /usr/bin/clang-format
global_pid:     30006
kernel:         4.3.3-301.fc23.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (3 frames)
 #0 clang::SourceManager::translateLineCol at /usr/src/debug/llvm-3.7.0.src/tools/clang/lib/Basic/SourceManager.cpp:1752
 #1 clang::format::fillRanges at /usr/src/debug/llvm-3.7.0.src/tools/clang/tools/clang-format/ClangFormat.cpp:143
 #2 clang::format::format at /usr/src/debug/llvm-3.7.0.src/tools/clang/tools/clang-format/ClangFormat.cpp:223

Comment 1 Philip Withnall 2016-01-25 13:28:02 UTC
Created attachment 1117987 [details]
File: backtrace

Comment 2 Philip Withnall 2016-01-25 13:28:03 UTC
Created attachment 1117988 [details]
File: cgroup

Comment 3 Philip Withnall 2016-01-25 13:28:04 UTC
Created attachment 1117989 [details]
File: core_backtrace

Comment 4 Philip Withnall 2016-01-25 13:28:06 UTC
Created attachment 1117990 [details]
File: dso_list

Comment 5 Philip Withnall 2016-01-25 13:28:07 UTC
Created attachment 1117991 [details]
File: environ

Comment 6 Philip Withnall 2016-01-25 13:28:09 UTC
Created attachment 1117992 [details]
File: exploitable

Comment 7 Philip Withnall 2016-01-25 13:28:10 UTC
Created attachment 1117993 [details]
File: limits

Comment 8 Philip Withnall 2016-01-25 13:28:11 UTC
Created attachment 1117994 [details]
File: maps

Comment 9 Philip Withnall 2016-01-25 13:28:13 UTC
Created attachment 1117995 [details]
File: mountinfo

Comment 10 Philip Withnall 2016-01-25 13:28:14 UTC
Created attachment 1117996 [details]
File: namespaces

Comment 11 Philip Withnall 2016-01-25 13:28:15 UTC
Created attachment 1117997 [details]
File: open_fds

Comment 12 Philip Withnall 2016-01-25 13:28:17 UTC
Created attachment 1117998 [details]
File: proc_pid_status

Comment 13 Philip Withnall 2016-01-25 13:28:18 UTC
Created attachment 1117999 [details]
File: var_log_messages

Comment 14 Fedora End Of Life 2016-11-24 15:10:33 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2016-12-20 18:10:43 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.