HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Bug Reports


Reply
 
Thread Tools
Old May 10, 2003, 12:20 PM   #1
DriverHeaven Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
dyayvyd is on a distinguished road

Memory Leak in KXMixer?

Hello,
After my machine has been up for around 2 hours I start to experience problems with my internet connection dying and applications failing to start. Windows event log contains the following error: Source:srv "The server was unable to allocate from the system nonpaged pool because the pool was empty.". Restarting windows, sometimes it's neccesary to hit reset, seems to fix the problem so I've been assuming that it's a windows bug. I've just discovered that if I quit kxmixer everything goes back to normal so it would appear to be the culprit. This has been going on for arond the last three or four releases. It's a minor problem now I know how to work round it but I figure the developers would like to know. Thanks for the brilliant drivers.


----------------------------------------------------
Current skin: Aqua Skin
Skin Author: Eugene Gavrilov
----Hardware / Software configuration---------------
Driver Name:kX Audio Driver (Debug)
Driver Date: Apr 30 2003 02:33:10
Driver Version: 5.10.00.3532 - debug
DB Name:LiveBay1
CT4760 10k1 [d400]
PCI Information:
Device: 21102 Subsys: 80401102 ChipRev: 7
Card has MPU device
Card HAS AC97 codec
Codec name: SigmaTel STAC9721/23
3D Extension: SigmaTel 3D Enhancement
Codec is 2.0 compliant
Capabilities[6940] :
DAC resolutions : -16-bit- -18-bit-
ADC resolutions : -16-bit- -18-bit-
Ext Capabilities [200]: -slot/DAC mappings-
Port: d400 Irq: 16
Playback buffer: 20a0
Record buffer: 4000
Number of AC3 buffers: 4
Tank memory: 256 kb
OS version: [2 5 1 Service Pack 1; 2 5 1 Service Pack 1; 156 148]
----------------------------------------------------
dyayvyd is offline   Reply With Quote


Old May 11, 2003, 01:25 AM   #2
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

hmm
that's strange - the mixer doesn't allocate any nonpaged memory
(and doesn't call kernel-level driver functions to allocate any memory)

>> when I quit kxmixer

does it mean that quitting kxmixer frees some non-paged pool memory?
(that is, you are experiencing problems, then re-start the mixer and the usual system behaviour restores?)

could you please verify that by running TaskManager (it should display memory usage statistics)

does this issue depend on whether you use audio or not?

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old May 11, 2003, 06:25 PM Threadstarter Thread Starter   #3
DriverHeaven Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
dyayvyd is on a distinguished road

Thanks for replying.

I've just ran kxmixer for 3 hours and the same thing happened. Nothing stood out on task manager... IANAP but I'm looking at all the statistics for memory usage and they stayed roughly the same for the whole 3 hours or so even after the problem manisfests. Non-paged pool varies between 41 and 44k, memory and peak memory both 9,956, VM size 6,612, paged pool 37k... no other processs had anything exsessive. Is there anything else I should be looking at? It's just occured to me that perhaps I should maybe be looking at the totals on the performance tab...? I'll try to reproduce the bug again and make a note.

I'm seeing this bug every 3-4 hours whether I use audio or not, quitting kxmixer instantly fixes it and restarting kxmixer gives me another 3-4 hours.. I've verified this 3 times now.
dyayvyd is offline   Reply With Quote
Old May 11, 2003, 08:46 PM   #4
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

pls download and install monitor (kxdev.narod.ru) and check if it prints any useful information

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old May 12, 2003, 08:08 PM Threadstarter Thread Starter   #5
DriverHeaven Newbie
 
Join Date: Jan 2003
Posts: 3
Rep Power: 0
dyayvyd is on a distinguished road

OK, I'm seeing a continuous "Kx SPDIF Irq" message. I've discovered that if I reset the mixer settings the message stops and everything's been fine for 12 hours, so this must be the problem. Maybe I've done something silly with the settings or the DSP but I can't see anything different. This has also solved a problem I was having with logic recieving random bursts of sysex messages so I'm quite pleased to have found a solution... So I'm not sure if this is a bug or just the result of me tinkering around with things I don't fully understand.
dyayvyd is offline   Reply With Quote
Reply

Thread Tools