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

pgmodeler crashes when adding columns to the schema #1844

Open
v4lerdon opened this issue Jan 29, 2024 · 4 comments
Open

pgmodeler crashes when adding columns to the schema #1844

v4lerdon opened this issue Jan 29, 2024 · 4 comments

Comments

@v4lerdon
Copy link

Bug description
The program crashes when adding columns or constraints to the table schema.

Info about your desktop

  • OS: MacOS Sonoma 14.0 (Air m1 16/256)
  • pgModeler version: 1.1.0-beta1
  • Qt version: 6.6.1

Stacktrace / Debug info


** pgModeler crashed after receive signal: 6 **

Date/Time: 2024-01-29 11:50:28 
Version: 1.1.0-beta1 
Build: 20240129.884ab6371 
Compilation Qt version: 6.6.1
Running Qt version: 6.6.1

[29] 0   pgmodeler                           0x0000000104eac3cc pgmodeler + 33740
[28] 1   libsystem_platform.dylib            0x000000018a48da24 _sigtramp + 56
[27] 2   libsystem_pthread.dylib             0x000000018a45ecc0 pthread_kill + 288
[26] 3   libsystem_c.dylib                   0x000000018a36ea50 abort + 180
[25] 4   libc++abi.dylib                     0x000000018a4166d8 _ZN10__cxxabiv130__aligned_malloc_with_fallbackEm + 0
[24] 5   libc++abi.dylib                     0x000000018a4067c8 _ZL28demangling_terminate_handlerv + 348
[23] 6   libobjc.A.dylib                     0x000000018a0b3894 _ZL15_objc_terminatev + 144
[22] 7   libc++abi.dylib                     0x000000018a415a9c _ZSt11__terminatePFvvE + 16
[21] 8   libc++abi.dylib                     0x000000018a418a48 __cxa_get_exception_ptr + 0
[20] 9   libc++abi.dylib                     0x000000018a4189f4 _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception + 0
[19] 10  libobjc.A.dylib                     0x000000018a0aa01c objc_exception_throw + 420
[18] 11  CoreFoundation                      0x000000018a526f20 -[__NSCFString hasSuffix:] + 0
[17] 12  libqcocoa.dylib                     0x000000010515656c -[QMacAccessibilityElement initWithId:role:] + 296
[16] 13  libqcocoa.dylib                     0x00000001051565ec +[QMacAccessibilityElement elementWithId:] + 64
[15] 14  libqcocoa.dylib                     0x0000000105154b88 _ZN19QCocoaAccessibility25notifyAccessibilityUpdateEP16QAccessibleEvent + 104
[14] 15  QtWidgets                           0x0000000106912888 _ZN9QListView16selectionChangedERK14QItemSelectionS2_ + 204
[13] 16  QtCore                              0x0000000107b04b00 _Z10doActivateILb0EEvP7QObjectiPPv + 1248
[12] 17  QtCore                              0x0000000107c66a74 _ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_ + 792
[11] 18  QtCore                              0x0000000107c665f8 _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE + 368
[10] 19  QtCore                              0x0000000107c6645c _ZN19QItemSelectionModel6selectERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 60
[9] 20  QtCore                              0x0000000107c66e60 _ZN19QItemSelectionModel15setCurrentIndexERK11QModelIndex6QFlagsINS_13SelectionFlagEE + 212
[8] 21  QtWidgets                           0x00000001067a42e8 _ZN16QComboBoxPrivate15setCurrentIndexERK11QModelIndex + 612
[7] 22  QtWidgets                           0x00000001067a3b5c _ZN9QComboBox15setCurrentIndexEi + 112
[6] 23  QtWidgets                           0x00000001067a7038 _ZN16QComboBoxPrivate12rowsInsertedERK11QModelIndexii + 344
[5] 24  QtCore                              0x0000000107b048f8 _Z10doActivateILb0EEvP7QObjectiPPv + 728
[4] 25  QtCore                              0x0000000107c53ec4 _ZN18QAbstractItemModel13endInsertRowsEv + 160
[3] 26  QtGui                               0x000000010761ce78 _ZN20QStandardItemPrivate10insertRowsEiRK5QListIP13QStandardItemE + 424
[2] 27  QtWidgets                           0x00000001067a9cdc _ZN9QComboBox11insertItemsEiRK5QListI7QStringE + 308
[1] 28  libgui.1.0.0.dylib                  0x0000000105a25dac _ZN12ColumnWidgetC2EP7QWidget + 212
[0] 29  libgui.1.0.0.dylib                  0x0000000105c2cab0 _ZN11ModelWidget27configurePluginsActionsMenuEv + 4848



@rkhaotix
Copy link
Member

Hi @v4lerdon

How are you adding columns/constraints?

There are three different ways to do that.

@v4lerdon
Copy link
Author

There was an error in all 3 cases
Снимок экрана 2024-01-30 в 12 11 50
Снимок экрана 2024-01-30 в 12 13 49
Снимок экрана 2024-01-30 в 12 14 42

@rkhaotix
Copy link
Member

That's strange.

I'm running pgModeler 1.1.0 (stable, to be released) compiled with Qt 6.6.1, macOS 14.3, and no crash happens!

Are you using homebrew or Qt's official installer?

@v4lerdon
Copy link
Author

I used homebrew

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

No branches or pull requests

2 participants