LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-26-2013, 06:39 PM   #1
masavini
Member
 
Registered: Jun 2008
Posts: 193

Rep: Reputation: 6
running 2 skype instances on ubuntu 13.04 64bit (one gets blocked)...


hi,

i run skype 4.2 on ubuntu 13.04 with 2 accounts.
they're launched with this commands:
Code:
echo user1 pwd1 | LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype --pipelogin --dbpath=~/.Skype1 &

echo user2 pwd2 | LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype --secondary --pipelogin --dbpath=~/.Skype2 &
the 2 instances run fine for some time (usually a few hours), but then one of them crashes and i have to kill it with:
Code:
killall -s SIGKILL skype
a "plain" killall skype won't be enough...

i tried and start both of them with --secondary option, but the problem still occurs.
i tried and launch them from command line to see if some errore message appears, but it does not...

i noticed that i usually find a crashed instance when i come back after a few hours vacation... please mind my system is set to never sleep or hibernate...

and i also noticed that the crashed instance usually has the "away" icon, while both my skype instances are set to never show me as away...

pid 4097 is blocked right now:
Code:
$ ps aux | grep -E "skype|START" | grep -v "grep"
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
teo       4097  1.5  1.7 549024 138720 ?       Sl   Oct26  13:11 skype --pipelogin --dbpath=~/.Skype1
teo       4849  2.3  1.7 550324 138668 ?       Sl   Oct26  20:35 skype --secondary --pipelogin --dbpath=~/.Skype2
the only weird thing i can say about the output above is that both the instances were launched about at the same time, at 13:11...

so the "survived" instance (4849) has wrong start time. the blocked instance has the proper one...

any hint on how to debug this?

Last edited by masavini; 10-27-2013 at 11:10 AM.
 
Old 10-27-2013, 02:42 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 711

Rep: Reputation: 80
Hi


I think that everybody here will be clueless without some more informations.
Maybe you can keep an eye on
1) what gets written to /var/log/messages (or wherever your "dmesg" output is written) and
2) start the two instances using two separate active terminals which might then show interesting stuff when one of the instance fails like failure messages or something similar?


Cheers
 
Old 10-27-2013, 04:13 PM   #3
masavini
Member
 
Registered: Jun 2008
Posts: 193

Original Poster
Rep: Reputation: 6
ok, thanks... i'll try and post more details... thanks!
 
Old 10-28-2013, 06:41 AM   #4
masavini
Member
 
Registered: Jun 2008
Posts: 193

Original Poster
Rep: Reputation: 6
interesting:

Code:
$ echo usr pwd | skype --secondary --pipelogin --dbpath=~/.Skype
Gtk-Message: Failed to load module "overlay-scrollbar"
`menu_proxy_module_load': skype: undefined symbol: menu_proxy_module_load

(skype:6964): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': skype: undefined symbol: menu_proxy_module_load

(skype:6964): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': skype: undefined symbol: menu_proxy_module_load

(skype:6964): Gtk-WARNING **: Failed to load type module: (null)

`menu_proxy_module_load': skype: undefined symbol: menu_proxy_module_load

(skype:6964): Gtk-WARNING **: Failed to load type module: (null)

*** Error in `skype': malloc(): memory corruption (fast): 0xf99d949a ***
i guess skype got blocked when the last line appeared...
 
Old 10-28-2013, 01:50 PM   #5
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 711

Rep: Reputation: 80
So maybe you upgraded your GTK-libraries and they do not provide anymore the functionality needed by Skype?
 
Old 10-29-2013, 03:48 PM   #6
masavini
Member
 
Registered: Jun 2008
Posts: 193

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Pearlseattle View Post
So maybe you upgraded your GTK-libraries and they do not provide anymore the functionality needed by Skype?
i don't really know... how can i check this?
 
Old 10-29-2013, 04:58 PM   #7
Pearlseattle
Member
 
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 711

Rep: Reputation: 80
By searching for the first error => google for "Gtk-Message: Failed to load module "overlay-scrollbar""

Have a look at this - there are a few workarounds mentioned:
https://bugs.launchpad.net/ubuntu/+s...r/+bug/1134202

Cheers
 
Old 11-04-2013, 05:39 PM   #8
masavini
Member
 
Registered: Jun 2008
Posts: 193

Original Poster
Rep: Reputation: 6
i gave up...
turned out with this code: it simply restarts skype as the log shows it's blocked:
Code:
cd /tmp

while :;do
	echo user pwd | skype --secondary --pipelogin --dbpath=~/.Skype &>skypelog &
	
	sleep 60
	
	while [[ -z $(grep "memory corruption" skypelog) ]]; do
		sleep 120
	done
	
	zenity --question --title="skype is blocked..." --text="kill and relaunch skype?"
	if (( $? < 1 )); then
		killall -s SIGKILL skype
	fi
	
done
thanks for your help...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Microphone blocked in skype when a music program is running usr345 Linux - Hardware 5 10-25-2013 03:08 PM
Skype 4.2.0.11 Crashes on Ubuntu 12.04 LTS 64bit During Video Call After Receiving IM rudrarajstays Linux - Software 1 06-09-2013 01:58 AM
Skype 4.0 on Slackware 13.37 64bit sparkeyjames Slackware 51 09-10-2012 02:35 AM
Running 32bit Geekbench on 64bit Ubuntu 12.04 machine jimieee Linux - Software 1 07-11-2012 03:40 AM
Skype running on Ubuntu 11.10 DrDwayne Linux - Software 2 12-26-2011 03:48 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration