[Gambas-user] Possible BUG at code editor

Arief Bayu Purwanto ariefbayu at ...626...
Mon Nov 5 11:54:35 CET 2007


Sorry, misread the line :(
This is the backtrace :

silent at ...1792...:~/tmp/gambas2/trunk/app/src/gambas2$ gdb gbx2
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) set args -p
(gdb) run
Starting program: /usr/local/bin/gbx2 -p
[Thread debugging using libthread_db enabled]
[New Thread -1210186064 (LWP 6514)]
Error while reading shared library symbols:
Cannot find new threads: generic error
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210186064 (LWP 6514)]
0xb7a34bba in QString::insert () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0  0xb7a34bba in QString::insert () from /usr/lib/libqt-mt.so.3
#1  0xb7a35715 in QString::insert () from /usr/lib/libqt-mt.so.3
#2  0xb6fbd083 in GString::insert (this=0x861e0c0, index=0, str=@0xbff2b3f0)
at gstring.h:129
#3  0xb6fbbe41 in GDocument::insert (this=0x8637998, y=1, x=0,
text=@0xbff2b434) at gdocument.cpp:378
#4  0xb6fc3e4b in CEDITORDOC_insert (_object=0x8635570, _param=0x807d598) at
CEditor.cpp:317
#5  0x0804e3f8 in EXEC_call_native (exec=0xb6fc3dbe
<CEDITORDOC_insert(void*, void*)>, object=0x8635570, type=0,
param=0x807d598) at gbx_exec.c:837
#6  0x0804ec61 in EXEC_native () at gbx_exec.c:955
#7  0x080512a4 in EXEC_loop () at gbx_exec_loop.c:1042
#8  0x0804efdc in EXEC_function_real (keep_ret_value=1 '\001') at
gbx_exec.c:695
#9  0x0805da8a in call_method (object=0x8615500, desc=0x11,
nparam=281416128) at gbx_api.c:409
#10 0x0805e0bd in GB_Raise (object=0x860cc30, event_id=0, nparam=0) at
gbx_api.c:579
#11 0xb7d50a78 in send_click_event (_object=0x860cc30) at CMenu.cpp:911
#12 0x080541b9 in EVENT_check_post () at gbx_event.c:229
#13 0xb7d3a3cc in MyPostCheck::check (this=0xb7da93e0) at main.cpp:926
#14 0xb7d3a0fb in MyPostCheck::qt_invoke (this=0xb7da93e0, _id=2,
_o=0xbff2b798) at moc_main.cpp:82
#15 0xb7715893 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb7aa18ec in QSignal::signal () from /usr/lib/libqt-mt.so.3
#17 0xb7735842 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#18 0xb773d258 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#19 0xb76acaf0 in QApplication::internalNotify () from /usr/lib/libqt-
mt.so.3
#20 0xb76ae91f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0xb7d3c61a in MyApplication::notify (this=0x80d8550, o=0x815bbc8,
e=0xbff2ba48) at main.cpp:342
#22 0xb763f209 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#23 0xb769f53b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#24 0xb7653d49 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0xb7d3b5c1 in MyEventLoop::processEvents (this=0x808c310, flags=4) at
main.cpp:244
#26 0xb76c71ce in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0xb76c6fde in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0xb76ae699 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0xb7d3acac in hook_loop () at main.cpp:500
#30 0x08061eb9 in main (argc=0, argv=0xbff2be54) at gbx.c:356
(gdb)

On 11/5/07, Benoit Minisini <gambas at ...1...> wrote:
>
> On lundi 5 novembre 2007, Arief Bayu Purwanto wrote:
> > > Nothing append
> > > Please go to : http://gambas.sourceforge.net/tr-report.html
> > >
> > > Section how to report a crash
> > >
> > > and then return all the informations...
> > >
> > > It can be specific to you...
> > >
> > > Fabien
> >
> > Ah, I'm sorry.
> >
> > here's gdb output :
> >
> > silent at ...1792...:~/tmp/gambas2$ cd trunk/app/src/gambas2/
> > silent at ...1792...:~/tmp/gambas2/trunk/app/src/gambas2$ gbc2 -agt
> > OK
> > silent at ...1792...:~/tmp/gambas2/trunk/app/src/gambas2$ gdb gbx2
> > GNU gdb 6.6-debian
> > Copyright (C) 2006 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> > are welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> > This GDB was configured as "i486-linux-gnu"...
> > Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
> > (gdb) set args -p
> > (gdb) run
> > Starting program: /usr/local/bin/gbx2 -p
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1209719120 (LWP 6419)]
> > Error while reading shared library symbols:
> > Cannot find new threads: generic error
> > Qt: gdb: -nograb added to command-line options.
> >          Use the -dograb option to enforce grabbing.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1209719120 (LWP 6419)]
> > 0xb7aa6bba in QString::insert () from /usr/lib/libqt-mt.so.3
> >
> > This is uname -a:
> > silent at ...1792...:~/tmp/gambas2/trunk/app/src/gambas2$ uname -a
> > Linux hacked 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
> > GNU/Linux
> >
> > I'm using ubuntu 7.10
>
> Please provide the stack backtrace too.
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Daiguren Hyōrinmaru


More information about the User mailing list