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 crash when zooming vector layer Postgresql with new line style #14192

Closed
qgib opened this issue Aug 31, 2011 · 6 comments
Closed

QGIS crash when zooming vector layer Postgresql with new line style #14192

qgib opened this issue Aug 31, 2011 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Aug 31, 2011

Author Name: Anibal Alarcon (Anibal Alarcon)
Original Redmine Issue: 4241

Redmine category:vectors
Assignee: Martin Dobias


There happens when I ZOOMING a POSTGRES vector layer with a line and arrow decoration (symbolproperties.png) causing the CRASH, I followed it with QT creator (qgis_test_00.png) to discover the problem, but I can't... It happens only on LINUX
I attach the sql to restore a table with an example of the problem. Thanks


@qgib
Copy link
Contributor Author

qgib commented Aug 31, 2011

Author Name: Anibal Alarcon (Anibal Alarcon)


The correct image about style is symbolproperties_ok.png sorry.


  • 3411 was configured as symbolproperties_ok.png

@qgib
Copy link
Contributor Author

qgib commented Sep 1, 2011

Author Name: Giovanni Manghi (@gioman)


Hi, since you are on Linux (what distribution?) please launch QGIS from the terminal and then post here the error message when it crashes. Post also as a log/text file the QT creator messages instead of a screenshot.

@qgib
Copy link
Contributor Author

qgib commented Sep 1, 2011

Author Name: Anibal Alarcon (Anibal Alarcon)


Hi, Giovanni the distribution is GNU/Linux Debian Squeeze 2.6.32-5-amd64. This is the complete error message from the terminal:

devgis@laptopdell:~/apps/bin$ qgis
Python support ENABLED :-)
/home/devgis/.qgis/python/plugins/openlayers/openlayers_plugin.py:218: DeprecationWarning: QgsCoordinateReferenceSystem.createFromEpsg() is deprecated
if not self.__coordRSGoogle.createFromEpsg(idEpsgRSGoogle):
Loaded : OpenLayers Plugin (package: openlayers)
Loaded : PostGIS manager (package: postgis_manager)
Loaded : Nomina VIA (package: datovia)
Loaded : SAI (package: selectallbyid)
Loaded : UPD (package: updatefromselect)
/usr/lib/python2.6/dist-packages/qgis/utils.py:283: DeprecationWarning: the sets module is deprecated
mod = _builtin_import(name, globals, locals, fromlist, level)
Loaded : Plugin Installer (package: plugin_installer)
Loaded : fTools (package: fTools)
NOTICE: no hay una transacción en curso
NOTICE: no hay una transacción en curso
Warning: Query: SET application_name='Quantum GIS' returned 7 [ERROR: parámetro de configuración no reconocido: «application_name»
]
NOTICE: no hay una transacción en curso
NOTICE: no hay una transacción en curso
Fatal: ASSERT failure in QVector::at: "index out of range", file /usr/include/qt4/QtCore/qvector.h, line 338
Abortado

The Qgis crash and just disappears, is the same message I put in previous post (qgis_test_00.png ) ;)
The log/text from QT is attached.

Gracias por la atención.
Obrigado.

Anibal


  • 3413 was configured as archivo_nuevo.txt.zip

@qgib
Copy link
Contributor Author

qgib commented Sep 2, 2011

Author Name: Martin Dobias (@wonder-sk)


  • assigned_to_id was configured as Martin Dobias

@qgib
Copy link
Contributor Author

qgib commented Sep 27, 2011

Author Name: Sandro Santilli (@strk)


Just happened to me with 820469f.
Here's a backtrace:

Debug: /usr/src/qgis/qgis/src/core/qgsvectorlayer.cpp: 979: (draw) attrs: swath_num - 0
Debug: /usr/src/qgis/qgis/src/providers/postgres/qgspostgresprovider.cpp: 4196: (openCursor) Starting read-only transaction
Fatal: ASSERT failure in QVector<T>::at: "index out of range", file /usr/include/qt4/QtCore/qvector.h, line 338

Program received signal SIGABRT, Aborted.
0x00007ffff296fa75 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#_0  0x00007ffff296fa75 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#_1  0x00007ffff29735c0 in *__GI_abort () at abort.c:92
#_2  0x0000000000528098 in myMessageOutput (type=QtFatalMsg,
    msg=0x25691a8 "ASSERT failure in QVector<T>::at: \\"index out of range\\", file /usr/include/qt4/QtCore/qvector.h, line 338")
    at /usr/src/qgis/qgis/src/app/main.cpp:177
#_3  0x00007ffff4f887ee in qt_message_output(QtMsgType, char const*) ()
   from /usr/lib/libQtCore.so.4
#_4  0x00007ffff4f88a22 in ?? () from /usr/lib/libQtCore.so.4
#_5  0x00007ffff4f88bd5 in qFatal(char const*, ...) ()
   from /usr/lib/libQtCore.so.4
#_6  0x00007ffff6148c39 in QVector<QPointF>::at (this=0x7fffffff8cd0, i=-1)
    at /usr/include/qt4/QtCore/qvector.h:338
#_7  0x00007ffff6147b1c in QgsLineDecorationSymbolLayerV2::renderPolyline (
    this=0x2528300, points=..., context=...)
    at /usr/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp:646
#_8  0x00007ffff6134425 in QgsLineSymbolV2::renderPolyline (this=0x23a2b40,
    points=..., f=0x7fffffff8d70, context=..., layer=-1, selected=false)
    at /usr/src/qgis/qgis/src/core/symbology-ng/qgssymbolv2.cpp:501
#_9  0x00007ffff615a96c in QgsFeatureRendererV2::renderFeature (this=0x25c3e90,
    feature=..., context=..., layer=-1, selected=false, drawVertexMarker=false)
    at /usr/src/qgis/qgis/src/core/symbology-ng/qgsrendererv2.cpp:222


@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2011

Author Name: Martin Dobias (@wonder-sk)


Should be fixed in 5677103.


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

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib closed this as completed May 24, 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! High Priority Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant