[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite)
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: [Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite)
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Sat, 04 Oct 2025 18:13:32 GMT
- To: olivier.cruilles@xxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3086&from=L21haW4- Olivier CRUILLES reported a new bug. Summary ------- SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) Type : Bug Priority : High Gambas version : Master Product : SQLite driver Description ----------- Hello, I occured a SegmentFault into a projet that use gb-db2-sqlite3 that does not happen when I use the old gb-db-sqlite3. Tested with Gmbas DEB and Gambas v3.20.4 (Juillet) that procuce the same error. I followed the procedure to produce the 'gdb' trace: #22 0x000000000044cec5 in EXEC_function_loop () at gbx_exec.c:924 #23 0x000000000044d62c in EXEC_function_real () at gbx_exec.c:885 #24 0x000000000044f4f4 in EXEC_special_inheritance (special=special@entry=0, class=class@entry=0xbf96d8, object=object@entry=0x254a318, nparam=<optimized out>, nparam@entry=0, drop=drop@entry=1 '\001') at gbx_exec.c:1765 #25 0x000000000042f379 in OBJECT_create (class=class@entry=0xbf96d8, name=name@entry=0x0, parent=parent@entry=0x0, nparam=nparam@entry=0) at gbx_object.c:409 #26 0x0000000000409327 in CLASS_auto_create (class=0xbf96d8, nparam=nparam@entry=0) at gbx_class.c:1384 #27 0x000000000044feca in EXEC_auto_create (class=<optimized out>, ref=ref@entry=1 '\001') at gbx_exec.c:1980 #28 0x0000000000450706 in EXEC_push_unknown () at gbx_exec_push.c:462 #29 0x0000000000448786 in EXEC_loop () at gbx_exec_loop.c:976 #30 0x000000000044cec5 in EXEC_function_loop () at gbx_exec.c:924 #31 0x000000000044d62c in EXEC_function_real () at gbx_exec.c:885 #32 0x000000000044ee11 in EXEC_public_desc (class=class@entry=0x820d58, object=object@entry=0xcd4728, desc=desc@entry=0x25f5398, nparam=nparam@entry=0) at gbx_exec.c:1595 #33 0x0000000000421847 in raise_event (observer=observer@entry=0xcd4728, object=object@entry=0x9e1568, func_id=254, func_id@entry=255, nparam=nparam@entry=0, can_propagate=can_propagate@entry=0 '\000') at gbx_api.c:865 #34 0x00000000004237e6 in GB_RaiseEvent (object=0x9e1568, event_id=17, nparam=0) at gbx_api.c:1031 #35 0x00007ffff7c141bb in CWIDGET_raise_event_action (object=<optimized out>, event=17) at CWidget.cpp:722 #36 0x00007fffe7a50dda in doActivate<false> (sender=0x2720f40, signal_index=9, argv=0x7fffffffc920) at kernel/qobject.cpp:3940 #37 0x00007fffe7a4a847 in QMetaObject::activate (sender=sender@entry=0x2720f40, m=m@entry=0x7fffe8cbe7c0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffc920) at kernel/qobject.cpp:3988 #38 0x00007fffe873e834 in QAbstractButton::clicked (this=this@entry=0x2720f40, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #39 0x00007fffe873eb1f in QAbstractButtonPrivate::emitClicked (this=0xe21fa0) at widgets/qabstractbutton.cpp:416 #40 0x00007fffe87404bf in QAbstractButtonPrivate::click (this=0xe21fa0) at widgets/qabstractbutton.cpp:409 #41 0x00007fffe87406eb in QAbstractButton::mouseReleaseEvent (this=0x2720f40, e=0x7fffffffcf10) at widgets/qabstractbutton.cpp:1045 #42 0x00007fffe88462e6 in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622 #43 0x00007fffe8685698 in QWidget::event (this=0x2720f40, event=0x7fffffffcf10) at kernel/qwidget.cpp:9045 #44 0x00007fffe8640c25 in QApplicationPrivate::notify_helper (this=this@entry=0x83cd80, receiver=receiver@entry=0x2720f40, e=e@entry=0x7fffffffcf10) at kernel/qapplication.cpp:3640 #45 0x00007fffe86493ef in QApplication::notify (this=<optimized out>, receiver=0x2720f40, e=0x7fffffffcf10) at kernel/qapplication.cpp:3084 #46 0x00007fffe7a1bef8 in QCoreApplication::notifyInternal2 (receiver=0x2720f40, event=0x7fffffffcf10) at kernel/qcoreapplication.cpp:1064 --Type <RET> for more, q to quit, c to continue without paging--c #47 0x00007fffe7a1c142 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #48 0x00007fffe864724d in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2720f40, event=event@entry=0x7fffffffcf10, alienWidget=<optimized out>, nativeWidget=0x2605a50, buttonDown=buttonDown@entry=0x7fffe8cf1330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #49 0x00007fffe86a0147 in QWidgetWindow::handleMouseEvent (this=this@entry=0x25ffaa0, event=event@entry=0x7fffffffd1f0) at kernel/qwidgetwindow.cpp:684 #50 0x00007fffe86a385f in QWidgetWindow::event (this=0x25ffaa0, event=0x7fffffffd1f0) at kernel/qwidgetwindow.cpp:300 #51 0x00007fffe8640c25 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x25ffaa0, e=0x7fffffffd1f0) at kernel/qapplication.cpp:3640 #52 0x00007fffe7a1bef8 in QCoreApplication::notifyInternal2 (receiver=0x25ffaa0, event=0x7fffffffd1f0) at kernel/qcoreapplication.cpp:1064 #53 0x00007fffe7a1c142 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #54 0x00007fffe7e6e3f7 in QGuiApplicationPrivate::processMouseEvent (e=0x270d980) at kernel/qguiapplication.cpp:2278 #55 0x00007fffe7e4ad5c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #56 0x00007fffe2376bb6 in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #57 0x00007fffe6c3828c in g_main_dispatch (context=0x7fffd4000ed0) at ../glib/gmain.c:3357 #58 g_main_context_dispatch_unlocked (context=0x7fffd4000ed0) at ../glib/gmain.c:4208 #59 0x00007fffe6c988b8 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffd4000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273 #60 0x00007fffe6c39783 in g_main_context_iteration (context=0x7fffd4000ed0, may_block=1) at ../glib/gmain.c:4338 #61 0x00007fffe7a709ad in QEventDispatcherGlib::processEvents (this=0xa0f500, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #62 0x00007fffe7a1a85b in QEventLoop::exec (this=this@entry=0x7fffffffd5b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #63 0x00007fffe7a22cc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #64 0x00007fffe7e61b5d in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 #65 0x00007fffe8640b99 in QApplication::exec () at kernel/qapplication.cpp:2832 #66 0x00007ffff7c0abe5 in hook_loop () at main.cpp:800 #67 0x000000000040258d in main (argc=<optimized out>, argv=<optimized out>) at gbx.c:532 I also attached the little projet to reproduce ce issue and a video showing stet by step how to reproduce the issue. Thank you Olivier System information ------------------ [System] Gambas=3.20.99 7d29f709a (master) OperatingSystem=Linux Distribution=Fedora Linux 41 (MATE-Compiz) Kernel=6.16.8-100.fc41.x86_64 Architecture=x86_64 Cores=8 Memory=32027M Language=fr_FR.UTF-8 Platform=x11 Desktop=MATE DesktopResolution=93 DesktopScale=7 WidgetTheme=proxy Font=Liberation Sans,10 DarkTheme=False [Programs] appimage-builder= clang=clang version 19.1.7 (Fedora 19.1.7-5.fc41) dpkg=Programme « dpkg » de gestion de paquets Debian version 1.22.20 (amd64). gcc=gcc (GCC) 14.3.1 20250808 (Red Hat 14.3.1-3) git=git version 2.51.0 msgmerge=msgmerge (GNU gettext-tools) 0.22.5 pngquant=4.0.0 (January 2023) rpmbuild=RPM version 4.20.1 trans=Translate Shell 0.9.7.1-git:4b4f024 [Libraries] Cairo=libcairo.so.2.11802.2 Curl=libcurl.so.4.8.0 DBus=libdbus-1.so.3.32.4 GDK2=libgdk-x11-2.0.so.0.2400.33 GDK3=libgdk-3.so.0.2411.32 GStreamer=libgstreamer-1.0.so.0.2413.0 GTK+2=libgtk-x11-2.0.so.0.2400.33 GTK+3=libgtk-3.so.0.2411.32 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.140.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.15.17 QT6=libQt6Core.so.6.8.3 RSvg=librsvg-2.so.2.59.2 SDL=libSDL2-2.0.so.0.3000.11 SQLite3=libsqlite3.so.0.8.6 [Environment] CAPP_BUILD=<home>/Packages/Starter/Build DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEBUGINFOD_IMA_CERT_PATH=/etc/keys/ima: DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ DESKTOP_SESSION=mate DISPLAY=:0 EDITOR=/usr/bin/nano FREETYPE_PROPERTIES=truetype:interpreter-version=35 GB_GUI=gb.qt5 GDMSESSION=mate GDM_LANG=fr_FR.UTF-8 GIO_LAUNCHED_DESKTOP_FILE_PID=746704 GPG_TTY=pas un tty GTK3_MODULES=xapp-gtk3-module GTKM_INSERT_EMOJI=1 GTK_BACKDROP=1 GTK_ENLARGE_SCROLLBAR=1 GTK_FOCUS_VISIBLE=1 GTK_OVERLAY_SCROLLING=0 GTK_PROGRESS_TEXT_INSIDE=1 GTK_TREEVIEW_LINES=0 GTK_USE_IEC_UNITS=1 HISTCONTROL=ignoredups HISTSIZE=1000 HISTTIMEFORMAT=%F %T HOME=<home> HOSTNAME=<hostname> IMSETTINGS_INTEGRATE_DESKTOP=yes IMSETTINGS_MODULE=none LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LESSOPEN=||/usr/bin/lesspipe.sh %s LOGNAME=<user> MAIL=/var/spool/mail/<user> MANPAGER=less MATE_DESKTOP_SESSION_ID=this-is-deprecated MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed PAGER=most PATH=<home>/.local/bin:<home>/.cargo/bin:<home>/narwhal/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:<home>/.cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/var/lib/snapd/snap/bin:<home>/bin:/usr/local/xaralx/bin PWD=<home> QTDIR=/usr/lib64/qt-3.3 QTINC=/usr/lib64/qt-3.3/include QTLIB=/usr/lib64/qt-3.3/lib QT_FONT_DPI=93 QT_IM_MODULE=xim QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=gtk2 QT_SCALE_FACTOR=1 SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2497,unix/unix:/tmp/.ICE-unix/2497 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=2713 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TERM=dumb TZ=:/etc/localtime USER=<user> XAUTHORITY=/run/lightdm/<user>/xauthority XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=6 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=none _=/usr/bin/gambas3 force_s3tc_enable=true key2FA1=GHPTQQ4GDRNTZBKG4P5ZFH24RA ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |
[Gambas-bugtracker] Bug #3086: SegmentFault using gb-db2-sqlite3 (but not with gb-db-sqlite) | <bugtracker@xxxxxxxxxxxxxx> |