[Gambas-user] Error message "Segmentation fault"
herberth guzman
herberthguzman at gmail.com
Sun Apr 26 22:18:25 CEST 2020
#0 0x00007fffec8a5791 in
chameleon::ChameleonStyle::drawPrimitive(QStyle::PrimitiveElement,
QStyleOption const*, QPainter*, QWidget const*) const ()
at /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libchameleon.so
#1 0x00007ffff6e49465 in style_box(QPainter*, int, int, int, int, int,
GB_COLOR)
(p=p at entry=0x1c41ff0, x=x at entry=0, y=y at entry=0, w=w at entry=296,
h=h at entry=32,
state=0, color=16777215) at CStyle.cpp:300
#2 0x00007ffff6e49d0e in Style_PaintBox(void*, void*) (_object=0x0,
_param=0x7ffff6ed5040) at CStyle.cpp:420
#3 0x00000000004619d4 in EXEC_native () at gbx_exec.c:1330
#4 0x0000000000460a4b in EXEC_native_check (defined=<optimized out>) at
gbx_exec.c:1127
#5 0x0000000000454e0a in EXEC_loop () at gbx_exec_loop.c:1165
#6 0x000000000045ff0f in EXEC_function_loop () at gbx_exec.c:905
#7 0x000000000045fe77 in EXEC_function_real () at gbx_exec.c:892
#8 0x0000000000462869 in EXEC_public_desc (class=class at entry=0x60b788,
object=object at entry=0xbf4af8, desc=desc at entry=0x616c58, nparam=nparam at entry
=0)
at gbx_exec.c:1585
#9 0x000000000042a3c6 in raise_event (observer=observer at entry=0xbf4af8,
object=object at entry=0xc00448, func_id=131,
func_id at entry=132, nparam=nparam at entry=0) at gbx_api.c:807
#10 0x000000000042abb5 in GB_Raise (object=0xc00448, event_id=20, nparam=0)
at gbx_api.c:961
#11 0x00007ffff6e7f6c9 in MyDrawingArea::redraw(QRect&, bool)
(this=this at entry=0xc004f0, r=..., frame=frame at entry=true) at
CDrawingArea.cpp:212
#12 0x00007ffff6e7fb3e in MyDrawingArea::paintEvent(QPaintEvent*)
(this=0xc004f0, event=0x7fffffffa850) at CDrawingArea.cpp:353
#13 0x00007ffff684e4f8 in QWidget::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff68104e1 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff6817990 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff5e8e4f9 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff68470ea in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff68479a7 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff6848490 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff6848490 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#24 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff6848490 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff68485a1 in
QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff684762c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff681fabc in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff681fe39 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff68369f5 in QWidgetPrivate::syncBackingStore() () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff684e628 in QWidget::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff68104e1 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007ffff6817990 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff5e8e4f9 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007ffff5e914db in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
at /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007ffff5ee0183 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ffff514af2e in g_main_context_dispatch () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#46 0x00007ffff514b1c8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff514b25c in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff5edf7a7 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007fffed6d13d1 in () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#50 0x00007ffff5e8d1cb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007ffff5e951b2 in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#52 0x00007ffff6e40d2e in hook_loop() () at main.cpp:1026
#53 0x0000000000439372 in main (argc=<optimized out>, argv=<optimized out>)
at gbx.c:460
El dom., 26 abr. 2020 a las 12:53, Benoît Minisini (<g4mba5 at gmail.com>)
escribió:
> Le 26/04/2020 à 20:29, herberth guzman a écrit :
> > Thanks Benoit
> >
> >
> > Starting program: /usr/bin/gbx3
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> > [New Thread 0x7fffee284700 (LWP 15837)]
> > [Detaching after vfork from child process 15838]
> > [Detaching after vfork from child process 15839]
> > [Detaching after vfork from child process 15842]
> > [New Thread 0x7fffed0cb700 (LWP 15845)]
> > [New Thread 0x7fffe7f6e700 (LWP 15852)]
> > [Detaching after vfork from child process 15856]
> > [New Thread 0x7fffe6477700 (LWP 15857)]
> > [New Thread 0x7fffdf3a0700 (LWP 15858)]
> > [Detaching after fork from child process 15859]
> > [Detaching after fork from child process 15861]
> >
> > Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
> > 0x00007fffec8a5791 in
> > chameleon::ChameleonStyle::drawPrimitive(QStyle::PrimitiveElement,
> > QStyleOption const*, QPainter*, QWidget const*) const ()
> > from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/libchameleon.so
> >
>
> I need the stack backtrace, i.e. the result of the 'bt' command after
> the crash.
>
> Anyway it seems to crash inside the "Chameleon" widget style, so I guess
> that you won't have the crash anymore if you change the Qt5 widget style.
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200426/a2362048/attachment-0001.html>
More information about the User
mailing list