[Gambas-user] [Gambas Bug Tracker] Bug #841: A crash when i try to launch gambas via a rdesktop distant x connection

bugtracker at ...3416... bugtracker at ...3416...
Mon Nov 16 14:35:03 CET 2015


http://gambaswiki.org/bugtracker/edit?object=BUG.841&from=L21haW4-

Comment #3 by Wouter WOLKERS:

also made a valgrind report for you for this bug:

==14161== Memcheck, a memory error detector
==14161== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==14161== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==14161== Command: gbx3
==14161==
==14161== Warning: set address range perms: large range [0x395db000, 0x795dd000) (defined)
==14194== Warning: invalid file descriptor 1024 in syscall close()
==14194== Warning: invalid file descriptor 1025 in syscall close()
==14194== Warning: invalid file descriptor 1026 in syscall close()
==14194== Warning: invalid file descriptor 1027 in syscall close()
==14194==    Use --log-fd=<number> to select an alternative log fd.
==14194== Warning: invalid file descriptor 1028 in syscall close()
==14194== Warning: invalid file descriptor 1029 in syscall close()
X Error: BadAtom (invalid Atom parameter) 5
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0
==14161== Invalid read of size 4
==14161==    at 0x6E8B7E7: X11_get_current_desktop (x11.c:575)
==14161==    by 0x6E9797C: MyMainWindow::initProperties(int) (CWindow.cpp:1631)
==14161==    by 0x6E9846D: MyMainWindow::present(QWidget*) (CWindow.cpp:1673)
==14161==    by 0x6E99BC5: MyMainWindow::showActivate(QWidget*) (CWindow.cpp:1752)
==14161==    by 0x40B39C: EXEC_native_quick (gbx_exec.c:1211)
==14161==    by 0x43B480: EXEC_loop (gbx_exec_loop.c:1151)
==14161==    by 0x40ABCB: EXEC_function_loop (gbx_exec.c:931)
==14161==    by 0x40B2C5: EXEC_function_real (gbx_exec.c:895)
==14161==    by 0x404B52: main (gbx.c:416)
==14161==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==14161==
==14161==
==14161== Process terminating with default action of signal 11 (SIGSEGV)
==14161==  Access not within mapped region at address 0x0
==14161==    at 0x6E8B7E7: X11_get_current_desktop (x11.c:575)
==14161==    by 0x6E9797C: MyMainWindow::initProperties(int) (CWindow.cpp:1631)
==14161==    by 0x6E9846D: MyMainWindow::present(QWidget*) (CWindow.cpp:1673)
==14161==    by 0x6E99BC5: MyMainWindow::showActivate(QWidget*) (CWindow.cpp:1752)
==14161==    by 0x40B39C: EXEC_native_quick (gbx_exec.c:1211)
==14161==    by 0x43B480: EXEC_loop (gbx_exec_loop.c:1151)
==14161==    by 0x40ABCB: EXEC_function_loop (gbx_exec.c:931)
==14161==    by 0x40B2C5: EXEC_function_real (gbx_exec.c:895)
==14161==    by 0x404B52: main (gbx.c:416)
==14161==  If you believe this happened as a result of a stack
==14161==  overflow in your program's main thread (unlikely but
==14161==  possible), you can try to increase the size of the
==14161==  main thread stack using the --main-stacksize= flag.
==14161==  The main thread stack size used in this run was 8388608.
==14161==
==14161== HEAP SUMMARY:
==14161==     in use at exit: 10,927,688 bytes in 70,033 blocks
==14161==   total heap usage: 222,021 allocs, 151,988 frees, 60,917,132 bytes allocated
==14161==
==14161== LEAK SUMMARY:
==14161==    definitely lost: 137,896 bytes in 2,210 blocks
==14161==    indirectly lost: 46,074 bytes in 1,898 blocks
==14161==      possibly lost: 4,893,910 bytes in 19,992 blocks
==14161==    still reachable: 5,849,808 bytes in 45,933 blocks
==14161==                       of which reachable via heuristic:
==14161==                         stdstring          : 548 bytes in 11 blocks
==14161==                         newarray           : 29,512 bytes in 21 blocks
==14161==                         multipleinheritance: 19,496 bytes in 16 blocks
==14161==         suppressed: 0 bytes in 0 blocks
==14161== Rerun with --leak-check=full to see details of leaked memory
==14161==
==14161== For counts of detected and suppressed errors, rerun with: -v
==14161== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)






More information about the User mailing list