<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rémi Denis-Courmont wrote:
<blockquote cite="mid:200903051947.01152.rem@videolan.org" type="cite">
  <pre wrap="">Le mercredi 4 mars 2009 09:14:25 xxcv, vous avez écrit :
  </pre>
  <blockquote type="cite">
    <pre wrap="">#0  0x77170e38 in KERNEL32!CreateJobObjectA ()
   from C:\Windows\syswow64\kernel32.dll
#1  0x6a58a5b6 in vlc_mutex_lock (p_mutex=0xababab57) at misc/threads.c:370
#2  0x08fbfa6e in InteractionDialog::Finish (this=0x17d6d660, i_ret=1)
    at dialogs/interaction.cpp:243
#3  0x08fc0ec7 in InteractionDialog::InteractionDialog (this=0x17d6d660,
    _p_intf=0xcf3dd50, _p_dialog=0x17548760) at dialogs/interaction.cpp:154
#4  0x08f9d72e in DialogsProvider::doInteraction (this=0xd01d2e8,
    p_arg=0x17df8680) at dialogs_provider.cpp:681
#5  0x09573462 in QObject::event ()
    at /include/qt4/QtCore/../src/corelib/kernel/qabstractitemmodel.h:61
#6  0x090ad29c in QApplicationPrivate::notify_helper ()
    at /include/qt4/QtCore/../src/corelib/kernel/qabstractitemmodel.h:61
#7  0x090ad3bc in QApplication::notify ()
    at /include/qt4/QtCore/../src/corelib/kernel/qabstractitemmodel.h:61
#8  0x0957851c in QCoreApplication::notifyInternal ()
    at /include/qt4/QtCore/../src/corelib/kernel/qabstractitemmodel.h:61
#9  0x0d01d2e8 in ?? ()
#10 0x17b02d88 in ?? ()
#11 0x1027dd68 in ?? ()
#12 0x3ee6fbb8 in ?? ()
#13 0x12b9ed68 in ?? ()
#14 0x10d2feb8 in ?? ()
#15 0x00ffffff in ?? ()
#16 0x00000000 in ?? ()
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It is well-known that the "interaction" (not to be confused with the UIs) code 
is super mega utter deep complete crap.

This is very easy to reproduce: create a long playlist (e.g. M3U) of files 
that don't exist. Open it in VLC. Wait a few instants. Caboom.

I've been trying improve the interaction code, but its design is so 
intrisincally stupid, that I have not gotten round to fixing it, and I am 
more than fed up with it.

  </pre>
</blockquote>
Just tried your idea made a long playlist M3U of files that don't
exist, I waited and it finished without <br>
Caboom. Tested with fresh build from commit
5f5c01ac1f1b21ac7cf46e39379ab6919de1742b<br>
However everything appears to be ok then Media / Quit makes an
assertion to fail.<br>
<a class="moz-txt-link-freetext" href="http://img23.imageshack.us/img23/8977/onquitafterloadingm3uwi.jpg">http://img23.imageshack.us/img23/8977/onquitafterloadingm3uwi.jpg</a><br>
<br>
Then I tried to run it through GDB but it will lock up the qt4 GUI (on
Qt 4.5.0 ATM) half way<br>
don't know if this have anything to do with Qt 4.5.0 or not ... or MSYS
shell lagged off with<br>
massive messages with -vvv. And then I retried with -v only this time
it will run a bit longer<br>
until GDB got pissed off.<br>
<hr size="2" width="100%"><br>
utils.c:904: internal-error: virtual memory exhausted: can't allocate
262144 bytes.<br>
A problem internal to GDB has been detected,<br>
further debugging may prove unreliable.<br>
Quit this debugging session? (y or n) [answered Y; input not from
terminal]<br>
utils.c:904: internal-error: virtual memory exhausted: can't allocate
262144 bytes.<br>
A problem internal to GDB has been detected,<br>
further debugging may prove unreliable.<br>
Create a core file of GDB? (y or n) [answered Y; input not from
terminal]<br>
<br>
This application has requested the Runtime to terminate it in an
unusual way.<br>
Please contact the application's support team for more information.<br>
Error: dll starting at 0x77b60000 not found.<br>
Error: dll starting at 0x76290000 not found.<br>
Error: dll starting at 0x77b60000 not found.<br>
Error: dll starting at 0x77a90000 not found.<br>
<br>
<hr size="2" width="100%"><br>
I retried with GDB again with -v only, this time it actually finished
running<br>
and crashed on quit, with no meaningful trace...<br>
<hr size="2" width="100%"><br>
<font color="#cc0000">QObject::killTimers: timers cannot be stopped
from another thread</font><br>
[New thread 22520.0x6a18]<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to thread 22520.0x6a18]<br>
0x096b6dd0 in ?? ()<br>
(gdb) Error: dll starting at 0x77b60000 not found.<br>
Error: dll starting at 0x76290000 not found.<br>
Error: dll starting at 0x77b60000 not found.<br>
Error: dll starting at 0x77a90000 not found.<br>
bt<br>
#0  0x096b6dd0 in ?? ()<br>
#1  0x77559e04 in msvcrt!_endthread () from
C:\Windows\syswow64\msvcrt.dll<br>
#2  0x7539f884 in ?? ()<br>
#3  0x00000000 in ?? ()<br>
<hr size="2" width="100%"><br>
Regards.<br>
<br>
</body>
</html>