olivierdalang / VectorBender

VectorBender is a QGis plugin
GNU General Public License v3.0
37 stars 15 forks source link

QGIS crashes on "bending" #27

Open signedav opened 3 years ago

signedav commented 3 years ago

I do this: vector_bender_crash

When I have more than 2 or 3 reference lines after "run" QGIS crashes. With 2 reference lines it moves and scales the vector geometries correctly.

1  qh_initstatistics                                                                                                                                        0x7fff29d2946c 
2  qh_initqhull_start                                                                                                                                       0x7fff29d00ba7 
3  qh_new_qhull                                                                                                                                             0x7fff29d29dcd 
4  ??                                                                                                                                                       0x7fff29cf2e1d 
5  cfunction_call_varargs                                                                                                           call.c             757  0x7fff57952357 
6  _PyObject_MakeTpCall                                                                                                             call.c             159  0x7fff579527db 
7  _PyObject_Vectorcall                                                                                                             abstract.h         125  0x7fff5771edf3 
8  _PyObject_Vectorcall                                                                                                             abstract.h         115  0x7fff5771edf3 
9  call_function                                                                                                                    ceval.c            4963 0x7fff5771edf3 
10 _PyEval_EvalFrameDefault                                                                                                         ceval.c            3469 0x7fff57726ef6 
11 _PyEval_EvalCodeWithName                                                                                                         ceval.c            4298 0x7fff57874d3b 
12 _PyFunction_Vectorcall                                                                                                           call.c             435  0x7fff57951de4 
13 _PyObject_FastCallDict                                                                                                           call.c             96   0x7fff579540c7 
14 _PyObject_Call_Prepend                                                                                                           call.c             887  0x7fff579541dd 
15 slot_tp_init                                                                                                                     typeobject.c       6787 0x7fff578edb87 
16 type_call                                                                                                                        typeobject.c       994  0x7fff578f2fa9 
17 _PyObject_MakeTpCall                                                                                                             call.c             159  0x7fff579527db 
18 _PyObject_Vectorcall                                                                                                             abstract.h         125  0x7fff5771edf3 
19 _PyObject_Vectorcall                                                                                                             abstract.h         115  0x7fff5771edf3 
20 call_function                                                                                                                    ceval.c            4963 0x7fff5771edf3 
21 _PyEval_EvalFrameDefault                                                                                                         ceval.c            3469 0x7fff57726ef6 
22 function_code_fastcall                                                                                                           call.c             283  0x7fff5772a06b 
23 _PyObject_FastCallDict                                                                                                           call.c             96   0x7fff579540c7 
24 _PyObject_Call_Prepend                                                                                                           call.c             887  0x7fff579541dd 
25 slot_tp_init                                                                                                                     typeobject.c       6787 0x7fff578edb87 
26 type_call                                                                                                                        typeobject.c       994  0x7fff578f2fa9 
27 _PyObject_MakeTpCall                                                                                                             call.c             159  0x7fff579527db 
28 _PyObject_Vectorcall                                                                                                             abstract.h         125  0x7fff5771edf3 
29 _PyObject_Vectorcall                                                                                                             abstract.h         115  0x7fff5771edf3 
30 call_function                                                                                                                    ceval.c            4963 0x7fff5771edf3 
31 _PyEval_EvalFrameDefault                                                                                                         ceval.c            3500 0x7fff5772046d 
32 function_code_fastcall                                                                                                           call.c             283  0x7fff5772a06b 
33 _PyObject_Vectorcall                                                                                                             abstract.h         115  0x7fff57952aeb 
34 method_vectorcall                                                                                                                classobject.c      67   0x7fff57952aeb 
35 PyVectorcall_Call                                                                                                                call.c             199  0x7fff57952500 
36 ??                                                                                                                                                       0x7fff575ba070 
37 ??                                                                                                                                                       0x7fff575ba518 
38 ??                                                                                                                                                       0x7fff575ba80e 
39 ??                                                                                                                                                       0x7fff575bb2d7 
40 QMetaObject::activate(QObject *, int, int, void * *)                                                                                                     0x7ffff26503bc 
41 QAbstractButton::clicked(bool)                                                                                                                           0x7ffff333e806 
42 ??                                                                                                                                                       0x7ffff333ea2e 
43 ??                                                                                                                                                       0x7ffff333fe73 
44 QAbstractButton::mouseReleaseEvent(QMouseEvent *)                                                                                                        0x7ffff3340035 
45 ??                                                                                                                                                       0x7fff54c085ab 
46 QWidget::event(QEvent *)                                                                                                                                 0x7ffff328c2b6 
47 ??                                                                                                                                                       0x7fff54c09c3b 
48 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                  0x7ffff3249a66 
49 QApplication::notify(QObject *, QEvent *)                                                                                                                0x7ffff3253343 
50 QgsApplication::notify                                                                                                           qgsapplication.cpp 447  0x7ffff44046d3 
51 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                   0x7ffff262493a 
52 QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer<QWidget>&, bool, bool)                         0x7ffff3252457 
53 ??                                                                                                                                                       0x7ffff32a835d 
54 ??                                                                                                                                                       0x7ffff32ab1ec 
55 QApplicationPrivate::notify_helper(QObject *, QEvent *)                                                                                                  0x7ffff3249a66 
56 QApplication::notify(QObject *, QEvent *)                                                                                                                0x7ffff32530f0 
57 QgsApplication::notify                                                                                                           qgsapplication.cpp 447  0x7ffff44046d3 
58 QCoreApplication::notifyInternal2(QObject *, QEvent *)                                                                                                   0x7ffff262493a 
59 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *)                                                                   0x7ffff2c1a7d3 
60 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *)                                                     0x7ffff2c1c10b 
61 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                    0x7ffff2bf635b 
62 ??                                                                                                                                                       0x7fffe22c832e 
63 g_main_context_dispatch                                                                                                                                  0x7fffeacbffbd 
64 ??                                                                                                                                                       0x7fffeacc0240 
65 g_main_context_iteration                                                                                                                                 0x7fffeacc02e3 
66 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)                                                                               0x7ffff267c565 
67 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)                                                                                                  0x7ffff26234db 
68 QCoreApplication::exec()                                                                                                                                 0x7ffff262b246 
69 main                                                                                                                             main.cpp           1637 0x55555556add0 
rduivenvoorde commented 3 years ago

@signedav (coming here via this thread https://lists.osgeo.org/pipermail/qgis-user/2021-February/047923.html)

I think this is a rather important/promissing plugin.

Would you mind to add some testing data? So I/others can try to reproduce and maybe try to fix this?