[Gambas-user] Bug during compilation of the lastest Gambas svn sources rev#4720

Olivier Cruilles linuxos at ...1896...
Wed May 16 18:53:14 CEST 2012


Hi Benoit,

I think this is better than the preview email:

[linus at ...2073... ~]$ valgrind --tool=memcheck --num-callers=50 gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
==26488== Memcheck, a memory error detector
==26488== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==26488== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==26488== Command: gbr3 /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
==26488== 
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x62d9480)" of type `GString'



warning: unable to load 24/earth
==26488== Invalid read of size 4
==26488==    at 0x806413D: GB_Raise (gbx_api.c:603)
==26488==    by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416)
==26488==    by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143)
==26488==    by 0x5397982: CWatch::read(int) (CWatch.cpp:135)
==26488==    by 0x539770B: CWatch::qt_metacall(QMetaObject::Call, int, void**) (CWatch_moc.cpp:73)
==26488==    by 0x780E66A: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x781DC66: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x786C1F3: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x782446E: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x5539ECB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x553EBD1: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x7807E32: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x783554E: ??? (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x8B4191: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x8B4977: ??? (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x8B4C34: g_main_context_iteration (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x7835BCC: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x55EE185: ??? (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x780BF59: QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x5370753: hook_loop() (main.cpp:760)
==26488==    by 0x80695C7: main (gbx.c:408)
==26488==  Address 0x11 is not stack'd, malloc'd or (recently) free'd
==26488== 
==26488== 
==26488== Process terminating with default action of signal 11 (SIGSEGV)
==26488==  Access not within mapped region at address 0x11
==26488==    at 0x806413D: GB_Raise (gbx_api.c:603)
==26488==    by 0x600BAA3: post_event(void*, int) (CEditor.cpp:1416)
==26488==    by 0x8074D15: SIGNAL_raise_callbacks (gbx_signal.c:143)
==26488==    by 0x5397982: CWatch::read(int) (CWatch.cpp:135)
==26488==    by 0x539770B: CWatch::qt_metacall(QMetaObject::Call, int, void**) (CWatch_moc.cpp:73)
==26488==    by 0x780E66A: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x781DC66: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x786C1F3: QSocketNotifier::activated(int) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x782446E: QSocketNotifier::event(QEvent*) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x5539ECB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x553EBD1: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x7807E32: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x783554E: ??? (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x8B4191: g_main_context_dispatch (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x8B4977: ??? (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x8B4C34: g_main_context_iteration (in /lib/libglib-2.0.so.0.2600.0)
==26488==    by 0x7835BCC: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x55EE185: ??? (in /usr/lib/libQtGui.so.4.7.4)
==26488==    by 0x780BF59: QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, int) (in /usr/lib/libQtCore.so.4.7.4)
==26488==    by 0x5370753: hook_loop() (main.cpp:760)
==26488==    by 0x80695C7: main (gbx.c:408)
==26488==  If you believe this happened as a result of a stack
==26488==  overflow in your program's main thread (unlikely but
==26488==  possible), you can try to increase the size of the
==26488==  main thread stack using the --main-stacksize= flag.
==26488==  The main thread stack size used in this run was 8388608.
==26488== 
==26488== HEAP SUMMARY:
==26488==     in use at exit: 18,060,462 bytes in 252,937 blocks
==26488==   total heap usage: 745,788 allocs, 492,851 frees, 106,308,203 bytes allocated
==26488== 
==26488== LEAK SUMMARY:
==26488==    definitely lost: 37,128 bytes in 214 blocks
==26488==    indirectly lost: 193,916 bytes in 8,776 blocks
==26488==      possibly lost: 16,299,397 bytes in 217,060 blocks
==26488==    still reachable: 1,530,021 bytes in 26,887 blocks
==26488==         suppressed: 0 bytes in 0 blocks
==26488== Rerun with --leak-check=full to see details of leaked memory
==26488== 
==26488== For counts of detected and suppressed errors, rerun with: -v
==26488== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 207 from 11)
Processus arrêté


Olivier Cruilles
Mail: linuxos at ...1896...

Le 13 mai 2012 à 22:50, Olivier Cruilles a écrit :

> 
> [linus at ...2073... tmp]$ valgrind --tool=memcheck --num-callers=50 gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
> ==3141== Memcheck, a memory error detector
> ==3141== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
> ==3141== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
> ==3141== Command: gbr3 -- /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3
> ==3141== 
> ERROR: #35: Cannot open file '.': No such device
> ==3141== 
> ==3141== HEAP SUMMARY:
> ==3141==     in use at exit: 14,096 bytes in 197 blocks
> ==3141==   total heap usage: 216 allocs, 19 frees, 55,048 bytes allocated
> ==3141== 
> ==3141== LEAK SUMMARY:
> ==3141==    definitely lost: 64 bytes in 1 blocks
> ==3141==    indirectly lost: 0 bytes in 0 blocks
> ==3141==      possibly lost: 8,752 bytes in 136 blocks
> ==3141==    still reachable: 5,280 bytes in 60 blocks
> ==3141==         suppressed: 0 bytes in 0 blocks
> ==3141== Rerun with --leak-check=full to see details of leaked memory
> ==3141== 
> ==3141== For counts of detected and suppressed errors, rerun with: -v
> ==3141== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 18 from 8)
> 
> 
> 
> Olivier Cruilles
> Mail: linuxos at ...1896...
> 
> Le 13 mai 2012 à 21:04, Benoît Minisini a écrit :
> 
>> valgrind --tool=memcheck --num-callers=50 gbr3 -- 
>> /usr/bin/gambas3.gambas /local/Gambas-3/gbEditor3




More information about the User mailing list