Bug#314411: closed by Reinhard Tartler [EMAIL PROTECTED] (Re: Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed)
reassign 314411 libxine1-console,xine-ui forwarded 314411 http://bugs.xine-project.org/show_bug.cgi?id=11 stop Andrew Moise [EMAIL PROTECTED] writes: Will you stop closing this bug without asking me if it's fixed, please? I was under the assumption that this was a transient problem with the aalib interaction. You have convinced me that this could indeed be a race condition. I have now forwarded your bug upstream, since Diego has just now installed a shiny new bugzilla. Sorry for the inconvenience -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#314411: closed by Reinhard Tartler [EMAIL PROTECTED] (Re: Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed)
On 12/30/07, Reinhard Tartler [EMAIL PROTECTED] wrote: I have now forwarded your bug upstream, since Diego has just now installed a shiny new bugzilla. Excellent, thanks! Sorry for the inconvenience No worries. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#314411: closed by Reinhard Tartler [EMAIL PROTECTED] (Re: Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed)
reopen 314411 thanks On 12/29/07, Debian Bug Tracking System [EMAIL PROTECTED] wrote: This is an automatic notification regarding your Bug report which was filed against the xine-ui package: #314411: xine-ui: aaxine with sound crashes when maximized It has been closed by Reinhard Tartler [EMAIL PROTECTED]. Will you stop closing this bug without asking me if it's fixed, please? I can still reproduce this. It's intermittent whether it happens the first time I maximize the window or the first time I restore the maximized window to an unmaximized state after that, but it happened in one of those situations 5 times out of my 5 tests. Running valgrind on aaxine gives me this: AFD changed from -2 to -1 ==16382== ==16382== Invalid free() / delete / delete[] ==16382==at 0x402465C: free (vg_replace_malloc.c:323) ==16382==by 0x4090202: X_flush (aax.c:350) ==16382==by 0x4091A23: __aa_X_getsize (aax.c:290) ==16382==by 0x4091DC4: X_getchar (aaxkbd.c:86) ==16382==by 0x4094672: aa_getevent (aain.c:57) ==16382==by 0x804A3A2: aaxine_get_key_event (in /usr/bin/aaxine) ==16382==by 0x804AE61: main (in /usr/bin/aaxine) ==16382== Address 0x9cac318 is 0 bytes inside a block of size 204,800 free'd ==16382==at 0x402465C: free (vg_replace_malloc.c:323) ==16382==by 0x4090202: X_flush (aax.c:350) ==16382==by 0x4093729: aa_flush (aaflush.c:71) ==16382==by 0x4B1FB34: aa_display_frame (video_out_aa.c:231) ==16382== ==16382== Attach to debugger ? --- [Return/N/n/Y/y/C/c] It looks to me like this happens because X_flush() is ultimately being called from multiple threads simultaneously (main.c:582's call to aa_getevent() and video_out_aa.c:231's call to aa_flush()). Checking briefly, I didn't find anything in the aalib docs about thread safety; in the absence of assurances (and in the presence of a demonstrated problem :-) I would be inclined to say that aalib is not thread safe, and so calls to aalib functions need to be protected by a mutex. That's all speculation based on brief investigation, of course. This problem could be unrelated to the crash, or I could be wrong about the source of this problem. The theory that it's a race condition would help to explain why I can reproduce this on my system but you can't on yours, though. Cheers. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#314411: closed by Reinhard Tartler [EMAIL PROTECTED] (Re: Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed)
On 12/29/07, Andrew Moise [EMAIL PROTECTED] wrote: Will you stop closing this bug without asking me if it's fixed, please? Oh, sorry -- I see you did ask me about it a few days ago, but I was on vacation then and just got back recently. Anyway, thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed
On Mon, 24 Dec 2007 10:25:55 +0100 Reinhard Tartler [EMAIL PROTECTED] wrote: I just tried the xine-console package in a clean sid environment, and couldn't reproduce either #314411 nor #442105. % dlocate -s xine-console | grep Ver Version: 0.99.5+cvs20070914-2 % aaxine -A esd /usr/share/xine/visuals/default.avi ; echo $? This is xine (aalib ui) - a free video player v0.99.6cvs (c) 2000-2004 by G. Bartsch and the xine project team. Built with xine library 1.1.8 (1.1.8). Found xine library version: 1.1.8 (1.1.8). AFD changed from -2 to -1 AFD changed from -2 to -1 0 Now it works, as does 'cacaxine'. Maximizing 'aaxine' (#31411) works too. HTH... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed
Andrew Moise [EMAIL PROTECTED] writes: I see this problem as well (xine-ui version 0.99.5+cvs20070914-1). I just tried the xine-console package in a clean sid environment, and couldn't reproduce either #314411 nor #442105. Can you please try again? if it still hangs, please attach the output of a aaxine session running with debug (-d option). Btw, does this also happen with cacaxine? -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed
I see this problem as well (xine-ui version 0.99.5+cvs20070914-1). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#442105: xine-ui: 'aaxine' 'cacaxine': main: video driver aa failed
Package: xine-ui Version: 0.99.5-2+b1 Severity: normal 'aaxine' 'cacaxine' don't work today: % aaxine /usr/share/xine/visuals/default.avi ; echo $? This is xine (aalib ui) - a free video player v0.99.5 (c) 2000-2004 by G. Bartsch and the xine project team. Built with xine library 1.1.7 (1.1.7). Found xine library version: 1.1.8 (1.1.8). main: video driver aa failed 0 % cacaxine /usr/share/xine/visuals/default.avi ; echo $? This is xine (caca ui) - a free video player v0.99.5 (c) 2000-2004 The xine Team. Built with xine library 1.1.7 (1.1.7). Found xine library version: 1.1.8 (1.1.8). main: video driver caca failed 0 The error codes probably shouldn't be '0'. Note 'mplayer' works with the same '.avi' file, using 'aa' or 'caca': mplayer -vo caca /usr/share/xine/visuals/default.avi mplayer -vo aa /usr/share/xine/visuals/default.avi Hope this helps... -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages xine-ui depends on: ii libc6 2.6.1-2 GNU C Library: Shared libraries ii libcaca00.99.beta11.debian-3 colour ASCII art library ii libcucul0 0.99.beta11.debian-3 low-level Unicode character drawin ii libcurl3-gnutls 7.16.4-5 Multi-protocol file transfer libra ii libfontconfig1 2.4.2-1.2generic font configuration library ii libkrb531.6.dfsg.1-6 MIT Kerberos runtime libraries ii libncurses5 5.6+20070825-1 Shared libraries for terminal hand ii libpng12-0 1.2.15~beta5-2 PNG library - runtime ii libreadline55.2-3GNU readline and history libraries ii libx11-62:1.0.3-7X11 client-side library ii libxext61:1.0.3-2X11 miscellaneous extension librar ii libxft2 2.1.12-2 FreeType-based font drawing librar ii libxine11.1.8-1 the xine video/media player librar ii libxine1-ffmpeg 1.1.8-1 mpeg related plugins for libxine1 ii libxinerama11:1.0.2-1X11 Xinerama extension library ii libxtst62:1.0.3-1X11 Testing -- Resource extension ii libxv1 1:1.0.3-1X11 Video extension library ii libxxf86vm1 1:1.0.1-2X11 XFree86 video mode extension l Versions of packages xine-ui recommends: ii libaa11.4p5-32 ascii art library -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]