[Gambas-user] Issue 410 in gambas: Signal 11 in gb.net.curl
gambas at ...2524...
gambas at ...2524...
Fri Mar 8 22:24:37 CET 2013
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 410 by r... at ...1740...: Signal 11 in gb.net.curl
http://code.google.com/p/gambas/issues/detail?id=410
1) Describe the problem.
When running my project it crashes in gb.net.curl component.
Don't have the exact gambas code, but can extract it if gdb output is not
enough.
2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: TRUNK
Revision: r5575
[System]
OperatingSystem=Linux
Kernel=3.8.0-11-generic
Architecture=x86_64
Distribution=Ubuntu Raring Ringtail (development branch)
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=3890M
[Libraries]
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.16
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.
Not available.
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.
Running my project caused a signal 11 and this gdb output.
[New Thread 0x7fffe1b41700 (LWP 3741)]
[Thread 0x7fffe1b41700 (LWP 3741) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7232b79 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff7232b79 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fffefdaac79 in http_read_curl (ptr=0xd0fc79, size=229,
nmemb=16384, _object=0xd0ae08) at CHttpClient.c:115
#2 0x00007fffefb72c17 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#3 0x00007fffefb73756 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#4 0x00007fffefb7c6da in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5 0x00007fffefb7d375 in curl_multi_perform () from
/usr/lib/x86_64-linux-gnu/libcurl.so.4
#6 0x00007fffefda9f8d in CCURL_post_curl (data=33) at CCurl.c:281
#7 0x00007ffff5dbca56 in CWatch::read (this=0xd14230, fd=33) at
CWatch.cpp:143
#8 0x00007ffff4b100df in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9 0x00007ffff4b5bd1e in QSocketNotifier::activated(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff4b18afb in QSocketNotifier::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffff50258ec in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff502825b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff4afb62e in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffff4b2a5b8 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff3b4de85 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff3b4e1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff3b4e284 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff4b2a006 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff50cb1ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff4aff4e7 in
QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int)
()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff5d9ae26 in hook_wait (duration=<optimized out>) at
main.cpp:791
#22 0x000000000041ec1d in GB_Wait (delay=1) at gbx_api.c:2364
#23 0x000000000041b902 in SUBR_wait (code=<optimized out>) at
gbx_subr_misc.c:73
#24 0x0000000000435b95 in EXEC_loop () at gbx_exec_loop.c:501
#25 0x000000000040a51d in EXEC_function_loop () at gbx_exec.c:906
#26 0x000000000040abe3 in EXEC_function_real () at gbx_exec.c:870
#27 0x000000000041fbca in raise_event (observer=observer at ...2861...=0xc52008,
object=object at ...2861...=0xc58368, func_id=237,
func_id at ...2861...=238, nparam=nparam at ...2861...=0) at gbx_api.c:812
#28 0x0000000000420ab0 in GB_Raise (object=0xc58368, event_id=19, nparam=0)
at gbx_api.c:948
#29 0x00007ffff5dac7bf in raise_click_event
(_object=_object at ...2861...=0xc58368) at CTextBox.cpp:334
#30 0x00007ffff5dad280 in combo_set_current_item
(_object=_object at ...2861...=0xc58368, item=item at ...2861...=0) at CTextBox.cpp:357
#31 0x00007ffff5dad2ea in combo_set_text (_object=0xc58368, text=...) at
CTextBox.cpp:377
---Type <return> to continue, or q <return> to quit---
#32 0x00007ffff5dad359 in CCOMBOBOX_text (_object=0xc58368,
_object at ...2861...=<error reading variable: value has been optimized out>,
_param=<error reading variable: value has been optimized out>) at
CTextBox.cpp:509
#33 0x000000000040ac05 in EXEC_call_native (exec=<optimized out>,
object=<optimized out>, type=type at ...2861...=0,
param=<optimized out>) at gbx_exec.c:1164
#34 0x000000000040dd59 in EXEC_pop_unknown () at gbx_exec_pop.c:243
#35 0x0000000000435e4b in EXEC_loop () at gbx_exec_loop.c:669
#36 0x000000000040a51d in EXEC_function_loop () at gbx_exec.c:906
#37 0x000000000040abe3 in EXEC_function_real () at gbx_exec.c:870
#38 0x000000000041fbca in raise_event (observer=observer at ...2861...=0xc52008,
object=object at ...2861...=0xc52008, func_id=166,
func_id at ...2861...=167, nparam=nparam at ...2861...=0) at gbx_api.c:812
#39 0x0000000000420ab0 in GB_Raise (object=0xc52008, event_id=21, nparam=0)
at gbx_api.c:948
#40 0x00007ffff5da4136 in emit_open_event (_object=0xc52008) at
CWindow.cpp:229
#41 emit_open_event (_object=0xc52008) at CWindow.cpp:209
#42 0x00007ffff5da65b1 in CWINDOW_show (_object=0xc52008, _param=<optimized
out>) at CWindow.cpp:664
#43 0x000000000040ac92 in EXEC_native_quick () at gbx_exec.c:1177
#44 0x0000000000436a93 in EXEC_loop () at gbx_exec_loop.c:1276
#45 0x000000000040a51d in EXEC_function_loop () at gbx_exec.c:906
#46 0x000000000040abe3 in EXEC_function_real () at gbx_exec.c:870
#47 0x000000000041fbca in raise_event (observer=observer at ...2861...=0x924d98,
object=object at ...2861...=0xbe0548, func_id=365,
func_id at ...2861...=366, nparam=nparam at ...2861...=0) at gbx_api.c:812
#48 0x0000000000420ab0 in GB_Raise (object=0xbe0548, event_id=17, nparam=0)
at gbx_api.c:948
#49 0x00007ffff5da88b4 in CButton::clickedTool (this=0x7ffff5ff40d0
<CButton::manager>) at CButton.cpp:731
#50 0x00007ffff4b100df in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007ffff5690d32 in QAbstractButton::clicked(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007ffff53e42ee in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007ffff53e4ae0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007ffff53e4d4c in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#55 0x00007ffff54a182a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#56 0x00007ffff5072a89 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#57 0x00007ffff50258ec in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#58 0x00007ffff5028a33 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#59 0x00007ffff4afb62e in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#60 0x00007ffff502b933 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#61 0x00007ffff50a0ec4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#62 0x00007ffff509fef1 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#63 0x00007ffff50cb0b2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#64 0x00007ffff3b4de85 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007ffff3b4e1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007ffff3b4e284 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007ffff4b2a006 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#68 0x00007ffff50cb1ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#69 0x00007ffff4afa37f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#70 0x00007ffff4afa608 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#71 0x00007ffff4affce6 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#72 0x00007ffff5d9b890 in hook_loop () at main.cpp:777
#73 0x000000000040485a in main (argc=1, argv=0x7fffffffe0d8) at gbx.c:402
(gdb) p DEBUG_get_position(EXEC_current.cp, EXEC_current.fp,
EXEC_current.pc)
$1 = 0x65ad10 <COMMON_buffer> "HPost.PostData.63"
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