Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 04:36
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Lucid Puppy 5.28 X/ALSA/FLASH crash
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [48 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Sun 21 Aug 2011, 08:32    Post subject:  Lucid Puppy 5.28 X/ALSA/FLASH crash
Subject description: Major corrupting crash when viewing Flash Video
 

EDIT 2/26/12 -- SOLVED
This has been solved in my case, details in last post in thread.



So, I've been working on migrating to 5.28, but I've run across an issue. If I'm watching flash video for very long, X crashes. In 5.25, after an X crash, a simple xwin restarts it. But it refuses to restart without a reboot. Even attempting to reconfigure with xorgwizard and restarting fails if I do not reboot. After rebooting, alsa fails. Attempting to reconfigure alsa with alsawizard fails.

Code:
amixer: Mixer attach default error: Input/output error
ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3326:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: Input/output error
ALSA lib confmisc.c:674:(snd_determine_driver) could not open control for card 0
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: Input/output error
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: Input/output error
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: Input/output error
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: Input/output error
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
aplay: main:660: audio open error: Input/output error


The only way I've been able to get sound back after one of the crashes is to wipe my save file and start again.

My video/audio chipset:

Code:
0:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)


At the moment I'm thinking it's an alsa issue at the heart of this. With alsa "working" it takes less than an hour to reliably cause this crash when playing flash video. However, I've been playing flash video for almost 2 hours now with alsa broken (no sound) without an X crash.

Again, it doesn't happen this way in 5.25. When they crash while playing Flash Video, I can restart X or reboot and alsa is fine. Besides, it crashes much more rarely, several hours of flash video at a minimum.

So, did alsa change between 5.25 and 5.28? Is there any log or other useful info I could post for people who care to look at?

Tom[/i][/b]

Last edited by dio444 on Sun 26 Feb 2012, 06:22; edited 1 time in total
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1503
Location: Maine, USA

PostPosted: Sun 21 Aug 2011, 15:43    Post subject:  

dio444,
I have the same sound and video hardware in my NetVista PC, so would like to try to re-create your situation. I am somewhat responsible for sound support in 528, so would like to solve the problem, as well as investigate why the flash player crashes after an hour or more.

Could you point me to a particular video that results in a crash? My investigation may take awhile. Thanks for reporting the problem.
Richard
Back to top
View user's profile Send private message 
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Wed 24 Aug 2011, 02:37    Post subject: -  

For me it's any flash video. Mainly YouTube, but it also seems to happen with other flash based video sites. It doesn't seem to be related to a specific video. I just use lupu528 as I normally would, from a fresh savefile-less boot, install a browser, flash, weechat, then head to youtube and start watching video. Eventually (pretty reliably less than an hour later) X crashes out, resulting in needing to start again without a save file for working audio....

Currently watching video in Iron from the Quickpet installer. Most previous tests used Opera, with most of the remaining being in FireFox. We'll see if I can find any reason to think this a browser related issue, but considering how different Opera and FireFox are, It seems unlikely that Iron will behave differently.

On a side note... Maybe it's some hardware related issue? Some bad memory locations? I'll have to whip out a low level memory test soon to eliminate that possibility.

Tom
Back to top
View user's profile Send private message 
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Wed 24 Aug 2011, 06:31    Post subject: -  

OK, this is getting more interesting: I've been watching flash video in Iron for the whole night, no crashes. The only thing I can think of that's different: I'm running without save file at all. Fresh boot, pfix=ram. Install Iron, Flash, Weechat. Watch YouTube all night, no crash. So apparently the save file itself might be involved in what's going on. Next thing to test: Making a save file with this setup, rebooting, and see if it still crashes. If it does not, next thing is to go back to the exact setup where crashes were happening: Where the save file exists, and 4 sfs files are being loaded (devx, java, wine, libreoffice). If that finally reproduces the crashing, I'll have a totally new direction to be looking at: sfs file loading OR corrupt sfs files.

Tom
Back to top
View user's profile Send private message 
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Wed 24 Aug 2011, 07:48    Post subject: -  

OK, Completed 2 different forms of RAM testing (including 3 full MemTest86+ passes), all tests passed. So, bad RAM is unlikely.

Now, with more than 6 hours uninterrupted flash video from a pfix=ram boot, I'm really leaning towards a bad sfs file. Going to do some more testing on that next.

Tom
Back to top
View user's profile Send private message 
xdarkknight

Joined: 22 Aug 2011
Posts: 6

PostPosted: Wed 24 Aug 2011, 08:24    Post subject: Bzar - Lucid Puppy 5.28 X/ALSA/FLASH crash
Subject description: Just happened to me last night
 

Here's my post on the subject:
http://www.murga-linux.com/puppy/viewtopic.php?t=71045

I'm still so new to Linux (and going BACK to command prompts is nigh on impossible. gotta get the command list at some point!) that I don't know where you'd want me to copy from if you asked for the correct code associated. so if you want more info off me, you'll have to Private Message me to tell me how/where to go to get it.

Thanks for the Help guys!
xDK
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1503
Location: Maine, USA

PostPosted: Wed 24 Aug 2011, 09:32    Post subject:  

dio444,
Thank you for making all of those test runs. They confirm my suspicion that the flash player generates endless output that goes somewhere into the pupsave file, filling it up. My task, then, is to take control of the excessive output. I expect to work on this in a few days. Thanks for pursuing this issue.
Richard
Back to top
View user's profile Send private message 
xdarkknight

Joined: 22 Aug 2011
Posts: 6

PostPosted: Wed 24 Aug 2011, 09:43    Post subject:
Subject description: Flash filling up lupusave file?! makes sense
 

well that makes sense. Last night, I watched an hour and a half of Flash video online and at the end of the night, it said I had a full save file 700+MB of space. it was at about 200 yesterday morning, so it's weird that it bogged down in less than 24 hours.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 24 Aug 2011, 15:12    Post subject:  

You can look for how that thing grows by itself by going into
File open File by clicking on the icon on the desktop.
or going rtrhough menu and Rox.

Then click on the "Eye" that allow you to see hidden files.
Look for .macromedia but also .mozilla and Firefox and Cache and see how that one fills up too.

So there are two files that fills up when one play Flash.

The Chache of the browser one use so Iron has it's own such directory and Opera has their own and Chromium their own one and so on.

Then you have the Macromedia for Flash that also have a directory with lot of files getting created that log what you look at and you can change and edit settings at the Adobe site for Flash.

So there is much to look into Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Thu 25 Aug 2011, 03:47    Post subject:  

A tale of two boots:

1)
a) Boot clean LuPu528
b) Install weechat
c) Install a browser (Iron/Chromium/FireFox/Opera)
d) Install flash
e) Watch flash video (YouTube) and play flash games for hours without issue....

2)
a) Boot clean LuPu528
b) Install weechat
c) Install a browser (Iron/Chromium/Firefox/Opera)
d) Install flash
e) Reboot, creating savefile
f) Watch flash video-described crash inevitable.


Conclusion: Whatever's going wrong, it's related to the savefile....

Tom
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 25 Aug 2011, 06:45    Post subject:  

Yes that is what member rerwin in his post above promised to do but it will take the time needed. No simple thing such so all of us is in same boat. We have to practice patience.

But if one have 1GB memory one usually never hit that limit at least I have not and I am using the computer from early morning to late night continuesly Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3578
Location: World_Hub

PostPosted: Thu 25 Aug 2011, 22:23    Post subject:  

Similar issue, near identical hw:

Code:
amixer
ALSA lib conf.c:1016:(parse_value) card is not a string
ALSA lib conf.c:1685:(snd_config_load1) _toplevel_:2:20:Invalid argument
ALSA lib conf.c:3467:(snd_config_hook_load) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3326:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3713:(snd_config_update_r) hooks failed, removing configuration
amixer: Mixer attach default error: Invalid argument

Code:
00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 03)
00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5] (rev 02)


I see it's right popular:

http://www.murga-linux.com/puppy/viewtopic.php?t=71045

http://www.murga-linux.com/puppy/viewtopic.php?t=70927

Like the previous, I'm also running a usb install with the save file placed inside the partition. Figuring a possible ext2 corruption issue, I reloaded and chose to create a 3fs save file. Yes, saved to usb. YouTube video worked both prior to and after save file creation - yes, followed by a reboot. From here I decided I'd cold drop the system while watching a video. Low and behold, after a quick fs check, Pup picked up right where she left off.

EDIT: After last nights clean shutdown and this mornings fresh boot - NO SOUND. Flash version: 10,3,183,7

At this point, rerwins comment has my ears ringing.
Back to top
View user's profile Send private message 
dio444

Joined: 20 Nov 2008
Posts: 33

PostPosted: Fri 26 Aug 2011, 07:20    Post subject: SFS!  

OK, update:

1) I'm certain it's NOT about flooding the pupsave. I checked after a crash, and the pupsave was still mostly empty.

2) It's NOT that simply having a pupsave is the problem as described in the previous post. I've been watching flash video for 6+ hours without issue, and I have a pupsave.

I haven't gotten the exact sfs file worked out, or if it's just about sfs loading, but the underlying issue appears to be sfs files. The unwritten step that's the actual problem? Every time I made a pupsave, I was automatically loading 4 sfs files right after, without thinking about it really. devx, wine, java, libreoffice. If I load those sfs files with the pupsave, the crash happens. If I don't, no issues.

So, next step is to try adding them back in one at a time until I tag the offending sfs file.

Tom
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3578
Location: World_Hub

PostPosted: Fri 26 Aug 2011, 17:58    Post subject:  

Hi dio444,

Your save file.. located on usb or hd partition?

Your Puppy Event Manager save interval?
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sat 27 Aug 2011, 00:58    Post subject: Re: SFS!  

dio444 wrote:
OK, update:

1) I'm certain it's NOT about flooding the pupsave. I checked after a crash, and the pupsave was still mostly empty.

2) It's NOT that simply having a pupsave is the problem as described in the previous post. I've been watching flash video for 6+ hours without issue, and I have a pupsave.

I haven't gotten the exact sfs file worked out, or if it's just about sfs loading, but the underlying issue appears to be sfs files. The unwritten step that's the actual problem? Every time I made a pupsave, I was automatically loading 4 sfs files right after, without thinking about it really. devx, wine, java, libreoffice. If I load those sfs files with the pupsave, the crash happens. If I don't, no issues.

So, next step is to try adding them back in one at a time until I tag the offending sfs file.

Tom



wiki:
"LibreOffice 3.4 changes:Linux fontconfig leak: Fixed a font-related leak, saving up to 800k or so of RAM, depending on the amount of fonts installed (Caolán McNamara, Red Hat, Inc.)"
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [48 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1225s ][ Queries: 13 (0.0315s) ][ GZIP on ]