Bugs item #1610798, was opened at 2006-12-07 13:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1610798&group_id=46652
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jeroen Ost (zerathul) Assigned to: Nobody/Anonymous (nobody) Summary: Hang during startup Initial Comment: I've been a long time freevo user, and recently upgraded to 1.6.1. The autoshutdown in combination with nvram-wakeup is an amazing feature. However, a bug which has been bugging me for many releases is still present: sometimes freevo hangs at startup on the "Starting freevo, please wait" screen with the progress indicator around 80-85%. As the system is now powering itself up to record a scheduled recording, this is more anoying than before (I could simply restart freevo in the past, but now the recording nor the shutdown after that doesn't happen). I have development experience in other programming languages and something that "sometimes happens but not always" is typically a threading issue. The keyboard attached to the machine seems stalled (numlock doesn't toggle the light, ctl-alt-f1 doesn't give me a console) but I can login over SSH and diagnose. I have no idea how to debug python code... I have included some info that might be usefull. Hope a developer can have a look at this ? It's not very reproducible. I have set CHILDAPP_DEBUG to 1 now, to get more info next time, is there anything else I can try or should do to get more debug info ? Some info netstat -antp: gives amongst others tcp 0 0 0.0.0.0:18001 0.0.0.0:* LISTEN 2082/python I see three python threads from pstree -p --python(2042)---python(2072)---python(2198) cat /proc/2042/cmdline show's it's "python /usr/local/freevo/freevo" cat /proc/2072/cmdline shows it's "python /usr/local/freevo/src/main.py" cat /proc/2198/cmdline shows it's "python /usr/local/freevo/src/main.py" [EMAIL PROTECTED] root]# strace -p 2198 Process 2198 attached - interrupt to quit futex(0x804a670, FUTEX_WAIT, 0, NULL it simply hangs there waiting for "something" ?! [EMAIL PROTECTED] root]# ls -l /proc/2072/fd total 28 lr-x------ 1 root root 64 Dec 6 21:31 0 -> /dev/null l-wx------ 1 root root 64 Dec 6 21:31 1 -> /var/log/freevo/main.log lrwx------ 1 root root 64 Dec 6 21:31 10 -> /dev/input/mice lr-x------ 1 root root 64 Dec 6 21:31 11 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 12 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 13 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 14 -> /usr/local/freevo-1.6.1/share/fonts/VeraBI.ttf lr-x------ 1 root root 64 Dec 6 21:31 15 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 16 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 17 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 18 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 19 -> /usr/local/freevo-1.6.1/share/fonts/Vera.ttf l-wx------ 1 root root 64 Dec 6 21:31 2 -> /var/log/freevo/main.log lr-x------ 1 root root 64 Dec 6 21:31 20 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 21 -> /usr/local/freevo-1.6.1/share/fonts/VeraBd.ttf lr-x------ 1 root root 64 Dec 6 21:31 22 -> /usr/local/freevo-1.6.1/share/fonts/Vera.ttf lr-x------ 1 root root 64 Dec 6 21:31 23 -> /usr/local/freevo-1.6.1/share/fonts/Vera.ttf lr-x------ 1 root root 64 Dec 6 21:31 24 -> /usr/local/freevo-1.6.1/share/fonts/VeraMono.ttf lr-x------ 1 root root 64 Dec 6 21:31 25 -> /usr/local/freevo-1.6.1/share/fonts/Vera.ttf l-wx------ 1 root root 64 Dec 6 21:31 26 -> pipe:[3531] lr-x------ 1 root root 64 Dec 6 21:31 27 -> pipe:[3532] lr-x------ 1 root root 64 Dec 6 21:31 29 -> pipe:[3533] lr-x------ 1 root root 64 Dec 6 21:31 3 -> /dev/mixer0 l-wx------ 1 root root 64 Dec 6 21:31 4 -> /var/log/freevo/main-0.log l-wx------ 1 root root 64 Dec 6 21:31 5 -> /var/log/freevo/main-0.log lrwx------ 1 root root 64 Dec 6 21:31 7 -> socket:[3139] lrwx------ 1 root root 64 Dec 6 21:31 8 -> /dev/fb0 lrwx------ 1 root root 64 Dec 6 21:31 9 -> /dev/vc/7 [EMAIL PROTECTED] root]# ls -l /proc/2198/fd total 3 lr-x------ 1 root root 64 Dec 6 21:31 0 -> pipe:[3531] l-wx------ 1 root root 64 Dec 6 21:31 1 -> pipe:[3532] l-wx------ 1 root root 64 Dec 6 21:31 2 -> pipe:[3533] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1610798&group_id=46652 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
