[vlc] hang on during debuging with gdb
zuo bf
zuobf.bupt at gmail.com
Fri Jun 10 10:21:55 CEST 2005
Sigmund Augdal has said that post mortal debug is good, but i want to
find something
in detail, so gdb is a good choice. The problem is that when i use gdb
to debug vlc,
it will hang on:
(gdb) bt
#0 __vlc_cond_wait (psz_file=0x92b8f1 "src/misc/threads.c", i_line=616,
p_condvar=0x139e550, p_mutex=0x139e530) at include/vlc_threads_funcs.h:394
#1 0x004152d7 in __vlc_thread_create (p_this=0x139e518,
psz_file=0x92ae11 "src/playlist/playlist.c", i_line=152,
psz_name=0x92ae08 "playlist", func=0x40e150 <RunThread>, i_priority=0,
b_wait=1) at src/misc/threads.c:616
#2 0x0040d865 in __playlist_Create (p_parent=0x1392e90)
at src/playlist/playlist.c:151
#3 0x00404a09 in VLC_Init (i_object=0, i_argc=1, ppsz_argv=0x1392468)
at src/libvlc.c:641
#4 0x00401316 in main (i_argc=1, ppsz_argv=0x1392468) at src/vlc.c:98
Cygwin and MinGW+MSYS behave the same, except that MinGw can quit gdb with
Ctrl+c but cygwin can't.
Is it a problem of my enviroment ?
Has anybody else use gdb to debug vlc successfully under windows?
Thanks, your help will be very helpful.
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list