[Qgis-user] QGIS 2.18 crashes on style by category

Jorge Gustavo Rocha jgr at di.uminho.pt
Thu Mar 23 15:48:09 PDT 2017


Hi Jonathan,

1. As Matthias suggested, after you send a kill signal, you can go back
to the gdb prompt and type bt to see the backtrace.

2. You QGIS 2.18 is not starting with a specific project, right? (The
one with style by category).

The project file is readable (hum... if XML is readable!). You can take
a look to check if there is something that might break QGIS in the
project file. To file a bug, you should add your project file to the report.

Good luck!

Jorge

PS. I can see from the gdb output that you removed the .qgis2 folder to
start with a more clean environment.


Às 17:23 de 23-03-2017, Matthias Kuhn escreveu:
> Hi Jonathan,
> 
> The most interesting part in GDB becomes visible as soon as you type
> "bt" after a crash (I think the same if you kill it but no guarantee).
> 
> Thanks
> Matthias
> 
> On 03/23/2017 06:11 PM, Jonathan Webb wrote:
>> Hi Jorge,
>>
>> I uninstalled all my plugins & that project won't even open now.
>>
>> GDB report is:
>>
>> $ gdb -ex=r --args /usr/bin/qgis.bin
>> GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
>> Copyright (C) 2014 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "x86_64-linux-gnu".
>> Type "show configuration" for configuration details.
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>.
>> Find the GDB manual and other documentation resources online at:
>> <http://www.gnu.org/software/gdb/documentation/>.
>> For help, type "help".
>> Type "apropos word" to search for commands related to "word"...
>> Reading symbols from /usr/bin/qgis.bin...(no debugging symbols
>> found)...done.
>> Starting program: /usr/bin/qgis.bin
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> Warning: loading of qgis translation failed
>> [/usr/share/qgis/i18n//qgis_en_GB]
>> Warning: loading of qt translation failed
>> [/usr/share/qt4/translations/qt_en_GB]
>> [New Thread 0x7fffcd875700 (LWP 11457)]
>> [New Thread 0x7fffc7fff700 (LWP 11458)]
>> [New Thread 0x7fffc75cf700 (LWP 11459)]
>> [New Thread 0x7fffc6dce700 (LWP 11460)]
>> Warning: QCss::Parser - Failed to load file  "/style.qss"
>> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No
>> such file or directory
>> [New Thread 0x7fffc65cd700 (LWP 11462)]
>> Warning: QFileSystemWatcher: failed to add paths:
>> /home/jonathan/.qgis2//project_templates
>> [New Thread 0x7fffc5dcc700 (LWP 11463)]
>> [New Thread 0x7fffc55cb700 (LWP 11464)]
>> Warning: QLayout: Attempting to add QLayout "" to QgsPanelWidgetStack
>> "mWidgetStack", which already has a layout
>> [New Thread 0x7fff5e2e6700 (LWP 11492)]
>> [New Thread 0x7fff5dae5700 (LWP 11527)]
>> [New Thread 0x7fff5d2e4700 (LWP 11528)]
>> [New Thread 0x7fff5cae3700 (LWP 11529)]
>> Warning: QPainter::begin: A paint device can only be painted by one
>> painter at a time.
>> Warning: QPainter::setRenderHint: Painter must be active to set
>> rendering hints
>> Warning: QPainter::setBrush: Painter not active
>> Warning: QPainter::setPen: Painter not active
>> Warning: QPainter::translate: Painter not active
>> Warning: QPainter::drawPath: Painter not active
>> Warning: QPainter::end: Painter not active, aborted
>> Warning: QPainter::begin: A paint device can only be painted by one
>> painter at a time.
>> Warning: QPainter::setRenderHint: Painter must be active to set
>> rendering hints
>> Warning: QPainter::setBrush: Painter not active
>> Warning: QPainter::setPen: Painter not active
>> Warning: QPainter::translate: Painter not active
>> Warning: QPainter::drawPath: Painter not active
>> Warning: QPainter::end: Painter not active, aborted
>> [Thread 0x7fff5dae5700 (LWP 11527) exited]
>> [Thread 0x7fff5e2e6700 (LWP 11492) exited]
>> [Thread 0x7fff5d2e4700 (LWP 11528) exited]
>>
>> me killed it as unresponsive
>> [Thread 0x7fff5cae3700 (LWP 11529) exited]
>> [Thread 0x7fffc55cb700 (LWP 11464) exited]
>> [Thread 0x7fffc65cd700 (LWP 11462) exited]
>> [Thread 0x7fffc6dce700 (LWP 11460) exited]
>> [Thread 0x7fffcd875700 (LWP 11457) exited]
>> [Thread 0x7fffc75cf700 (LWP 11459) exited]
>> [Thread 0x7fffc7fff700 (LWP 11458) exited]
>> [Thread 0x7fffc5dcc700 (LWP 11463) exited]
>>
>> Program terminated with signal SIGKILL, Killed.
>> The program no longer exists.
>>
>> This doesn't tell me much
>> I've been advised to file a bug report, so am waiting for an OSGEO account.
>> Cheers
>> jonathan
>>
>> Jonathan Webb
>> Freelance GIS Specialist
>> 07941 921905
>> http://www.jwebbgis.co.uk
>> http://uk.linkedin.com/in/jwebbgis
>> On 22/03/17 19:15, Jorge Gustavo Rocha wrote:
>>> Hi Jonathan,
>>>
>>> Às 18:56 de 22-03-2017, Jonathan Webb escreveu:
>>>> Hi Jorge,
>>>> Thanks,
>>>> 1.    Not sure you mean "without anything else installed"?  I moved the
>>>> backup ~qgs file & still crashes.
>>> I meant without any plugin installed. Plugins might cause problems when
>>> changing QGIS version.
>>>
>>> Try to start with gdb just to see the reason for crashing. On the terminal:
>>>
>>> gdb -ex=r --args /usr/bin/qgis.bin
>>>
>>> Regards,
>>>
>>> Jorge
>>>
>>>> 2    I used ppa:ubuntugis/ubuntugis-unstable
>>>>
>>>> 2.1   
>>>> $ dpkg -l | grep qgis | awk '{print $2, $3}'
>>>> libqgis-analysis2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-app2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-core2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-customwidgets 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-gui2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-networkanalysis2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgis-server2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgisgrass7-2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> libqgispython2.18.4 1:2.18.4+20trusty-ubuntugis
>>>> python-qgis 1:2.18.4+20trusty-ubuntugis
>>>> python-qgis-common 1:2.18.4+20trusty-ubuntugis
>>>> qgis 1:2.18.4+20trusty-ubuntugis
>>>> qgis-common 1:2.18.4+20trusty-ubuntugis
>>>> qgis-plugin-grass 1:2.18.4+20trusty-ubuntugis
>>>> qgis-plugin-grass-common 1:2.18.4+20trusty-ubuntugis
>>>> qgis-provider-grass 1:2.18.4+20trusty-ubuntugis
>>>> qgis-providers 1:2.18.4+20trusty-ubuntugis
>>>> qgis-providers-common 1:2.18.4+20trusty-ubuntugis
>>>>
>>>> Cheers
>>>> Jonathan
>>>>
>>>> Jonathan Webb
>>>> Freelance GIS Specialist
>>>> 07941 921905
>>>> http://www.jwebbgis.co.uk
>>>> http://uk.linkedin.com/in/jwebbgis
>>>> On 22/03/17 18:35, Jorge Gustavo Rocha wrote:
>>>>> Hi Jonathan,
>>>>>
>>>>> 1. Try to remove (backup first) your ~/.qgis2 folder, to start qgis
>>>>> without anything else installed.
>>>>>
>>>>> 2. Which repository did you use to install QGIS?
>>>>>
>>>>> 2.1 Can you provide a list of all qgis related packages, to check if
>>>>> there are any package conflicts or packages coming from different
>>>>> repositories/version?
>>>>>
>>>>> Can you try something like:
>>>>> dpkg -l | grep qgis | awk '{print $2, $3}'
>>>>>
>>>>> On my system, I've installed QGIS from ubuntugis respository. The result
>>>>> of the above command is:
>>>>>
>>>>> libqgis-analysis2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-app2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-core2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-customwidgets 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-gui2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-networkanalysis2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgis-server2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgisgrass7-2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> libqgispython2.18.4 1:2.18.4+24xenial-ubuntugis
>>>>> python-qgis 1:2.18.4+24xenial-ubuntugis
>>>>> python-qgis-common 1:2.18.4+24xenial-ubuntugis
>>>>> qgis 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-common 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-plugin-globe 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-plugin-globe-common 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-plugin-grass 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-plugin-grass-common 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-provider-grass 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-providers 1:2.18.4+24xenial-ubuntugis
>>>>> qgis-providers-common 1:2.18.4+24xenial-ubuntugis
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jorge
>>>>>
>>>>> Às 18:05 de 22-03-2017, Jonathan Webb escreveu:
>>>>>> Hello,
>>>>>> Linux Mint 17.2
>>>>>> Eventually managed to reinstall QGIS, upgrading from 2.16 to 2.18.
>>>>>> Was working OKfor about a day (apart from missing geoprocessing/geometry
>>>>>> & analysis tools now mostly resolved), then started crashing out instantly.
>>>>>>
>>>>>> I think I've tracked it down to applying a categorised style to a
>>>>>> polyline shapefile, some of the categories are turned off so they don't
>>>>>> display. I've been digitising against this on & off for a day & it was
>>>>>> OK, then suddenly started crashing.
>>>>>>
>>>>>> In case it's relevant, my GRASS7 plugins aren't working either.
>>>>>> Cheers
>>>>>> Jonathan
>>>>>> -- 
>>>>>> Jonathan Webb
>>>>>> Freelance GIS Specialist
>>>>>> 07941 921905
>>>>>> http://www.jwebbgis.co.uk
>>>>>> http://uk.linkedin.com/in/jwebbgis
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> Qgis-user at lists.osgeo.org
>>>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>>
>>>>> J. Gustavo
>>> J. Gustavo
>>
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor



More information about the Qgis-user mailing list