Bug 18045 - Autocomplete crash on "colon, tab" after source file name causes assertation
Summary: Autocomplete crash on "colon, tab" after source file name causes assertation
Status: RESOLVED DUPLICATE of bug 17960
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 11:45 UTC by Jim C
Modified: 2015-02-27 16:50 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim C 2015-02-27 11:45:49 UTC
Typing a source file name then a colon, followed by pushing TAB to see if I get some auto-complete options produces this failure.  It's reproducible endlessly on my project.

gdb$ b ata_pio_driver.cpp:completer.c:837: internal-error: maybe_add_completion: Assertion `tracker != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

Abort trap: 6 (core dumped)
jim@air-2 ~/osdev/os1 (master)
 $ gdb --version
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
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 "x86_64-apple-darwin".
Comment 1 Keith Seitz 2015-02-27 16:48:32 UTC
This bug has already been reported; a patch has been submitted upstream.

*** This bug has been marked as a duplicate of bug 17960 ***
Comment 2 Jim C 2015-02-27 16:50:10 UTC
Cheers Keith - I didn't spot that. Searching for " tracker != NULL " didn't work in bugzilla - I think it must have applied some special meaning to !=.
Thanks!