qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.03k stars 2.92k forks source link

QGIS crashes on startup on 64 bit Ubuntu #14917

Closed qgib closed 5 years ago

qgib commented 12 years ago

Author Name: Simon Coffey (Simon Coffey) Original Redmine Issue: 5169 Affected QGIS version: 1.7.4


I am running QGIS version 1.7.4-1 on 64 bit Ubuntu 11.10. When I try to start QGIS the splash screen appears and the tips screen pops up but the main screen flickers into life but then immediately disappears. Once I close the tips window QGIS appears to be dead and doesn't show up in the list of running processes.

When started from a terminal I get the following:

@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] Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Project Properties..." under id 104 Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Options..." under id 108 Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Snapping Options..." under id 109 Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Configure shortcuts..." under id 107 Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Style manager..." under id 106 Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Custom CRS..." under id 105 Python support ENABLED :-) Loaded : EasyPrint (package: easyprint) Loaded : Plugin Installer (package: plugin_installer) Loaded : fTools (package: fTools)@


Related issue(s): #15415 (duplicates) Redmine related issue(s): 6052


qgib commented 12 years ago

Author Name: Marco Bernasocchi (@mbernasocchi)


I m on a Pangolin nightly/live trying to run qgis and on top of what you get, i get @ qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `( ( ( currentType )->td_flags & 0x0007 ) == 0x0003 )' failed. Aborted ( core dumped ) @

qgib commented 12 years ago

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


FYI, I'm seeing the same crash as described by Marco on a 32-bit machine using the master ppa build.

qgib commented 12 years ago

Author Name: Simon Coffey (Simon Coffey)


This seems to have resolved itself. I tried logging in with Unity2D rather than normal Unity and QGIS worked. Then we I rebooted into normal Unity it still worked.

No real idea but I think the issue may be related to Ubuntu rather than QGIS.

qgib commented 12 years ago

Author Name: Giovanni Manghi (@gioman)


Marco and nirvn, if you have still evidence of this issue please reopen.


qgib commented 12 years ago

Author Name: Jorge Rocha (@jgrocha)


This problem is also happening in Ubuntu 12.04 32 bits, with Unity, QGIS 1.7.4-1~oneiric1. @ qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed. @

I'll try to find out more about this issue.

qgib commented 11 years ago

Author Name: Jason Matney (Jason Matney)


@$ qgis Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Project Properties..." under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem, QMenu*, int, int, const QStringList&): No id for action qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed. Aborted (core dumped) @

Any resolution to the issue?

This is what I'm getting at startup. The splash screen loads, then the whole program quits. QGIS 1.8, Ubuntu 12.04

qgib commented 11 years ago

Author Name: Salvatore Larosa (@slarosa)


Jason Matney wrote:

@$ qgis Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Project Properties..." under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem, QMenu*, int, int, const QStringList&): No id for action qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed. Aborted (core dumped) @

Any resolution to the issue?

This is what I'm getting at startup. The splash screen loads, then the whole program quits. QGIS 1.8, Ubuntu 12.04

How do you install it? from repo? source?

qgib commented 11 years ago

Author Name: Jason Matney (Jason Matney)


Installed from source, using synaptic GUI, all relevant dependencies updated from a nightly build, i.e.

@deb http://qgis.org/debian-nightly precise main@ @deb-src http://qgis.org/debian-nightly precise main@

qgib commented 11 years ago

Author Name: Jason Matney (Jason Matney)


Okay, tried to install from repository. Ubuntu 12.04. Updated GDAL... Still received this message @$ qgis Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction, int): Already tracking action "Project Properties..." under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem, QMenu*, int, int, const QStringList&): No id for action qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed. Aborted (core dumped) @

Any ideas?

qgib commented 11 years ago

Author Name: Jason Matney (Jason Matney)


Problem fixed!

qgib commented 11 years ago

Author Name: Cian O'Halloran (Cian O'Halloran)


Jason Matney wrote:

Problem fixed!

How did you solve it? I'm getting the same issue with QGIS 1.8 on Ubuntu 11.10.

qgib commented 11 years ago

Author Name: Andreas Fachathaler (Andreas Fachathaler)


Cian O'Halloran wrote:

How did you solve it? I'm getting the same issue with QGIS 1.8 on Ubuntu 11.10.

I am running Linux Mint 13 Maya (KDE Edition, 64bit) and had the same issue with qgis 1.8.0 from the repository (http://qgis.org/debian oneiric main). I got it working by removing the qgis python plugin (sudo apt-get remove python-qgis).

qgib commented 11 years ago

Author Name: Andreas Fachathaler (Andreas Fachathaler)


Oh, I just realised that I was using the wrong codename for the repository. Linux Mint 13 is based on Ubuntu 12.04, so I changed the repo to "http://qgis.org/debian precise main" and qgis works with the python plugin installed.