Bug

View: New views
5 Messages — Rating Filter:   Alert me  

Bug

by Fabien Bodard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Undefined command: "setargs".  Try "help".
(gdb) set args -p
(gdb) run
Starting program: /usr/local/bin/gbx3 -p
[Thread debugging using libthread_db enabled]
[New Thread 0x7fe9f06396f0 (LWP 30178)]
ERROR: #45: File or directory does not exist

Program exited with code 01.
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) q
fabien@ubuntu:~/gambas$ cd app
fabien@ubuntu:~/gambas/app$ cd gambas3
bash: cd: gambas3: Aucun fichier ou dossier de ce type
fabien@ubuntu:~/gambas/app$ cd src
fabien@ubuntu:~/gambas/app/src$ cd gambas3
fabien@ubuntu:~/gambas/app/src/gambas3$ ls
authors.txt     img      pot-header.txt    support.txt  theme
gambas3.gambas  install  shortcut.desktop  template     tips
fabien@ubuntu:~/gambas/app/src/gambas3$ gdb gbx3
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
(gdb) set args -P
(gdb) set args -p
(gdb) run
Starting program: /usr/local/bin/gbx3 -p
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8c6e9f06f0 (LWP 30183)]
ASSERT: "i < uint(size())" in file /usr/include/qt4/QtCore/qstring.h, line 689

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f8c6e9f06f0 (LWP 30183)]
0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
#1  0x00007f8c6dc11bc3 in abort () from /lib/libc.so.6
#2  0x00007f8c6b434885 in qt_message_output () from /usr/lib/libQtCore.so.4
#3  0x00007f8c6b4349cb in qFatal () from /usr/lib/libQtCore.so.4
#4  0x00007f8c671c9312 in GString::isNewLine (this=0x2819908, pos=42)
    at /usr/include/qt4/QtCore/qstring.h:689
#5  0x00007f8c671c93c2 in GInsertCommand::merge (this=0x2769ac0, c=0x28198f0)
    at gdocument.cpp:155
#6  0x00007f8c671c71b9 in GDocument::addUndo (this=0x29a54a0, c=0x2769ac0)
    at gdocument.cpp:725
#7  0x00007f8c671c8c45 in GDocument::insert (this=0x29a54a0, y=18, x=49,
    text=@0x7fff76a18a10) at gdocument.cpp:424
#8  0x00007f8c671cda87 in GEditor::insert (this=0x29a3370, text=
      {static null = {<No data fields>}, static shared_null = {ref =
{_q_value = 18018}, alloc = 0, size = 0, data = 0x7f8c6b81b41a, clean
= 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
932}, alloc = 0, size = 0, data = 0x7f8c6b81b43a, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x7fff76a18ac0, static
codecForCStrings = 0x0}) at gview.cpp:1012
#9  0x00007f8c671cdd97 in GEditor::paste (this=0x29a3370, mouse=<value
optimized out>)
    at gview.cpp:1283
#10 0x0000000000408ab5 in EXEC_call_native (exec=0xffffffff,
object=0x75e7, type=6,
    param=0xffffffffffffffff) at gbx_exec.c:970
#11 0x00000000004098df in EXEC_native_quick () at gbx_exec.c:1001
#12 0x000000000040da84 in EXEC_loop () at gbx_exec_loop.c:969
---Type <return> to continue, or q <return> to quit---
#13 0x000000000040a221 in EXEC_function_loop () at gbx_exec.c:790
#14 0x000000000040a5dc in EXEC_function_real () at gbx_exec.c:777
#15 0x000000000041c567 in raise_event (observer=0x75e7,
object=0x7f8c6df4a9d0, func_id=-1,
    nparam=-1) at gbx_api.c:496
#16 0x000000000041ccab in GB_Raise (object=0x298ae60, event_id=<value
optimized out>,
    nparam=0) at gbx_api.c:598
#17 0x00007f8c6cf46127 in send_click_event (_object=0x298ae60) at CMenu.cpp:676
#18 0x0000000000411b90 in EVENT_check_post () at gbx_event.c:230
#19 0x00007f8c6cf35828 in MyPostCheck::qt_metacall (this=0x7f8c6d1990d0,
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
at main_moc.cpp:66
#20 0x00007f8c6b53b1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0x00007f8c6b54052f in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007f8c6b5354d3 in QObject::event () from /usr/lib/libQtCore.so.4
#23 0x00007f8c6bf5778d in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#24 0x00007f8c6bf5f97a in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x00007f8c6b52575c in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#26 0x00007f8c6b5527f6 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f8c6b54ef0d in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007f8c69a9020a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#29 0x00007f8c69a938e0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f8c69a93a7c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#31 0x00007f8c6b54ee6f in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#32 0x00007f8c6bfefbef in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007f8c6b524002 in QEventLoop::processEvents () from
/usr/lib/libQtCore.so.4
#34 0x00007f8c6b5243cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#35 0x00007f8c6b526694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0x00007f8c6cf365f0 in hook_loop () at main.cpp:617
#37 0x00000000004213e2 in main (argc=1, argv=0x7fff76a19d68) at gbx.c:371
(gdb)


En faite suite a un copier coller et c'est handicapant

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Bug

by jacky-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fabien Bodard a écrit :

> Undefined command: "setargs".  Try "help".
> (gdb) set args -p
> (gdb) run
> Starting program: /usr/local/bin/gbx3 -p
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7fe9f06396f0 (LWP 30178)]
> ERROR: #45: File or directory does not exist
>
> Program exited with code 01.
> (gdb) exit
> Undefined command: "exit".  Try "help".
> (gdb) q
> fabien@ubuntu:~/gambas$ cd app
> fabien@ubuntu:~/gambas/app$ cd gambas3
> bash: cd: gambas3: Aucun fichier ou dossier de ce type
> fabien@ubuntu:~/gambas/app$ cd src
> fabien@ubuntu:~/gambas/app/src$ cd gambas3
> fabien@ubuntu:~/gambas/app/src/gambas3$ ls
> authors.txt     img      pot-header.txt    support.txt  theme
> gambas3.gambas  install  shortcut.desktop  template     tips
> fabien@ubuntu:~/gambas/app/src/gambas3$ gdb gbx3
> GNU gdb 6.8-debian
> Copyright (C) 2008 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 "x86_64-linux-gnu"...
> (gdb) set args -P
> (gdb) set args -p
> (gdb) run
> Starting program: /usr/local/bin/gbx3 -p
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f8c6e9f06f0 (LWP 30183)]
> ASSERT: "i < uint(size())" in file /usr/include/qt4/QtCore/qstring.h, line 689
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 0x7f8c6e9f06f0 (LWP 30183)]
> 0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
> (gdb) bt
> #0  0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
> #1  0x00007f8c6dc11bc3 in abort () from /lib/libc.so.6
> #2  0x00007f8c6b434885 in qt_message_output () from /usr/lib/libQtCore.so.4
> #3  0x00007f8c6b4349cb in qFatal () from /usr/lib/libQtCore.so.4
> #4  0x00007f8c671c9312 in GString::isNewLine (this=0x2819908, pos=42)
>     at /usr/include/qt4/QtCore/qstring.h:689
> #5  0x00007f8c671c93c2 in GInsertCommand::merge (this=0x2769ac0, c=0x28198f0)
>     at gdocument.cpp:155
> #6  0x00007f8c671c71b9 in GDocument::addUndo (this=0x29a54a0, c=0x2769ac0)
>     at gdocument.cpp:725
> #7  0x00007f8c671c8c45 in GDocument::insert (this=0x29a54a0, y=18, x=49,
>     text=@0x7fff76a18a10) at gdocument.cpp:424
> #8  0x00007f8c671cda87 in GEditor::insert (this=0x29a3370, text=
>       {static null = {<No data fields>}, static shared_null = {ref =
> {_q_value = 18018}, alloc = 0, size = 0, data = 0x7f8c6b81b41a, clean
> = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
> reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
> 932}, alloc = 0, size = 0, data = 0x7f8c6b81b43a, clean = 0,
> simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
> reserved = 0, array = {0}}, d = 0x7fff76a18ac0, static
> codecForCStrings = 0x0}) at gview.cpp:1012
> #9  0x00007f8c671cdd97 in GEditor::paste (this=0x29a3370, mouse=<value
> optimized out>)
>     at gview.cpp:1283
> #10 0x0000000000408ab5 in EXEC_call_native (exec=0xffffffff,
> object=0x75e7, type=6,
>     param=0xffffffffffffffff) at gbx_exec.c:970
> #11 0x00000000004098df in EXEC_native_quick () at gbx_exec.c:1001
> #12 0x000000000040da84 in EXEC_loop () at gbx_exec_loop.c:969
> ---Type <return> to continue, or q <return> to quit---
> #13 0x000000000040a221 in EXEC_function_loop () at gbx_exec.c:790
> #14 0x000000000040a5dc in EXEC_function_real () at gbx_exec.c:777
> #15 0x000000000041c567 in raise_event (observer=0x75e7,
> object=0x7f8c6df4a9d0, func_id=-1,
>     nparam=-1) at gbx_api.c:496
> #16 0x000000000041ccab in GB_Raise (object=0x298ae60, event_id=<value
> optimized out>,
>     nparam=0) at gbx_api.c:598
> #17 0x00007f8c6cf46127 in send_click_event (_object=0x298ae60) at CMenu.cpp:676
> #18 0x0000000000411b90 in EVENT_check_post () at gbx_event.c:230
> #19 0x00007f8c6cf35828 in MyPostCheck::qt_metacall (this=0x7f8c6d1990d0,
>     _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
> at main_moc.cpp:66
> #20 0x00007f8c6b53b1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #21 0x00007f8c6b54052f in ?? () from /usr/lib/libQtCore.so.4
> #22 0x00007f8c6b5354d3 in QObject::event () from /usr/lib/libQtCore.so.4
> #23 0x00007f8c6bf5778d in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #24 0x00007f8c6bf5f97a in QApplication::notify () from /usr/lib/libQtGui.so.4
> #25 0x00007f8c6b52575c in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #26 0x00007f8c6b5527f6 in ?? () from /usr/lib/libQtCore.so.4
> #27 0x00007f8c6b54ef0d in ?? () from /usr/lib/libQtCore.so.4
> #28 0x00007f8c69a9020a in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> #29 0x00007f8c69a938e0 in ?? () from /usr/lib/libglib-2.0.so.0
> #30 0x00007f8c69a93a7c in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0
> #31 0x00007f8c6b54ee6f in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #32 0x00007f8c6bfefbef in ?? () from /usr/lib/libQtGui.so.4
> #33 0x00007f8c6b524002 in QEventLoop::processEvents () from
> /usr/lib/libQtCore.so.4
> #34 0x00007f8c6b5243cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> ---Type <return> to continue, or q <return> to quit---
> #35 0x00007f8c6b526694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
> #36 0x00007f8c6cf365f0 in hook_loop () at main.cpp:617
> #37 0x00000000004213e2 in main (argc=1, argv=0x7fff76a19d68) at gbx.c:371
> (gdb)
>
>
> En faite suite a un copier coller et c'est handicapant


Tricheur !


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Bug

by Fabien Bodard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

pourquoi ?


2009/7/5 Jack <jscops@...>:

> Fabien Bodard a écrit :
>> Undefined command: "setargs".  Try "help".
>> (gdb) set args -p
>> (gdb) run
>> Starting program: /usr/local/bin/gbx3 -p
>> [Thread debugging using libthread_db enabled]
>> [New Thread 0x7fe9f06396f0 (LWP 30178)]
>> ERROR: #45: File or directory does not exist
>>
>> Program exited with code 01.
>> (gdb) exit
>> Undefined command: "exit".  Try "help".
>> (gdb) q
>> fabien@ubuntu:~/gambas$ cd app
>> fabien@ubuntu:~/gambas/app$ cd gambas3
>> bash: cd: gambas3: Aucun fichier ou dossier de ce type
>> fabien@ubuntu:~/gambas/app$ cd src
>> fabien@ubuntu:~/gambas/app/src$ cd gambas3
>> fabien@ubuntu:~/gambas/app/src/gambas3$ ls
>> authors.txt     img      pot-header.txt    support.txt  theme
>> gambas3.gambas  install  shortcut.desktop  template     tips
>> fabien@ubuntu:~/gambas/app/src/gambas3$ gdb gbx3
>> GNU gdb 6.8-debian
>> Copyright (C) 2008 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 "x86_64-linux-gnu"...
>> (gdb) set args -P
>> (gdb) set args -p
>> (gdb) run
>> Starting program: /usr/local/bin/gbx3 -p
>> [Thread debugging using libthread_db enabled]
>> [New Thread 0x7f8c6e9f06f0 (LWP 30183)]
>> ASSERT: "i < uint(size())" in file /usr/include/qt4/QtCore/qstring.h, line 689
>>
>> Program received signal SIGABRT, Aborted.
>> [Switching to Thread 0x7f8c6e9f06f0 (LWP 30183)]
>> 0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
>> (gdb) bt
>> #0  0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
>> #1  0x00007f8c6dc11bc3 in abort () from /lib/libc.so.6
>> #2  0x00007f8c6b434885 in qt_message_output () from /usr/lib/libQtCore.so.4
>> #3  0x00007f8c6b4349cb in qFatal () from /usr/lib/libQtCore.so.4
>> #4  0x00007f8c671c9312 in GString::isNewLine (this=0x2819908, pos=42)
>>     at /usr/include/qt4/QtCore/qstring.h:689
>> #5  0x00007f8c671c93c2 in GInsertCommand::merge (this=0x2769ac0, c=0x28198f0)
>>     at gdocument.cpp:155
>> #6  0x00007f8c671c71b9 in GDocument::addUndo (this=0x29a54a0, c=0x2769ac0)
>>     at gdocument.cpp:725
>> #7  0x00007f8c671c8c45 in GDocument::insert (this=0x29a54a0, y=18, x=49,
>>     text=@0x7fff76a18a10) at gdocument.cpp:424
>> #8  0x00007f8c671cda87 in GEditor::insert (this=0x29a3370, text=
>>       {static null = {<No data fields>}, static shared_null = {ref =
>> {_q_value = 18018}, alloc = 0, size = 0, data = 0x7f8c6b81b41a, clean
>> = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
>> reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
>> 932}, alloc = 0, size = 0, data = 0x7f8c6b81b43a, clean = 0,
>> simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
>> reserved = 0, array = {0}}, d = 0x7fff76a18ac0, static
>> codecForCStrings = 0x0}) at gview.cpp:1012
>> #9  0x00007f8c671cdd97 in GEditor::paste (this=0x29a3370, mouse=<value
>> optimized out>)
>>     at gview.cpp:1283
>> #10 0x0000000000408ab5 in EXEC_call_native (exec=0xffffffff,
>> object=0x75e7, type=6,
>>     param=0xffffffffffffffff) at gbx_exec.c:970
>> #11 0x00000000004098df in EXEC_native_quick () at gbx_exec.c:1001
>> #12 0x000000000040da84 in EXEC_loop () at gbx_exec_loop.c:969
>> ---Type <return> to continue, or q <return> to quit---
>> #13 0x000000000040a221 in EXEC_function_loop () at gbx_exec.c:790
>> #14 0x000000000040a5dc in EXEC_function_real () at gbx_exec.c:777
>> #15 0x000000000041c567 in raise_event (observer=0x75e7,
>> object=0x7f8c6df4a9d0, func_id=-1,
>>     nparam=-1) at gbx_api.c:496
>> #16 0x000000000041ccab in GB_Raise (object=0x298ae60, event_id=<value
>> optimized out>,
>>     nparam=0) at gbx_api.c:598
>> #17 0x00007f8c6cf46127 in send_click_event (_object=0x298ae60) at CMenu.cpp:676
>> #18 0x0000000000411b90 in EVENT_check_post () at gbx_event.c:230
>> #19 0x00007f8c6cf35828 in MyPostCheck::qt_metacall (this=0x7f8c6d1990d0,
>>     _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
>> at main_moc.cpp:66
>> #20 0x00007f8c6b53b1f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
>> #21 0x00007f8c6b54052f in ?? () from /usr/lib/libQtCore.so.4
>> #22 0x00007f8c6b5354d3 in QObject::event () from /usr/lib/libQtCore.so.4
>> #23 0x00007f8c6bf5778d in QApplicationPrivate::notify_helper () from
>> /usr/lib/libQtGui.so.4
>> #24 0x00007f8c6bf5f97a in QApplication::notify () from /usr/lib/libQtGui.so.4
>> #25 0x00007f8c6b52575c in QCoreApplication::notifyInternal () from
>> /usr/lib/libQtCore.so.4
>> #26 0x00007f8c6b5527f6 in ?? () from /usr/lib/libQtCore.so.4
>> #27 0x00007f8c6b54ef0d in ?? () from /usr/lib/libQtCore.so.4
>> #28 0x00007f8c69a9020a in g_main_context_dispatch () from
>> /usr/lib/libglib-2.0.so.0
>> #29 0x00007f8c69a938e0 in ?? () from /usr/lib/libglib-2.0.so.0
>> #30 0x00007f8c69a93a7c in g_main_context_iteration () from
>> /usr/lib/libglib-2.0.so.0
>> #31 0x00007f8c6b54ee6f in QEventDispatcherGlib::processEvents () from
>> /usr/lib/libQtCore.so.4
>> #32 0x00007f8c6bfefbef in ?? () from /usr/lib/libQtGui.so.4
>> #33 0x00007f8c6b524002 in QEventLoop::processEvents () from
>> /usr/lib/libQtCore.so.4
>> #34 0x00007f8c6b5243cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
>> ---Type <return> to continue, or q <return> to quit---
>> #35 0x00007f8c6b526694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
>> #36 0x00007f8c6cf365f0 in hook_loop () at main.cpp:617
>> #37 0x00000000004213e2 in main (argc=1, argv=0x7fff76a19d68) at gbx.c:371
>> (gdb)
>>
>>
>> En faite suite a un copier coller et c'est handicapant
>
>
> Tricheur !
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Bug

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Undefined command: "setargs".  Try "help".
> (gdb) set args -p
> (gdb) run
> Starting program: /usr/local/bin/gbx3 -p
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7fe9f06396f0 (LWP 30178)]
> ERROR: #45: File or directory does not exist
>
> Program exited with code 01.
> (gdb) exit
> Undefined command: "exit".  Try "help".
> (gdb) q
> fabien@ubuntu:~/gambas$ cd app
> fabien@ubuntu:~/gambas/app$ cd gambas3
> bash: cd: gambas3: Aucun fichier ou dossier de ce type
> fabien@ubuntu:~/gambas/app$ cd src
> fabien@ubuntu:~/gambas/app/src$ cd gambas3
> fabien@ubuntu:~/gambas/app/src/gambas3$ ls
> authors.txt     img      pot-header.txt    support.txt  theme
> gambas3.gambas  install  shortcut.desktop  template     tips
> fabien@ubuntu:~/gambas/app/src/gambas3$ gdb gbx3
> GNU gdb 6.8-debian
> Copyright (C) 2008 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 "x86_64-linux-gnu"...
> (gdb) set args -P
> (gdb) set args -p
> (gdb) run
> Starting program: /usr/local/bin/gbx3 -p
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f8c6e9f06f0 (LWP 30183)]
> ASSERT: "i < uint(size())" in file /usr/include/qt4/QtCore/qstring.h, line
> 689
>
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 0x7f8c6e9f06f0 (LWP 30183)]
> 0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
> (gdb) bt
> #0  0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
> #1  0x00007f8c6dc11bc3 in abort () from /lib/libc.so.6
> #2  0x00007f8c6b434885 in qt_message_output () from /usr/lib/libQtCore.so.4
> #3  0x00007f8c6b4349cb in qFatal () from /usr/lib/libQtCore.so.4
> #4  0x00007f8c671c9312 in GString::isNewLine (this=0x2819908, pos=42)
>     at /usr/include/qt4/QtCore/qstring.h:689
> #5  0x00007f8c671c93c2 in GInsertCommand::merge (this=0x2769ac0,
> c=0x28198f0) at gdocument.cpp:155
> #6  0x00007f8c671c71b9 in GDocument::addUndo (this=0x29a54a0, c=0x2769ac0)
>     at gdocument.cpp:725
> #7  0x00007f8c671c8c45 in GDocument::insert (this=0x29a54a0, y=18, x=49,
>     text=@0x7fff76a18a10) at gdocument.cpp:424
> #8  0x00007f8c671cda87 in GEditor::insert (this=0x29a3370, text=
>       {static null = {<No data fields>}, static shared_null = {ref =
> {_q_value = 18018}, alloc = 0, size = 0, data = 0x7f8c6b81b41a, clean
> = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
> reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
> 932}, alloc = 0, size = 0, data = 0x7f8c6b81b43a, clean = 0,
> simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
> reserved = 0, array = {0}}, d = 0x7fff76a18ac0, static
> codecForCStrings = 0x0}) at gview.cpp:1012
> #9  0x00007f8c671cdd97 in GEditor::paste (this=0x29a3370, mouse=<value
> optimized out>)
>     at gview.cpp:1283
> #10 0x0000000000408ab5 in EXEC_call_native (exec=0xffffffff,
> object=0x75e7, type=6,
>     param=0xffffffffffffffff) at gbx_exec.c:970
> #11 0x00000000004098df in EXEC_native_quick () at gbx_exec.c:1001
> #12 0x000000000040da84 in EXEC_loop () at gbx_exec_loop.c:969
> ---Type <return> to continue, or q <return> to quit---
> #13 0x000000000040a221 in EXEC_function_loop () at gbx_exec.c:790
> #14 0x000000000040a5dc in EXEC_function_real () at gbx_exec.c:777
> #15 0x000000000041c567 in raise_event (observer=0x75e7,
> object=0x7f8c6df4a9d0, func_id=-1,
>     nparam=-1) at gbx_api.c:496
> #16 0x000000000041ccab in GB_Raise (object=0x298ae60, event_id=<value
> optimized out>,
>     nparam=0) at gbx_api.c:598
> #17 0x00007f8c6cf46127 in send_click_event (_object=0x298ae60) at
> CMenu.cpp:676 #18 0x0000000000411b90 in EVENT_check_post () at
> gbx_event.c:230
> #19 0x00007f8c6cf35828 in MyPostCheck::qt_metacall (this=0x7f8c6d1990d0,
>     _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
> at main_moc.cpp:66
> #20 0x00007f8c6b53b1f2 in QMetaObject::activate () from
> /usr/lib/libQtCore.so.4 #21 0x00007f8c6b54052f in ?? () from
> /usr/lib/libQtCore.so.4
> #22 0x00007f8c6b5354d3 in QObject::event () from /usr/lib/libQtCore.so.4
> #23 0x00007f8c6bf5778d in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #24 0x00007f8c6bf5f97a in QApplication::notify () from
> /usr/lib/libQtGui.so.4 #25 0x00007f8c6b52575c in
> QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
> #26 0x00007f8c6b5527f6 in ?? () from /usr/lib/libQtCore.so.4
> #27 0x00007f8c6b54ef0d in ?? () from /usr/lib/libQtCore.so.4
> #28 0x00007f8c69a9020a in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> #29 0x00007f8c69a938e0 in ?? () from /usr/lib/libglib-2.0.so.0
> #30 0x00007f8c69a93a7c in g_main_context_iteration () from
> /usr/lib/libglib-2.0.so.0
> #31 0x00007f8c6b54ee6f in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #32 0x00007f8c6bfefbef in ?? () from /usr/lib/libQtGui.so.4
> #33 0x00007f8c6b524002 in QEventLoop::processEvents () from
> /usr/lib/libQtCore.so.4
> #34 0x00007f8c6b5243cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> ---Type <return> to continue, or q <return> to quit---
> #35 0x00007f8c6b526694 in QCoreApplication::exec () from
> /usr/lib/libQtCore.so.4 #36 0x00007f8c6cf365f0 in hook_loop () at
> main.cpp:617
> #37 0x00000000004213e2 in main (argc=1, argv=0x7fff76a19d68) at gbx.c:371
> (gdb)
>
>
> En faite suite a un copier coller et c'est handicapant
>

Je l'ai eu aussi, mais je n'ai pas encore réussi à le reproduire de manière
sure. Je pense que ça vient de fonctions de QT4 qui se comportent moins
"gentiment" que les mêmes fonctions en QT3.

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Bug

by Fabien Bodard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

moi c'est systèmatique et vraiment heu ... enmerdant car plus de
possibilité de faire de copier coller, ainsi que certaine complétion
en dehors des sub.

Le 5 juillet 2009 23:27, Benoît Minisini<gambas@...> a écrit :

>> Undefined command: "setargs".  Try "help".
>> (gdb) set args -p
>> (gdb) run
>> Starting program: /usr/local/bin/gbx3 -p
>> [Thread debugging using libthread_db enabled]
>> [New Thread 0x7fe9f06396f0 (LWP 30178)]
>> ERROR: #45: File or directory does not exist
>>
>> Program exited with code 01.
>> (gdb) exit
>> Undefined command: "exit".  Try "help".
>> (gdb) q
>> fabien@ubuntu:~/gambas$ cd app
>> fabien@ubuntu:~/gambas/app$ cd gambas3
>> bash: cd: gambas3: Aucun fichier ou dossier de ce type
>> fabien@ubuntu:~/gambas/app$ cd src
>> fabien@ubuntu:~/gambas/app/src$ cd gambas3
>> fabien@ubuntu:~/gambas/app/src/gambas3$ ls
>> authors.txt     img      pot-header.txt    support.txt  theme
>> gambas3.gambas  install  shortcut.desktop  template     tips
>> fabien@ubuntu:~/gambas/app/src/gambas3$ gdb gbx3
>> GNU gdb 6.8-debian
>> Copyright (C) 2008 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 "x86_64-linux-gnu"...
>> (gdb) set args -P
>> (gdb) set args -p
>> (gdb) run
>> Starting program: /usr/local/bin/gbx3 -p
>> [Thread debugging using libthread_db enabled]
>> [New Thread 0x7f8c6e9f06f0 (LWP 30183)]
>> ASSERT: "i < uint(size())" in file /usr/include/qt4/QtCore/qstring.h, line
>> 689
>>
>> Program received signal SIGABRT, Aborted.
>> [Switching to Thread 0x7f8c6e9f06f0 (LWP 30183)]
>> 0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
>> (gdb) bt
>> #0  0x00007f8c6dc0ffb5 in raise () from /lib/libc.so.6
>> #1  0x00007f8c6dc11bc3 in abort () from /lib/libc.so.6
>> #2  0x00007f8c6b434885 in qt_message_output () from /usr/lib/libQtCore.so.4
>> #3  0x00007f8c6b4349cb in qFatal () from /usr/lib/libQtCore.so.4
>> #4  0x00007f8c671c9312 in GString::isNewLine (this=0x2819908, pos=42)
>>     at /usr/include/qt4/QtCore/qstring.h:689
>> #5  0x00007f8c671c93c2 in GInsertCommand::merge (this=0x2769ac0,
>> c=0x28198f0) at gdocument.cpp:155
>> #6  0x00007f8c671c71b9 in GDocument::addUndo (this=0x29a54a0, c=0x2769ac0)
>>     at gdocument.cpp:725
>> #7  0x00007f8c671c8c45 in GDocument::insert (this=0x29a54a0, y=18, x=49,
>>     text=@0x7fff76a18a10) at gdocument.cpp:424
>> #8  0x00007f8c671cda87 in GEditor::insert (this=0x29a3370, text=
>>       {static null = {<No data fields>}, static shared_null = {ref =
>> {_q_value = 18018}, alloc = 0, size = 0, data = 0x7f8c6b81b41a, clean
>> = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
>> reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
>> 932}, alloc = 0, size = 0, data = 0x7f8c6b81b43a, clean = 0,
>> simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
>> reserved = 0, array = {0}}, d = 0x7fff76a18ac0, static
>> codecForCStrings = 0x0}) at gview.cpp:1012
>> #9  0x00007f8c671cdd97 in GEditor::paste (this=0x29a3370, mouse=<value
>> optimized out>)
>>     at gview.cpp:1283
>> #10 0x0000000000408ab5 in EXEC_call_native (exec=0xffffffff,
>> object=0x75e7, type=6,
>>     param=0xffffffffffffffff) at gbx_exec.c:970
>> #11 0x00000000004098df in EXEC_native_quick () at gbx_exec.c:1001
>> #12 0x000000000040da84 in EXEC_loop () at gbx_exec_loop.c:969
>> ---Type <return> to continue, or q <return> to quit---
>> #13 0x000000000040a221 in EXEC_function_loop () at gbx_exec.c:790
>> #14 0x000000000040a5dc in EXEC_function_real () at gbx_exec.c:777
>> #15 0x000000000041c567 in raise_event (observer=0x75e7,
>> object=0x7f8c6df4a9d0, func_id=-1,
>>     nparam=-1) at gbx_api.c:496
>> #16 0x000000000041ccab in GB_Raise (object=0x298ae60, event_id=<value
>> optimized out>,
>>     nparam=0) at gbx_api.c:598
>> #17 0x00007f8c6cf46127 in send_click_event (_object=0x298ae60) at
>> CMenu.cpp:676 #18 0x0000000000411b90 in EVENT_check_post () at
>> gbx_event.c:230
>> #19 0x00007f8c6cf35828 in MyPostCheck::qt_metacall (this=0x7f8c6d1990d0,
>>     _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
>> at main_moc.cpp:66
>> #20 0x00007f8c6b53b1f2 in QMetaObject::activate () from
>> /usr/lib/libQtCore.so.4 #21 0x00007f8c6b54052f in ?? () from
>> /usr/lib/libQtCore.so.4
>> #22 0x00007f8c6b5354d3 in QObject::event () from /usr/lib/libQtCore.so.4
>> #23 0x00007f8c6bf5778d in QApplicationPrivate::notify_helper () from
>> /usr/lib/libQtGui.so.4
>> #24 0x00007f8c6bf5f97a in QApplication::notify () from
>> /usr/lib/libQtGui.so.4 #25 0x00007f8c6b52575c in
>> QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
>> #26 0x00007f8c6b5527f6 in ?? () from /usr/lib/libQtCore.so.4
>> #27 0x00007f8c6b54ef0d in ?? () from /usr/lib/libQtCore.so.4
>> #28 0x00007f8c69a9020a in g_main_context_dispatch () from
>> /usr/lib/libglib-2.0.so.0
>> #29 0x00007f8c69a938e0 in ?? () from /usr/lib/libglib-2.0.so.0
>> #30 0x00007f8c69a93a7c in g_main_context_iteration () from
>> /usr/lib/libglib-2.0.so.0
>> #31 0x00007f8c6b54ee6f in QEventDispatcherGlib::processEvents () from
>> /usr/lib/libQtCore.so.4
>> #32 0x00007f8c6bfefbef in ?? () from /usr/lib/libQtGui.so.4
>> #33 0x00007f8c6b524002 in QEventLoop::processEvents () from
>> /usr/lib/libQtCore.so.4
>> #34 0x00007f8c6b5243cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
>> ---Type <return> to continue, or q <return> to quit---
>> #35 0x00007f8c6b526694 in QCoreApplication::exec () from
>> /usr/lib/libQtCore.so.4 #36 0x00007f8c6cf365f0 in hook_loop () at
>> main.cpp:617
>> #37 0x00000000004213e2 in main (argc=1, argv=0x7fff76a19d68) at gbx.c:371
>> (gdb)
>>
>>
>> En faite suite a un copier coller et c'est handicapant
>>
>
> Je l'ai eu aussi, mais je n'ai pas encore réussi à le reproduire de manière
> sure. Je pense que ça vient de fonctions de QT4 qui se comportent moins
> "gentiment" que les mêmes fonctions en QT3.
>
> --
> Benoît
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr