On Wed, Oct 28, 2009 at 10:12 AM,  <[email protected]> wrote:

>  * contrib/hbxbp/tests/demoxbp.prg
>
>    ! Fixes to release objects in proper order.
>      Now demoxbp.exe terminates fine. Also you can
>      open as many dialogs as you want. Closing next dialog
>      releases the memory belonging to Qt objects but still
>      I have to investigate why whole of thread memory is not
>      released. So I have kept debug code intact. Just play with
>      current code, may be you can pin-point where Xbp*classes
>      need more tweaks.

Under Ubuntu 9.04 using QT from qtsoftware I still get a GPF at the end.

Starting program: /harbour-trunk/contrib/hbxbp/tests/demoxbp
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb59b3920 (LWP 21126)]
QPainter::begin: Widget painting can only begin as a result of a paintEvent
[New Thread 0xb081cb90 (LWP 21129)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb59b3920 (LWP 21126)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x081061a9 in ?? ()
#2  0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#3  0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#4  0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#5  0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#6  0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#7  0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#8  0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#9  0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#10 0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#11 0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#12 0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#13 0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#14 0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#15 0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#16 0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#17 0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#18 0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#19 0xb6153184 in hb_arrayGarbageRelease () from /opt/harbour/lib/libharbour.so
#20 0xb6122af9 in hb_gcRefFree () from /opt/harbour/lib/libharbour.so
#21 0xb613142b in hb_itemClear () from /opt/harbour/lib/libharbour.so
#22 0xb6133238 in hb_itemCopy () from /opt/harbour/lib/libharbour.so
#23 0xb6133a0f in hb_arraySet () from /opt/harbour/lib/libharbour.so
#24 0xb613cb45 in HB_FUN_msgSetData () from /opt/harbour/lib/libharbour.so
#25 0xb613102a in hb_vmSend () from /opt/harbour/lib/libharbour.so
#26 0xb612f457 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#27 0x08087bda in ?? ()
#28 0xb613102a in hb_vmSend () from /opt/harbour/lib/libharbour.so
#29 0xb612f457 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#30 0xb6130b15 in hb_codeblockEvaluate () from /opt/harbour/lib/libharbour.so
#31 0xb6130b9b in hb_vmDoBlock () from /opt/harbour/lib/libharbour.so
#32 0xb613102a in hb_vmSend () from /opt/harbour/lib/libharbour.so
#33 0xb6153337 in hb_arrayEval () from /opt/harbour/lib/libharbour.so
#34 0xb6159cff in HB_FUN_AEVAL () from /opt/harbour/lib/libharbour.so
#35 0xb6154a1a in hb_vmProc () from /opt/harbour/lib/libharbour.so
#36 0xb612dd34 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#37 0x08087bda in ?? ()
#38 0xb613102a in hb_vmSend () from /opt/harbour/lib/libharbour.so
#39 0xb612f457 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#40 0x08086cba in ?? ()
#41 0xb613102a in hb_vmSend () from /opt/harbour/lib/libharbour.so
#42 0xb612f457 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#43 0x0808669a in ?? ()
#44 0xb6154a1a in hb_vmProc () from /opt/harbour/lib/libharbour.so
#45 0xb612dd34 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#46 0x080866ca in ?? ()
#47 0xb6154a1a in hb_vmProc () from /opt/harbour/lib/libharbour.so
#48 0xb612dd34 in hb_vmExecute () from /opt/harbour/lib/libharbour.so
#49 0x080866fa in ?? ()
#50 0xb6154a1a in hb_vmProc () from /opt/harbour/lib/libharbour.so
#51 0xb6156014 in hb_vmInit () from /opt/harbour/lib/libharbour.so
#52 0xb615821e in main () from /opt/harbour/lib/libharbour.so
#53 0xb5e6c775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#54 0x08085d01 in ?? ()

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to