From: SourceForge.net <no...@so...> - 2005-03-31 21:09:53
|
Bugs item #1166167, was opened at 2005-03-18 11:08 Message generated for change (Comment added) made by todd-m2n You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1166167&group_id=9655 Category: xine Group: current cvs version Status: Pending Resolution: Duplicate Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: xine vsize (VSZ), rss (RSS) grows on playlist entry switch Initial Comment: # xine --version This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team #.cat /etc/debian_version 3.1 # uname -a Linux k-001 2.4.27-2-686 #1 Thu Jan 20 11:10:41 JST 2005 i686 GNU/Linux ### If xine is playing a playlist (of one or more entries), with --loop=loop (or --loop=repeat), upon entry switch, memory (vsize, rss) grows. Oddly enough if a "manual" playlist entry switch occurs (via xine --session pl=next), memory (vsize, rss) does NOT grow (after the second switch). PROOF: # cat .xine/xinerc --loop=loop --no-splash --no-logo --borderless -G640x480+70+95 -P/var/media/playlists/playlist-generic k-001:~# xine & [1] 19568 This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. k-001:~# ps auwwwxf | head -1 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND k-001:~# AT STARTUP k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19490 2.0 5.1 117476 53212 pts/0 S 11:01 0:00 \_ xine k-001:~# WAIT UNTIL PLAYLIST ENTRY SWITCH k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19490 0.9 5.3 119600 54936 pts/0 S 11:01 0:00 \_ xine k-001:~# WAIT UNTIL PLAYLIST ENTRY SWITCH k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19490 0.5 5.3 121572 55016 pts/0 S 11:01 0:00 \_ xine k-001:~# WAIT UNTIL PLAYLIST ENTRY SWITCH k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19490 0.3 5.3 123620 55020 pts/0 S 11:01 0:00 \_ xine k-001:~# ETC... ### Now with manually switching playlist entries k-001:~# xine & [1] 19568 This is xine (X11 gui) - a free video player v0.99.3. (c) 2000-2004 The xine Team. k-001:~# AT STARTUP k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 2.6 5.1 117472 53284 ? S 19:04 0:00 \_ xine k-001:~# xine --session pl=next k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 1.6 5.3 117496 54948 ? S 19:04 0:00 \_ xine k-001:~# xine --session pl=next k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 1.3 5.3 117572 54968 ? S 19:04 0:00 \_ xine k-001:~# xine --session pl=next k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 1.2 5.3 117572 54984 ? S 19:04 0:00 \_ xine k-001:~# xine --session pl=next k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 1.1 5.3 117572 54984 ? S 19:04 0:00 \_ xine k-001:~# xine --session pl=next k-001:~# ps auwwwxf | grep "\_ xine" | head -1 | cut -c1-65,80-90 root 19568 1.0 5.3 117572 54988 ? S 19:04 0:00 \_ xine k-001:~# ETC... ### For further information, or help in any way... (p.s. thanks for writing an AWESOME player!) Todd Weaver to...@m2... ---------------------------------------------------------------------- Comment By: Todd Weaver (todd-m2n) Date: 2005-03-31 13:09 Message: Logged In: YES user_id=510938 I worked through the errors making xine-lib, but I am getting quite a few build errors for xine-ui. Most noteably: make[3]: Entering directory `/root/xine-ui/src/aaui' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../src -I../../src/common -I../../src/common -I../../src/xitk/xine-toolkit -I../../src/xitk/xine-toolkit -I/usr/local/include -I/usr/local/include -DNDEBUG -Wall -D_FILE_OFFSET_BITS=64 -mcpu=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -c main.c main.c: In function `print_usage': main.c:281: error: `CONFIGFILE' undeclared (first use in this function) main.c:281: error: (Each undeclared identifier is reported only once main.c:281: error: for each function it appears in.) main.c: In function `aaxine_get_key_event': main.c:595: warning: no return statement in function returning non-void main.c: In function `main': main.c:728: error: `CONFIGFILE' undeclared (first use in this function) main.c:942: error: `KEY_UP' undeclared (first use in this function) main.c:957: error: `KEY_DOWN' undeclared (first use in this function) main.c:964: error: `KEY_LEFT' undeclared (first use in this function) main.c:970: error: `KEY_RIGHT' undeclared (first use in this function) I will try again next week, and see about working through these errors. Thanks mroi, the fix does seem to be documented in the mentioned bug # you provided, I just haven't been able to test it yet! Todd Weaver to...@m2... ---------------------------------------------------------------------- Comment By: Todd Weaver (todd-m2n) Date: 2005-03-19 20:26 Message: Logged In: YES user_id=510938 From reading the information it sure seems that way. I did try to build from cvs but got a few errors, and had to move on... I will try again next week, or if you built a new deb package, I could easily swap that out and test it :) Either way I should be able to get to testing this next week. ---------------------------------------------------------------------- Comment By: Michael Roitzsch (mroi) Date: 2005-03-18 13:17 Message: Logged In: YES user_id=552060 Could you please check, if this bug is a duplicate of #1159287, which is already fixed in CVS? Michael ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-03-18 11:15 Message: Logged In: NO Also, this will continue to grow until the processes consume all vsize available... (running the player overnight resulted in this) USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 16606 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 \_ xine root 16608 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16609 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16624 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16625 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16626 0.0 5.9 3138008 61972 tty1 S< Mar17 0:00 | \_ xine root 16636 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16637 11.4 5.9 3138008 61972 tty1 S Mar17 126:33 | \_ xine root 16638 0.0 5.9 3138008 61972 tty1 S Mar17 0:54 | \_ xine root 16639 0.0 5.9 3138008 61972 tty1 S< Mar17 0:00 | \_ xine root 16640 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16641 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16642 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16643 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16646 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 16647 0.0 5.9 3138008 61972 tty1 S Mar17 0:00 | \_ xine root 18516 0.0 5.9 3138008 61972 tty1 S 11:39 0:00 | \_ xine ### VmSize: 3136760 kB VmLck: 0 kB VmRSS: 61076 kB VmData: 3100600 kB VmStk: 272 kB VmExe: 864 kB VmLib: 15976 kB ### Until the xine player froze (it actually just looked it paused, but was unresponsive) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1166167&group_id=9655 |