[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#929511: qtcreator: Segfault on start



tag 929511 unreproducible moreinfo
severity 929511 important
thanks

Hi Martin!

On Sat, 25 May 2019 at 05:06, Martin Haase <discipline@gmx.net> wrote:
>
> Package: qtcreator
> Version: 4.8.2-1
> Severity: grave
> Tags: upstream
> Justification: renders package unusable

I can't reproduce the behavior and I have also just installed buster
and unstable system in which to use qtcreator this very same week
without issues (it happens to be one of my principal tools for $job).
In none of those cases I could see a crash, so it's clearly not
happening to everyone and thus I'm lowering the severity.

It is however something we need to triage for buster.

> This is what I get when I try to start qtcreator:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffe6091e3c in llvm::SmallPtrSetImplBase::Grow(unsigned int) ()
> from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1

OK, so LLVM involved.

> Complete backtrace, as from gdb:
>
> #0  0x00007fffe6091e3c in llvm::SmallPtrSetImplBase::Grow(unsigned int) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1
> #1  0x00007fffe6091ff3 in llvm::SmallPtrSetImplBase::insert_imp(void const*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1
> #2  0x00007fffe6060d24 in llvm::cl::OptionCategory::registerCategory() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.7.so.1
> #3  0x00007fffd7602082 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #4  0x00007ffff7fe439a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe498, env=env@entry=0x7fffffffe4a8)
>     at dl-init.c:72
> #5  0x00007ffff7fe4496 in call_init (env=0x7fffffffe4a8, argv=0x7fffffffe498, argc=1, l=<optimized out>) at dl-init.c:30
> #6  _dl_init (main_map=main_map@entry=0x555555909600, argc=1, argv=0x7fffffffe498, env=0x7fffffffe4a8) at dl-init.c:119
> #7  0x00007ffff7fe8303 in dl_open_worker (a=a@entry=0x7fffffffda10) at dl-open.c:517
> #8  0x00007ffff6447f8f in __GI__dl_catch_exception (exception=<optimized out>, operate=<optimized out>, args=<optimized
>     out>) at dl-error-skeleton.c:196
> #9  0x00007ffff7fe7bea in _dl_open (file=0x555555909538 "/usr/lib/x86_64-linux-gnu/qtcreator/plugins/libClangTools.so",
>     mode=-2147479551, caller_dlopen=0x7ffff6ceffac, nsid=<optimized out>, argc=1, argv=0x7fffffffe498, env=0x7fffffffe4a8) at dl-open.c:599
> #10 0x00007ffff630f256 in dlopen_doit (a=a@entry=0x7fffffffdc30) at dlopen.c:66
> #11 0x00007ffff6447f8f in __GI__dl_catch_exception (exception=exception@entry=0x7fffffffdbd0, operate=<optimized out>,
>     args=<optimized out>)
>     at dl-error-skeleton.c:196
> #12 0x00007ffff644801f in __GI__dl_catch_error (objname=0x55555558cd00, errstring=0x55555558cd08, mallocedp=0x55555558ccf8,
>     operate=<optimized out>, args=<optimized out>) at
>     dl-error-skeleton.c:215
> #13 0x00007ffff630f975 in _dlerror_run (operate=operate@entry=0x7ffff630f200 <dlopen_doit>,
>     args=args@entry=0x7fffffffdc30) at dlerror.c:163
> #14 0x00007ffff630f2e6 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
> #15 0x00007ffff6ceffac in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #16 0x00007ffff6ce9c25 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #17 0x00007ffff6cea1d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
> #18 0x00007ffff7fad5dc in ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() ()
>     from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.4
> #19 0x00007ffff7fa54cd in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*,
>     ExtensionSystem::PluginSpec::State) () from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.4
> #20 0x00007ffff7fa6650 in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() ()
>     from /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.4
> #21 0x000055555555eeb6 in ?? ()
> #22 0x00007ffff633709b in __libc_start_main (main=0x55555555ca40, argc=1, argv=0x7fffffffe498, init=<optimized out>, fini=<optimized out>,
>     rtld_fini=<optimized out>, stack_end=0x7fffffffe488) at ../csu/libc-start.c:308
> #23 0x000055555555f50a in ?? ()
>
> I tried the crude hack renaming the lib and symlinking to a newer
> version, but that made things even worse. Besides, other programs
> will be affected, too.

I would expect that, yes.

I need some extra info:

- Which video card are you using?
- Please create a new user and try starting qtcreator there. Moving
out Qt creator's config is also possible, but more involved: you need
to move ~/.config/QtCreatorrc *and* ~/.config/QtProject/qtcreator/
*and* ~/.config/QtProject/QtCreator* (without qtcreator running) and
then start it.
- Have you installed any third party plugin? The crash seems to come
from loading a plugin.

Thanks for your report and your help, Lisandro.


-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


Reply to: