[Pidgin] #7519: memory leak every time a sound is played

Pidgin trac at pidgin.im
Thu Dec 4 01:07:08 EST 2008


#7519: memory leak every time a sound is played
--------------------+-------------------------------------------------------
 Reporter:  waschk  |        Owner:  lschiere    
     Type:  defect  |       Status:  closed      
Milestone:          |    Component:  unclassified
  Version:  2.5.2   |   Resolution:              
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by bkc):

 I believe this ticket should be re-opened. I have ubuntu 8.10 and pidgin
 2.5.2, when sound method is set to automatic, every sound event consumes
 an additional 10m virtual memory.

 setting the sound method to "alsa" stops this from happening.

 pulseaudio is not running on my machine (not started by my x-session and
 not running system-wide). That's about the limit to my knowledge. I posted
 this note in the ubuntu forum just now
 at https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/200392

 ====

 I am seeing the same memory problem with 8.10

 {{{
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ COMMAND
 21084 bkc       20   0 2995m  64m  23m S    0  0.8   0:29.14 gaim
 }}}

 in my case, there isn't any process with 'pulse' in it, and audacious
 fails to run w/ pulse output (but works with alsa)

 I just upgraded from 7.04 to 8.10 over the weekend, so still working out
 the bugs..

 Now I have killed and restarted it (as pidgin). Here's something
 interesting.

 go to preferences, sounds. Change 'method' to "ALSA" and then click the
 preview button a bunch of times, watch top report.. memory usage doesn't
 change too much.

 Now change "method" to "automatic". Every time I click preview, top shows
 a 10megabyte increase in VIRT for pidgin.

 change method back to "alsa" and click preview a few more times, memory
 does not increase.

 meanwhile pulse doesn't seem to be running (I guess).  syslog shows this:

 ec  2 22:51:12 fire pulseaudio[19617]: ltdl-bind-now.c: Failed to find
 original dlopen loader.
 Dec  2 22:51:12 fire pulseaudio[19617]: pid.c: Stale PID file,
 overwriting.
 Dec  2 22:51:12 fire pulseaudio[19617]: main.c: setrlimit(RLIMIT_NICE,
 (31, 31)) failed: Operation not permitted
 Dec  2 22:51:12 fire pulseaudio[19617]: main.c: setrlimit(RLIMIT_RTPRIO,
 (9, 9)) failed: Operation not permitted


 tried /etc/init.d/pulseaudio start, that failed, but after reading the
 notes, as the logged in user I tried:

 fire:/vmware/Phoenix> pulseaudio --daemonize
 W: ltdl-bind-now.c: Failed to find original dlopen loader.

 anyway, for pidgin I'll stick to alsa for now.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7519#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list