<!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">
Hello,<br>
<br>
Rémi Denis-Courmont wrote:
<blockquote cite="mid:200903051947.01152.rem@videolan.org" type="cite">
<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>
1.<br>
Stress testing without GDB shows good results.<br>
<a class="moz-txt-link-freetext"
href="http://img87.imageshack.us/img87/7917/avifile.jpg">http://img87.imageshack.us/img87/7917/avifile.jpg</a>
will pop up every 10 seconds<br>
or so disrupting the stress testing.<br>
<br>
VLC will not crash with AVI files, after 2-5 minutes in test, Quit with
<br>
close button on top right hand corner and assertion failure pops up.<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>
The vout - input changing memory leak race condition still stands.<br>
Checking with task manager showing vlc.exe memory usage is at 1 Gigabyte<br>
if the stress testing were to continue vlc would crash at near 1-1.6
Gigabyte leak.<br>
<br>
2.<br>
Done four separate tests through GDB, press + holding "N"<br>
with AVI files results are below:<br>
<hr size="2" width="100%">[0x4e018c] main playlist debug: starting new
item<br>
[0x4e018c] main playlist debug: creating new input thread<br>
[0x1f06bf04] main input debug: Creating an input for 'test1.avi'<br>
[0x1ee079bc] main input debug: Destroying the input for 'test0.avi'<br>
[0x1ee079bc] main input debug: TIMER input launching for 'test0.avi' :
389.000 ms - Total 389.000 ms / 1 intvls (Avg 389.000 ms)<br>
[0x1f06bf04] main input debug: thread (input) created at priority 1
(input/input.c:353)<br>
[0xd7e8e7c] qt4 interface debug: IM: Setting an input<br>
[0x1f06bf04] main input debug: thread started<br>
[0x1f06bf04] main input debug: using timeshift granularity of 52428800
bytes<br>
[0x1f06bf04] main input debug: using timeshift path
'C:\Users\vista\AppData\Local\Temp'<br>
[0x1f06bf04] main input debug: `C:\media\test1.avi' gives access `'
demux `' path `C:\media\test1.avi'<br>
[0xd7e8e7c] qt4 interface debug: Updating the geometry<br>
[0x1f06bf04] main input debug: creating demux: access='' demux=''
path='C:\media\test1.avi'<br>
[0x20063994] main demux debug: looking for access_demux module: 3
candidates<br>
[0xd7e8e7c] qt4 interface debug: size: 1 - -623<br>
libdvdread: Using libdvdcss version 1.2.10 for DVD access<br>
[0xd7e8e7c] qt4 interface debug: sizeHint: 524 - 704<br>
<font color="#3366ff"><br>
--- Qt 4.5.0 locked up here, nothing is responding<br>
<br>
--- Killed process at this point, from task manager<br>
--- The following debug message get popped into the log file.<br>
</font><br>
[0xd7e8e7c] qt4 interface debug: size: 1 - -623<br>
[New thread 18244.0x1b2c]<br>
[New thread 18244.0x2de0]<br>
[New thread 18244.0x438c]<br>
<br>
Program exited with code 01.<br>
(gdb) Error: dll starting at 0x77b60000 not found.<br>
<br>
<hr size="2" width="100%">[0x261018c] main playlist debug: starting new
item<br>
[0x261018c] main playlist debug: creating new input thread<br>
[0x1bc52234] main input debug: Creating an input for 'test2.avi'<br>
[0x1bc52234] main input debug: thread (input) created at priority 1
(input/input.c:353)<br>
[0x1bc52234] main input debug: thread started<br>
[0x1bc52234] main input debug: using timeshift granularity of 52428800
bytes<br>
[0x1bc52234] main input debug: using timeshift path
'C:\Users\vista\AppData\Local\Temp'<br>
[0x1bc52234] main input debug: `C:\media\test2.avi' gives access `'
demux `' path `C:\media\test2.avi'<br>
[0x1bc52234] main input debug: creating demux: access='' demux=''
path='C:\media\test2.avi'<br>
[0x261018c] main playlist debug: incoming request - stopping current
input<br>
[0x1bc3dbbc] main demux debug: looking for access_demux module: 3
candidates<br>
[0xd6b8cd4] qt4 interface debug: IM: Deleting the input<br>
<font color="#3366ff"><br>
--- Qt 4.5.0 locked up here, nothing is responding<br>
<br>
--- Killed process at this point, from task manager<br>
--- The following debug message get popped into the log file.<br>
</font><br>
libdvdread: Using libdvdcss version 1.2.10 for DVD access<br>
[0xd6b8cd4] qt4 interface debug: Updating the geometry<br>
[New thread 28676.0x5a00]<br>
<br>
Program exited with code 01.<br>
(gdb) Error: dll starting at 0x77b60000 not found.<br>
<hr size="2" width="100%">[0xd6f8f14] qt4 interface debug: IM: Setting
an input<br>
[0x1ad57d64] main input debug: thread started<br>
[0x1ad57d64] main input debug: using timeshift granularity of 52428800
bytes<br>
[0x1ad57d64] main input debug: using timeshift path
'C:\Users\vista\AppData\Local\Temp'<br>
[0x1ad57d64] main input debug: `C:\media\test3.avi' gives access `'
demux `' path `C:\media\test3.avi'<br>
[0x1ad57d64] main input debug: creating demux: access='' demux=''
path='C:\media\test3.avi'<br>
[0x1ad594d4] main demux debug: looking for access_demux module: 3
candidates<br>
libdvdread: Using libdvdcss version 1.2.10 for DVD access<br>
[0xd6f8f14] qt4 interface debug: Updating the geometry<br>
<font color="#3366ff"><br>
--- Qt 4.5.0 locked up here, nothing is responding<br>
<br>
--- Killed process at this point, from task manager<br>
--- The following debug message get popped into the log file.<br>
</font><br>
[0xd6f8f14] qt4 interface debug: size: 1 - -1159<br>
[New thread 18080.0x5914]<br>
<br>
Program exited with code 01.<br>
(gdb) Error: dll starting at 0x77b60000 not found.<br>
<hr size="2" width="100%">[0x1c063ca4] main input debug: thread (input)
created at priority 1 (input/input.c:353)<br>
[0xd678b94] qt4 interface debug: IM: Setting an input<br>
[0x1c063ca4] main input debug: thread started<br>
[0x1c063ca4] main input debug: using timeshift granularity of 52428800
bytes<br>
[0x1c063ca4] main input debug: using timeshift path
'C:\Users\vista\AppData\Local\Temp'<br>
[0x1c063ca4] main input debug: `C:\media\test4.avi' gives access `'
demux `' path `C:\media\test4.avi'<br>
[0x1c063ca4] main input debug: creating demux: access='' demux=''
path='C:\media\test4.avi'<br>
[0x1c06304c] main demux debug: looking for access_demux module: 3
candidates<br>
libdvdread: Using libdvdcss version 1.2.10 for DVD access<br>
[0xd678b94] qt4 interface debug: Updating the geometry<br>
<font color="#3366ff"><br>
--- Qt 4.5.0 locked up here, nothing is responding<br>
<br>
--- Killed process at this point, from task manager<br>
--- The following debug message get popped into the log file.<br>
</font><br>
[0xd678b94] qt4 interface debug: size: 1 - -639<br>
[New thread 24092.0x7410]<br>
[New thread 24092.0x5394]<br>
[New thread 24092.0x3794]<br>
<br>
Program exited with code 01.<br>
(gdb) Error: dll starting at 0x77b60000 not found.<br>
<hr size="2" width="100%"><br>
Regards.<br>
<br>
</body>
</html>