[Gambas-user] Issue 457 in gambas: Project gives signal 11 when there occurs an error related to modal form and mysql.

gambas at ...2524... gambas at ...2524...
Wed Jul 31 17:07:53 CEST 2013


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 457 by r... at ...1740...: Project gives signal 11 when there  
occurs an error related to modal form and mysql.
http://code.google.com/p/gambas/issues/detail?id=457

1) Describe the problem.
Project gives signal 11 when there occurs and error related to modal form  
and mysql.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: 5765

[System]
OperatingSystem=Linux
Kernel=3.8.0-26-generic
Architecture=x86
Distribution=Ubuntu 13.04
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=2017M
[Libraries]
Cairo=libcairo.so.2.11200.14
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.6.0
GTK+=libgtk-x11-2.0.so.0.2400.17
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.4
SDL=libSDL-1.2.so.0.11.4

3) Provide a little project that reproduces the bug or the crash.
Too complicated project, cannot reproduce with sample project yet.

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.
When starting my project and there occurs and mysql error, because table  
layout it different than expected for example Gambas3, bails out with this  
signal 11
It also displays 'on_error_show_modal' in cli.


ron at ...3168...:~/domotiga/DomotiGa3$ gdb gbx3
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later  
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbx3...done.
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb2853b40 (LWP 27078)]
[New Thread 0xb1effb40 (LWP 27079)]
[New Thread 0xb14ffb40 (LWP 27080)]
[New Thread 0xb04e6b40 (LWP 27090)]
[Thread 0xb04e6b40 (LWP 27090) exited]
on_error_show_modal

Program received signal SIGSEGV, Segmentation fault.
0xb696eb9a in QWidget::testAttribute_helper(Qt::WidgetAttribute) const ()  
from /usr/lib/i386-linux-gnu/libQtGui.so.4
(gdb) bt
#0  0xb696eb9a in QWidget::testAttribute_helper(Qt::WidgetAttribute) const  
() from /usr/lib/i386-linux-gnu/libQtGui.so.4
#1  0xb7358256 in QWidget::testAttribute (this=0x8462ac8,  
attribute=Qt::WA_DeleteOnClose) at /usr/include/qt4/QtGui/qwidget.h:1042
#2  0xb7359abe in MyMainWindow::isPersistent (this=0x8462ac8) at  
CWindow.cpp:2335
#3  0xb7359b24 in on_error_show_modal (info=0xbfffeae0) at CWindow.cpp:1775
#4  0x080785cb in ERROR_propagate () at gb_error.c:285
#5  0x08051307 in EXEC_function_loop () at gbx_exec.c:1038
#6  0x080515b6 in EXEC_function_real () at gbx_exec.c:871
#7  0x08052242 in EXEC_public_desc (class=0x8338adc, object=0x84da68c,  
desc=0x84d8084, nparam=0) at gbx_exec.c:1584
#8  0x08066167 in raise_event (observer=observer at ...2861...=0x84da68c,  
object=object at ...2861...=0x84eac2c, func_id=175, func_id at ...2861...=176, nparam=0)
     at gbx_api.c:816
#9  0x08066c80 in GB_Raise (object=0x84eac2c, event_id=0, nparam=0) at  
gbx_api.c:952
#10 0x08077dc5 in CTIMER_raise (_object=0x84eac2c) at gbx_c_timer.c:72
#11 0xb734ee93 in MyTimer::timerEvent (this=0x84ea710, e=0xbfffe870) at  
main.cpp:521
#12 0xb669b2d4 in QObject::event(QEvent*) () from  
/usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xb6927c7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()  
from /usr/lib/i386-linux-gnu/libQtGui.so.4
#14 0xb692ab94 in QApplication::notify(QObject*, QEvent*) () from  
/usr/lib/i386-linux-gnu/libQtGui.so.4
#15 0xb667f90e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()  
from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0xb66b48c0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#17 0xb66b15a8 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#18 0xb62db3b3 in g_main_context_dispatch () from  
/lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb62db750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb62db831 in g_main_context_iteration () from  
/lib/i386-linux-gnu/libglib-2.0.so.0
#21 0xb66b1c21 in  
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
#22 0xb69dea5a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb667e3ec in  
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from  
/usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb667e6e1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  
() from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0xb735c588 in MyMainWindow::showModal (this=0x8462ac8) at  
CWindow.cpp:1834
#26 0xb735c62d in CWINDOW_show_modal (_object=0x84da68c, _param=0xb73a3020)  
at CWindow.cpp:713
#27 0x0805164f in EXEC_native_quick () at gbx_exec.c:1179
#28 0x080520ce in EXEC_native_check (defined=1 '\001') at gbx_exec.c:1129
#29 0x0807cafb in EXEC_loop () at gbx_exec_loop.c:1136
#30 0x08050f6f in EXEC_function_loop () at gbx_exec.c:907
#31 0x080515b6 in EXEC_function_real () at gbx_exec.c:871
#32 0x08052242 in EXEC_public_desc (class=0x831e944, object=0x833e42c,  
desc=0x83263e4, nparam=0) at gbx_exec.c:1584
#33 0x08066167 in raise_event (observer=observer at ...2861...=0x833e42c,  
object=object at ...2861...=0x833e42c, func_id=200, func_id at ...2861...=201, nparam=0)
     at gbx_api.c:816
#34 0x08066c80 in GB_Raise (object=0x833e42c, event_id=21, nparam=0) at  
gbx_api.c:952
#35 0xb7358f66 in emit_open_event (_object=0x833e42c) at CWindow.cpp:230
#36 emit_open_event (_object=0x833e42c) at CWindow.cpp:209
#37 0xb735b7fd in CWINDOW_show (_object=0x833e42c, _param=0xb73a3010) at  
CWindow.cpp:667
#38 0x0805164f in EXEC_native_quick () at gbx_exec.c:1179
#39 0x080520ce in EXEC_native_check (defined=1 '\001') at gbx_exec.c:1129
#40 0x0807cafb in EXEC_loop () at gbx_exec_loop.c:1136
#41 0x08050f6f in EXEC_function_loop () at gbx_exec.c:907
#42 0x080515b6 in EXEC_function_real () at gbx_exec.c:871
#43 0x08052242 in EXEC_public_desc (class=0x81bc0bc, object=0x0,  
desc=0x82fe78c, nparam=0) at gbx_exec.c:1584
#44 0x0804b451 in main (argc=1, argv=0xbffff214) at gbx.c:392
(gdb)

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list