[vlc-devel] commit: Qt: use a single state variable and debug (Jean-Baptiste Kempf )

Rémi Denis-Courmont remi at remlab.net
Tue Dec 8 21:49:50 CET 2009


fae58566793322c51ab7333fb0c76d030430eef1 is the first bad commit
commit fae58566793322c51ab7333fb0c76d030430eef1
Author: Jean-Baptiste Kempf <jb at videolan.org>
Date:   Wed Oct 14 22:00:29 2009 +0200

    Qt: use a single state variable and debug

    This also fixes the non returning to the correct size because of too high 
minimumSize();

    Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

:040000 040000 0f2e7377b87bc453a4f67ddf68243a781d7fe775 
16943dca547eba43531032370e4a5617e41bdbee M      modules

==3687== Memcheck, a memory error detector                                 
==3687== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.   
==3687== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright 
info                                                                               
==3687== Command: ./vlc --no-embedded-video                                     
==3687==                                                                        
VLC media player 1.1.0-git Yellow Bastard                                       
[0x4300054] main libvlc: Lancement de vlc avec l'interface par défaut. 
Utilisez « cvlc » pour démarrer VLC sans interface.                                      
==3687== Thread 5:
==3687== Invalid read of size 4
==3687==    at 0x53A9AA3: MainInterface::debug() (qwidget.h:979)
==3687==    by 0x53AE868: MainInterface::MainInterface(intf_thread_t*) 
(main_interface.cpp:277)
==3687==    by 0x539E757: Thread(void*) (qt4.cpp:416)
==3687==    by 0x4137584: start_thread (pthread_create.c:300)
==3687==    by 0x42192BD: clone (clone.S:130)
==3687==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==3687==
==3687==
==3687== Process terminating with default action of signal 11 (SIGSEGV)
==3687==  Access not within mapped region at address 0x10
==3687==    at 0x53A9AA3: MainInterface::debug() (qwidget.h:979)
==3687==    by 0x53AE868: MainInterface::MainInterface(intf_thread_t*) 
(main_interface.cpp:277)
==3687==    by 0x539E757: Thread(void*) (qt4.cpp:416)
==3687==    by 0x4137584: start_thread (pthread_create.c:300)
==3687==    by 0x42192BD: clone (clone.S:130)
==3687==  If you believe this happened as a result of a stack
==3687==  overflow in your program's main thread (unlikely but
==3687==  possible), you can try to increase the size of the
==3687==  main thread stack using the --main-stacksize= flag.
==3687==  The main thread stack size used in this run was 8388608.
==3687==
==3687== HEAP SUMMARY:
==3687==     in use at exit: 2,007,592 bytes in 27,420 blocks
==3687==   total heap usage: 201,342 allocs, 173,922 frees, 109,673,131 bytes 
allocated
==3687==
==3687== LEAK SUMMARY:
==3687==    definitely lost: 1,048 bytes in 6 blocks
==3687==    indirectly lost: 2,568 bytes in 128 blocks
==3687==      possibly lost: 1,095,590 bytes in 17,710 blocks
==3687==    still reachable: 908,386 bytes in 9,576 blocks
==3687==         suppressed: 0 bytes in 0 blocks
==3687== Rerun with --leak-check=full to see details of leaked memory
==3687==
==3687== For counts of detected and suppressed errors, rerun with: -v
==3687== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 350 from 12)
Processus arrêté

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list