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

QGIS crashes pointing to libjpeg/jdapimin #51

Closed
ecodiv opened this issue Dec 31, 2015 · 16 comments
Closed

QGIS crashes pointing to libjpeg/jdapimin #51

ecodiv opened this issue Dec 31, 2015 · 16 comments
Labels

Comments

@ecodiv
Copy link

ecodiv commented Dec 31, 2015

I am running QGIS 2.12 (but same happened on QGIS master), compiled on Ubuntu 14.04. When enabling the Quickmapservices addon, QGIS crashes without any message.

Just in case it has to do with some warnings when starting up QGIS, I am copying those warning messages below:

$ qgis
Warning: loading of qgis translation failed [/usr/local/qgis/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss" 
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action 
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action 
Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "&Toolbox" under id 264 
Segmentation fault (core dumped)
@spencerrecneps
Copy link

I've been having the same problem on Ubuntu 15.10 with QGIS 2.12 as recently as this weekend.

@yellow-sky yellow-sky added the bug label Mar 11, 2016
@simgislab
Copy link
Member

All is ok for me on Ubuntu 14.04, QGIS 2.14 and upstream QMS, can you try updating from repo?

@simgislab
Copy link
Member

or from newest release

@ecodiv
Copy link
Author

ecodiv commented May 28, 2016

Tried it again today, with updated QGIS master on Ubuntu 14.04. Same problem, segmentation fault (core dumped). What would be the best way to test this further, check what is going wrong?

@ecodiv
Copy link
Author

ecodiv commented May 30, 2016

Not sure if this helps, but when running under dbg, the following was printed when attempting to open the plugin. Instead of crashing, QGIS freezes in this case.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff103313c in jpeg_CreateDecompress (cinfo=0x55c7e28, version=80, structsize=656)
at libjpeg/jdapimin.c:37
37 ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
(gdb)

@spencerrecneps
Copy link

Is there more information needed for this bug? I'm still experiencing issues on Ubuntu 16.04 and QGIS 2.16.

@ecodiv
Copy link
Author

ecodiv commented Dec 4, 2016

Just updated my QGIS to 2.18 (manually compiled on Ubuntu 16.04) and I am still experiencing this issue. Any clues where to look for the cause / solution?

@spencerrecneps
Copy link

spencerrecneps commented Feb 7, 2017

I'm still experiencing this issue on a fresh install of 2.18 from source. I ran a debug session and saved a screenshot of the messages resulting in a segfault. This occurs when I click the Web menu and mouse over the QMS plugin.

image

It appears to be an issue with a bad call to libjpeg.

I also noticed that the problem only occured once I enabled the additional providers in the settings. Now that it's broken I can't go back into settings and test it again, but hopefully that offers a clue.

edit: clarification

@ecodiv
Copy link
Author

ecodiv commented Feb 8, 2017

I am also still experiencing the same with a fresh install of 2.18 from source on Ubuntu 16.04, also with segfault.

@cubarro
Copy link

cubarro commented Mar 8, 2017

My version of QMS also crashed, but after addon is enabeled and downloaded tiles from OSM server.

When add OSM Standard. Counting from 1 to 20. In 20 is out of qgis. No error messages.
Using Linux Mint 18.1 64 bits, Qgis 2.14.12 and QMS 0.18.4.

I deleted all Qgis, grass, saga, scipy and depedencies with purge. Re-installed and crashed the same.

Another system with Linux Mint 18.1 32 bits, same 2 GB ram is running very well. I used same steps for installing complete system.

What could I do?

@spencerrecneps
Copy link

@simgislab This bug has been open for a year now with no fix. Has this issue been forgotten?

@cubarro
Copy link

cubarro commented Mar 8, 2017

And is curious that is not present in my system with 32 bits.

@simgislab
Copy link
Member

@cubarro, please don't cross-post, it doesn't help. You didn't provide any info linking your crash and this one.

@spencerrecneps there is not much we can do. It is not reproducible and from stacktrace above it seems like it is related to system libs/general QGIS.

Consider signing up for our support http://nextgis.com/pricing, than we'll be able to have a look in more detail.

@simgislab simgislab changed the title QGIS crashes when enabling quickmapservices addon QGIS crashes pointing to libjpeg/jdapimin Mar 8, 2017
@spencerrecneps
Copy link

@simgislab thanks for the response. For reference, I've filed a bug with QGIS:
http://hub.qgis.org/issues/16326

@spencerrecneps
Copy link

@simgislab The response from the QGIS team (in the bug report linked above) indicates that the problem lies with QMS, not with QGIS itself. Any thoughts?

I have a hunch that you're right about the bug being in QGIS itself but I'd need to be able to provide them more information. If you have any ideas for further testing or something please let me know. Thanks!

@simgislab
Copy link
Member

lot's of changes since, please reopen if necessary with updated case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants