[jitsi-dev] Deadlock in r5350


#1

Hello,

I just found Jitsi frozen after I opened my laptop. The UI is unresponsive, and the AWT EventQueue thread appears to be in a deadlock (full stack trace attached). That's running version 5350 on macos 10.9, with the bundled jre 1.8.

I saw the same thing yesterday, but I have never seen it before, which makes me thing that it is a relatively new feature. Has anyone seen something like this? Unless there is for some weird reason limited to my machine, I think we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know if there's a fix and I missed it.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris

jitsi-deadlock (63.4 KB)


#2

I just found Jitsi frozen after I opened my laptop. The UI is
unresponsive, and the AWT EventQueue thread appears to be in a deadlock
(full stack trace attached). That's running version 5350 on macos 10.9,
with the bundled jre 1.8.

I saw the same thing yesterday, but I have never seen it before, which
makes me thing that it is a relatively new feature. Has anyone seen
something like this?

Yes, saw exactly the same thing. The freeze occurred after right-clicking on a contact and renaming it.

Unless there is for some weird reason limited to my
machine, I think we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know
if there's a fix and I missed it.

I think Damencho fixed this in c32e166abf21ff6f8fc89fd7dadb59f0cdb054e9, but these build aren't really available yet.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris

Ingo


#3

How do I run jitsi with jre 1.8?

If I download 5350 and install it still asks for apple java 1.6 when being opened.

···

Am 28.11.2014 um 17:50 schrieb Boris Grozev <boris@jitsi.org>:

Hello,

I just found Jitsi frozen after I opened my laptop. The UI is unresponsive, and the AWT EventQueue thread appears to be in a deadlock (full stack trace attached). That's running version 5350 on macos 10.9, with the bundled jre 1.8.

I saw the same thing yesterday, but I have never seen it before, which makes me thing that it is a relatively new feature. Has anyone seen something like this? Unless there is for some weird reason limited to my machine, I think we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know if there's a fix and I missed it.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris
<jitsi-deadlock.txt>_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

same here, nb5350 on MacOS 10.8.5

PGP.sig (489 Bytes)

···

On 11/28/14 10:20 PM, Boris Grozev wrote:

Hello,

I just found Jitsi frozen after I opened my laptop. The UI is
unresponsive, and the AWT EventQueue thread appears to be in a
deadlock (full stack trace attached). That's running version 5350 on
macos 10.9, with the bundled jre 1.8.

I saw the same thing yesterday, but I have never seen it before, which
makes me thing that it is a relatively new feature. Has anyone seen
something like this? Unless there is for some weird reason limited to
my machine, I think we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me
know if there's a fix and I missed it.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

D'oh! Missed that one, sorry for the noise.

Boris

···

On 28/11/14 19:57, Ingo Bauersachs wrote:

I just found Jitsi frozen after I opened my laptop. The UI is
unresponsive, and the AWT EventQueue thread appears to be in a deadlock
(full stack trace attached). That's running version 5350 on macos 10.9,
with the bundled jre 1.8.

I saw the same thing yesterday, but I have never seen it before, which
makes me thing that it is a relatively new feature. Has anyone seen
something like this?

Yes, saw exactly the same thing. The freeze occurred after right-clicking on a contact and renaming it.

Unless there is for some weird reason limited to my
machine, I think we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know
if there's a fix and I missed it.

I think Damencho fixed this in c32e166abf21ff6f8fc89fd7dadb59f0cdb054e9, but these build aren't really available yet.


#6

What is your OS version? Build 5350 includes embedded java8 and if it fails
to load it, search for installed java7 or higher and tries to load those
and if it again fails it fallbacks to the old launcher.

···

On Nov 29, 2014 10:58 AM, "foss" <foss@openmailbox.org> wrote:

How do I run jitsi with jre 1.8?

If I download 5350 and install it still asks for apple java 1.6 when being
opened.

> Am 28.11.2014 um 17:50 schrieb Boris Grozev <boris@jitsi.org>:
>
> Hello,
>
> I just found Jitsi frozen after I opened my laptop. The UI is
unresponsive, and the AWT EventQueue thread appears to be in a deadlock
(full stack trace attached). That's running version 5350 on macos 10.9,
with the bundled jre 1.8.
>
> I saw the same thing yesterday, but I have never seen it before, which
makes me thing that it is a relatively new feature. Has anyone seen
something like this? Unless there is for some weird reason limited to my
machine, I think we should fix it before pushing the new stable.
>
> I don't see anything related in the commits after 5350, but let me know
if there's a fix and I missed it.
>
> Otherwise...any idea of what's the cause and how to fix it? :wink:
>
>
> Regards,
> Boris
> <jitsi-deadlock.txt>_______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#7

Hey foss and Mr.Smith,

Strange I'm also running 10.8.5, and Jitsi starts without problem
using the embedded jre8.
To help debugging the problem can you send me the output of the
following commands:
$ ls /Applications/Jitsi.app/Contents/PlugIns/
$ ls Library/Java/JavaVirtualMachines
$ ls /Library/Java/JavaVirtualMachines
$ ls /System/Library/Java/JavaVirtualMachines
$ cat /Library/Internet\
Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1
CFBundleVersion

Also if there is some output after starting Jitsi from the terminal
(ignore if there is something about log4j). Start it with command:
$ /Applications/Jitsi.app/Contents/MacOS/Jitsi

Thanks
damencho

···

On Sat, Nov 29, 2014 at 1:49 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

same here, nb5350 on MacOS 10.8.5

On 11/28/14 10:20 PM, Boris Grozev wrote:

Hello,

I just found Jitsi frozen after I opened my laptop. The UI is unresponsive,
and the AWT EventQueue thread appears to be in a deadlock (full stack trace
attached). That's running version 5350 on macos 10.9, with the bundled jre
1.8.

I saw the same thing yesterday, but I have never seen it before, which makes
me thing that it is a relatively new feature. Has anyone seen something like
this? Unless there is for some weird reason limited to my machine, I think
we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know if
there's a fix and I missed it.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8

Hi Damian,

OSX 10.10.1
Jitsi 5350

ls /Applications/Jitsi.app/Contents/PlugIns/
jdk1.8.0_25.jdk

ls Library/Java/JavaVirtualMachines
ls: Library/Java/JavaVirtualMachines: No such file or directory

ls /Library/Java/JavaVirtualMachines -> nothing is displayed

ls /System/Library/Java/JavaVirtualMachines
ls: /System/Library/Java/JavaVirtualMachines: No such file or directory

cat /Library/Internet\

Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1

cat: /Library/InternetPlug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist: No such file or directory
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
  [-e pattern] [-f file] [--binary-files=value] [--color=when]
  [--context[=num]] [--directories=action] [--label] [--line-buffered]
  [--null] [pattern] [file ...]
CFBundleVersion
-bash: CFBundleVersion: command not found

Jitsi does not start when opened via Icon.

When opened via Terminal, it does indeed open without showing the Java 1.6 message.

There’s quite a few messages in console.app. Do you need anything specific?

Have a great weekend, and thanks so much for finally tackling newer java on OSX.


#9

Hi,

···

On Sat, Nov 29, 2014 at 6:09 PM, foss <foss@openmailbox.org> wrote:

There’s quite a few messages in console.app. Do you need anything specific?

Well, I need any message (if any) from the output when starting Jitsi
in the Terminal.

Thanks
damencho


#10

Hi Damian, hope this helps (I am not so advanced in terminal) :

user-MacBook-Pro:~ user$ ls /System/Library/Java/JavaVirtualMachines
1.6.0.jdk
user-MacBook-Pro:~ user$ cat /Library/Internet\

Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1

usage: grep [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
    [-e pattern] [-f file] [--binary-files=value] [--color=when]
    [--context[=num]] [--directories=action] [--label] [--line-buffered]
    [--null] [pattern] [file ...]
cat:
/Library/InternetPlug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist:
No such file or directory
user-MacBook-Pro:~ user$ CFBundleVersion
- -bash: CFBundleVersion: command not found
user-MacBook-Pro:~ user$ cat /Library/Internet\

Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1

cat:
/Library/InternetPlug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist:
No such file or directory
usage: grep [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
    [-e pattern] [-f file] [--binary-files=value] [--color=when]
    [--context[=num]] [--directories=action] [--label] [--line-buffered]
    [--null] [pattern] [file ...]
user-MacBook-Pro:~ user$
Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1
CFBundleVersion
- -bash: Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist: No such
file or directory
user-MacBook-Pro:~ user$

···

On 11/29/14 7:15 PM, Damian Minkov wrote:

Hey foss and Mr.Smith,

Strange I'm also running 10.8.5, and Jitsi starts without problem
using the embedded jre8.
To help debugging the problem can you send me the output of the
following commands:
$ ls /Applications/Jitsi.app/Contents/PlugIns/
$ ls Library/Java/JavaVirtualMachines
$ ls /Library/Java/JavaVirtualMachines
$ ls /System/Library/Java/JavaVirtualMachines
$ cat /Library/Internet\
Plug-Ins/JavaAppletPlugin.plugin/Contents/Info.plist | grep -A 1
CFBundleVersion

Also if there is some output after starting Jitsi from the terminal
(ignore if there is something about log4j). Start it with command:
$ /Applications/Jitsi.app/Contents/MacOS/Jitsi

Thanks
damencho

On Sat, Nov 29, 2014 at 1:49 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

same here, nb5350 on MacOS 10.8.5

On 11/28/14 10:20 PM, Boris Grozev wrote:

Hello,

I just found Jitsi frozen after I opened my laptop. The UI is unresponsive,
and the AWT EventQueue thread appears to be in a deadlock (full stack trace
attached). That's running version 5350 on macos 10.9, with the bundled jre
1.8.

I saw the same thing yesterday, but I have never seen it before, which makes
me thing that it is a relatively new feature. Has anyone seen something like
this? Unless there is for some weird reason limited to my machine, I think
we should fix it before pushing the new stable.

I don't see anything related in the commits after 5350, but let me know if
there's a fix and I missed it.

Otherwise...any idea of what's the cause and how to fix it? :wink:

Regards,
Boris

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#11

How do I run jitsi with jre 1.8?

If I download 5350 and install it still asks for apple java 1.6 when
being opened.

5358 should now work out of the box without having Java 6 on the system.

Ingo


#12

Hey Mr.Smith,

I had offline and IRC talk with foss and he explained to me the
situation that he sees, I was just wondering is this the same on your
side:
So he has java8 installed and he has removed java6. Jitsi cannot start
from the Icon, just shows java6 download/install dialog. But it starts
ok from terminal, obviously using java8 (the embedded one).
If it starts from Terminal, you can check which java is used by
opening new terminal window/tab and executing the command:
cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 | grep "java.home"

The result should be something like:
.......ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre

Could you please confirm/check?

Thanks
damencho

···

On Sat, Nov 29, 2014 at 6:33 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

On Sat, Nov 29, 2014 at 6:09 PM, foss <foss@openmailbox.org> wrote:

There’s quite a few messages in console.app. Do you need anything specific?

Well, I need any message (if any) from the output when starting Jitsi
in the Terminal.

Thanks
damencho


#13

Ingo, thanks so much for working on this!

As I’ve read you don’t really like OS X. Nonetheless jitsi is on OS X and quite a few users are on that platform as well. As such, I’d like to thank you.

Now I can finally ditch java 1.6 and move to 1.8.

Been waiting a very long time for this day.

Great St. Nicholas present :smiley:

···

Am 06.12.2014 um 16:55 schrieb Ingo Bauersachs <ingo@jitsi.org>:

How do I run jitsi with jre 1.8?

If I download 5350 and install it still asks for apple java 1.6 when
being opened.

5358 should now work out of the box without having Java 6 on the system.

Ingo

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#14

here is my output:

Last login: Sun Nov 30 15:34:47 on ttys000
user-MacBook-Pro:~ user$ cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 |
grep "java.home"
14:22:24.552 INFO: [15]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre
user-MacBook-Pro:~ user$

···

On 11/30/14 3:08 PM, Damian Minkov wrote:

Hey Mr.Smith,

I had offline and IRC talk with foss and he explained to me the
situation that he sees, I was just wondering is this the same on your
side:
So he has java8 installed and he has removed java6. Jitsi cannot start
from the Icon, just shows java6 download/install dialog. But it starts
ok from terminal, obviously using java8 (the embedded one).
If it starts from Terminal, you can check which java is used by
opening new terminal window/tab and executing the command:
cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 | grep "java.home"

The result should be something like:
.......ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre

Could you please confirm/check?

Thanks
damencho

On Sat, Nov 29, 2014 at 6:33 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

On Sat, Nov 29, 2014 at 6:09 PM, foss <foss@openmailbox.org> wrote:

There’s quite a few messages in console.app. Do you need anything specific?

Well, I need any message (if any) from the output when starting Jitsi
in the Terminal.

Thanks
damencho

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#15

So when starting from terminal it starts using embedded jre. The
problem is just when starting from the Icon or double clicking, right?

···

On Sun, Nov 30, 2014 at 12:10 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

here is my output:

Last login: Sun Nov 30 15:34:47 on ttys000
user-MacBook-Pro:~ user$ cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 |
grep "java.home"
14:22:24.552 INFO: [15]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre
user-MacBook-Pro:~ user$

On 11/30/14 3:08 PM, Damian Minkov wrote:

Hey Mr.Smith,

I had offline and IRC talk with foss and he explained to me the
situation that he sees, I was just wondering is this the same on your
side:
So he has java8 installed and he has removed java6. Jitsi cannot start
from the Icon, just shows java6 download/install dialog. But it starts
ok from terminal, obviously using java8 (the embedded one).
If it starts from Terminal, you can check which java is used by
opening new terminal window/tab and executing the command:
cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 | grep "java.home"

The result should be something like:
.......ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre

Could you please confirm/check?

Thanks
damencho

On Sat, Nov 29, 2014 at 6:33 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

On Sat, Nov 29, 2014 at 6:09 PM, foss <foss@openmailbox.org> wrote:

There’s quite a few messages in console.app. Do you need anything specific?

Well, I need any message (if any) from the output when starting Jitsi
in the Terminal.

Thanks
damencho

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 10.3.1 (Build 13266)
Charset: utf-8

wsBVAwUBVHrtKHIFU87htrbeAQgtaAf6Ah4bo0elH2O9b5Npfilk/IIB8tNW82WN
f6arQPDVugWDRHpU/qoQFTvPjI/BKm6RGCglid8E1yR+MvsCsz3Jzvb9gVB5B7xz
ZwGn6wv4D3DI2B29Jyde6gVOc9weCIF3EJtjYqv0dgkhb5bKTkUL3tYxV/92PFc0
kHb6XKUrqdNGdEzcPRc+XVYOMLW/+mWTdkdEQUKA8akwa4PNCYguQNOkHZdc1hCD
mzAVDLQcIWCtVW+k26a5MrTPpNCdjz07oz5R2i/Gt9G0HMJfpx6knLsBS2zu03Uu
BhbEEbCOaboPW0Mih7YgVf4vbdqTLIwDKjM8L16I2DYb5jQyhYnPxw==
=Qg86
-----END PGP SIGNATURE-----

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#16

yes!

(currently Jitsi starts normally, both from icon and terminal...)

PGP.sig (489 Bytes)

···

On 11/30/14 3:45 PM, Damian Minkov wrote:

So when starting from terminal it starts using embedded jre. The
problem is just when starting from the Icon or double clicking, right?

On Sun, Nov 30, 2014 at 12:10 PM, Mr.Smith <mr.smith476@gmail.com> wrote:
here is my output:

Last login: Sun Nov 30 15:34:47 on ttys000
user-MacBook-Pro:~ user$ cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 |
grep "java.home"
14:22:24.552 INFO: [15]
org.jitsi.impl.configuration.ConfigurationServiceImpl.info()
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre
user-MacBook-Pro:~ user$

On 11/30/14 3:08 PM, Damian Minkov wrote:
>>> Hey Mr.Smith,
>>>
>>> I had offline and IRC talk with foss and he explained to me the
>>> situation that he sees, I was just wondering is this the same on your
>>> side:
>>> So he has java8 installed and he has removed java6. Jitsi cannot start
>>> from the Icon, just shows java6 download/install dialog. But it starts
>>> ok from terminal, obviously using java8 (the embedded one).
>>> If it starts from Terminal, you can check which java is used by
>>> opening new terminal window/tab and executing the command:
>>> cat ~/Library/Logs/Jitsi/log/jitsi0.log.0 | grep "java.home"
>>>
>>> The result should be something like:
>>> .......ConfigurationServiceImpl.info()
>>>
java.home=/Applications/Jitsi.app/Contents/PlugIns/jdk1.8.0_25.jdk/Contents/Home/jre
>>>
>>> Could you please confirm/check?
>>>
>>> Thanks
>>> damencho
>>>
>>>
>>> On Sat, Nov 29, 2014 at 6:33 PM, Damian Minkov > <damencho@jitsi.org> wrote:
>>>> Hi,
>>>>
>>>> On Sat, Nov 29, 2014 at 6:09 PM, foss <foss@openmailbox.org> wrote:
>>>>> There’s quite a few messages in console.app. Do you need
anything specific?
>>>> Well, I need any message (if any) from the output when starting Jitsi
>>>> in the Terminal.
>>>>
>>>> Thanks
>>>> damencho
>>> _______________________________________________
>>> dev mailing list
>>> dev@jitsi.org
>>> Unsubscribe instructions and other list options:
>>> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#17

interesting. I wonder how our systems differ. (obviously we do have different OS versions, since you’re on 10.8.5 and I’m on 10.10.1 but for me jitsi does not start from the icon.

···

Am 30.11.2014 um 11:22 schrieb Mr.Smith <mr.smith476@gmail.com>:

yes!

(currently Jitsi starts normally, both from icon and terminal...)