Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on exiting QGIS master #28032

Closed
qgib opened this issue Oct 24, 2018 · 5 comments
Closed

Crash on exiting QGIS master #28032

qgib opened this issue Oct 24, 2018 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption

Comments

@qgib
Copy link
Contributor

qgib commented Oct 24, 2018

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 20211
Affected QGIS version: 3.3(master)
Redmine category:unknown


I am experiencing crashes when closing QGIS with the most recent master:

When I open QGIS (no plugins enabled, completely empty and new profile), and I do nothing (not even a simple project opened).

I close QGIS and it crashes on closing.

Am I the only one experiencing such crashes on closing?

System: Linux Ubuntu 18.04.1 LTS

QGIS: most recent master, self-compiled.

Maybe an issue only on my machine?

Stack trace:

QGIS died on signal 11[New LWP 6735]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f1d236456c2 in __GI___waitpid (pid=6744, stat_loc=0x7fff41e120ac, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30      ../sysdeps/unix/sysv/linux/waitpid.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7f1d2741e980 (LWP 6734))]
#_0  0x00007f1d236456c2 in __GI___waitpid (pid=6744, stat_loc=0x7fff41e120ac, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 0
#_1  0x000055cadcbcfffe in qgisCrash(int) ()
#_2  0x00007f1d2359ff20 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#_3  0x00007f1d25b2e718 in QgsCoordinateReferenceSystem::~QgsCoordinateReferenceSystem() () at /usr/local/lib/libqgis_core.so.3.3.0
#_4  0x00007f1d25b8ba1d in QHash<QString, QgsEllipsoidUtils::EllipsoidParameters>::deleteNode2(QHashData::Node*) () at /usr/local/lib/libqgis_core.so.3.3.0
#_5  0x00007f1d23ff46c9 in QHashData::free_helper(void (*)(QHashData::Node*)) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#_6  0x00007f1d235a4615 in __cxa_finalize (d=0x7f1d26692c00) at cxa_finalize.c:83
        check = 4159
        cxafn = <optimized out>
        cxaarg = <optimized out>
        f = 0x55cadef39e10
        funcs = 0x55cadef39c60
#_7  0x00007f1d2582e453 in __do_global_dtors_aux () at /usr/local/lib/libqgis_core.so.3.3.0
#_8  0x00007fff41e13550 in  ()
#_9  0x00007f1d272a8b73 in _dl_fini () at dl-fini.c:138
        array = 0x7f1d274c0068 <_rtld_global+8>
        i = <optimized out>
        l = 0x7f1d2746d510
        maps = 0x7fff41e12950
        i = <optimized out>
        l = <optimized out>
        nmaps = <optimized out>
        nloaded = <optimized out>
        ns = 0
        do_audit = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_fini"
gdb returned 0
Abgebrochen (Speicherabzug geschrieben)


@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2018

Author Name: Andreas Neumann (@andreasneumann)


Seems like valgrind stopped outputting information.

Should I run it again with --error-limit=no ?

Perhaps the necessary information is now cut off ...

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2018

Author Name: Andreas Neumann (@andreasneumann)


Now attaching the full valgrind log.


  • 13595 was configured as valgrind_qgis.txt

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2018

Author Name: Tobias Wendorff (Tobias Wendorff)


Andreas Neumann wrote:

Am I the only one experiencing such crashes on closing?

I'm experiencing such crashes on exist for several months now. I've never inspected it further, but I think a plugin is the reason. It didn't crash on a fresh installation, but after adding all my standard plugins, it crashed again. Windows 7/10

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2018

Author Name: Even Rouault (@rouault)


The log is useful, but can't really explain why such errors would occur. Hum, when I had similar errors in the past, it was due to having several versions of native providers / plugins from the current version and past version. But normally we have modified things so that this should no longer occur. But just in case can you try removing completely /usr/local/lib/qgis and removing all /usr/local/lib/libqgis* files, and "sudo make install" again .

@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2018

Author Name: Andreas Neumann (@andreasneumann)


This did it. You were right. Old versions of qgis libraries around 2.99 and such.

After removing everything and reinstalling, the crash is gone.

Thanks a lot!


  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Oct 24, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption
Projects
None yet
Development

No branches or pull requests

1 participant