[jitsi-dev] Jisti crash with SIGABRT


#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Guys.

Environment:

Linux Mint 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64

NVIDIA Driver Version: 319.23

Cinnamon Version: 1.8.2+lmde

Jitsi version: 2.3.4671.9750-1 (nightly build)

Symptoms:

Start Jitsi. Switch to Virtual Console (framebuffer). Switch back to
desktop. Jitsi closes with SIGABRT.

Strace attached.

Thanks.

- --

jitsi-debug.txt (39.1 KB)

jitsi-debug.txt.sig (72 Bytes)

···

==

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd


#2

I have reported this earlier, but without a strace, it affects me, too
and I assume that it affects every Linux user, but I cant be sure
about that, its especially annoying when switching between multiple
users on one machine.

my backtrace for 2.0.4506.10553

*** glibc detected *** /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java:
free(): invalid pointer: 0x9960d7a0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6[0x4d849ee2]
/usr/share/jitsi/lib/native/libjnportaudio.so(PaUtil_FreeMemory+0x21)[0x97b12b01]
/usr/share/jitsi/lib/native/libjnportaudio.so(PaUtil_GroupFreeMemory+0x52)[0x97b1f892]
/usr/share/jitsi/lib/native/libjnportaudio.so(+0x1104f)[0x97b1704f]
/usr/share/jitsi/lib/native/libjnportaudio.so(Pa_UpdateAvailableDeviceList+0x13a)[0x97b11eca]
/usr/share/jitsi/lib/native/libjnportaudio.so(Java_org_jitsi_impl_neomedia_portaudio_Pa_UpdateAvailableDeviceList+0x17)[0x97b0f137]
[0xb34ddda0]
[0xb34d1507]
[0xb34d1507]
[0xb34d1507]
[0xb34d1a85]
[0xb34ce459]
/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/server/libjvm.so(+0x42417f)[0xb6e6917f]
[0x20425355]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:11 133419
/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
08049000-0804a000 r--p 00000000 08:11 133419
/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
0804a000-0804b000 rw-p 00001000 08:11 133419
/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
08295000-082f8000 rw-p 00000000 00:00 0 [heap]
41231000-41233000 r-xp 00000000 08:11 162826
/lib/i386-linux-gnu/libkeyutils.so.1.4
41233000-41234000 r--p 00002000 08:11 162826
/lib/i386-linux-gnu/libkeyutils.so.1.4
41234000-41235000 rw-p 00003000 08:11 162826
/lib/i386-linux-gnu/libkeyutils.so.1.4
41237000-41272000 r-xp 00000000 08:11 162828
/usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
41272000-41273000 ---p 0003b000 08:11 162828
/usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
41273000-41274000 r--p 0003b000 08:11 162828
/usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
41274000-41275000 rw-p 0003c000 08:11 162828
/usr/lib/i386-linux-gnu/libgssapi_krb5.so.2.2
41277000-4129d000 r-xp 00000000 08:11 162805
/usr/lib/i386-linux-gnu/libk5crypto.so.3.1
4129d000-4129e000 r--p 00025000 08:11 162805
/usr/lib/i386-linux-gnu/libk5crypto.so.3.1
4129e000-4129f000 rw-p 00026000 08:11 162805
/usr/lib/i386-linux-gnu/libk5crypto.so.3.1
412a1000-41369000 r-xp 00000000 08:11 162827
/usr/lib/i386-linux-gnu/libkrb5.so.3.3
41369000-4136f000 r--p 000c7000 08:11 162827
/usr/lib/i386-linux-gnu/libkrb5.so.3.3
4136f000-41370000 rw-p 000cd000 08:11 162827
/usr/lib/i386-linux-gnu/libkrb5.so.3.3
41372000-41379000 r-xp 00000000 08:11 153718
/usr/lib/i386-linux-gnu/libkrb5support.so.0.1
41379000-4137a000 r--p 00006000 08:11 153718
/usr/lib/i386-linux-gnu/libkrb5support.so.0.1
4137a000-4137b000 rw-p 00007000 08:11 153718
/usr/lib/i386-linux-gnu/libkrb5support.so.0.1
414bf000-414cf000 r-xp 00000000 08:11 162793
/usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
414cf000-414d0000 r--p 0000f000 08:11 162793
/usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
414d0000-414d1000 rw-p 00010000 08:11 162793
/usr/lib/i386-linux-gnu/libp11-kit.so.0.0.0
41599000-415a9000 r-xp 00000000 08:11 162829
/usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
415a9000-415aa000 r--p 0000f000 08:11 162829
/usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
415aa000-415ab000 rw-p 00010000 08:11 162829
/usr/lib/i386-linux-gnu/libtasn1.so.3.1.12
415ad000-415b0000 r-xp 00000000 08:11 162821
/lib/i386-linux-gnu/libcom_err.so.2.1
415b0000-415b1000 r--p 00002000 08:11 162821
/lib/i386-linux-gnu/libcom_err.so.2.1
415b1000-415b2000 rw-p 00003000 08:11 162821
/lib/i386-linux-gnu/libcom_err.so.2.1
41c78000-41dcb000 r-xp 00000000 08:11 162798
/usr/lib/i386-linux-gnu/libgio-2.0.so.0.3200.4
41dcb000-41dcd000 r--p 00153000 08:11 162798
/usr/lib/i386-linux-gnu/libgio-2.0.so.0.3200.4
41dcd000-41dce000 rw-p 00155000 08:11 162798
/usr/lib/i386-linux-gnu/libgio-2.0.so.0.3200.4
41dce000-41dcf000 rw-p 00000000 00:00 0
41e2a000-41e53000 r-xp 00000000 08:11 147079
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
41e53000-41e54000 r--p 00028000 08:11 147079
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
41e54000-41e55000 rw-p 00029000 08:11 147079
/usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
41e57000-41ef9000 r-xp 00000000 08:11 154146
/usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
41ef9000-41efa000 r--p 000a2000 08:11 154146
/usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
41efa000-41efb000 rw-p 000a3000 08:11 154146
/usr/lib/i386-linux-gnu/libsqlite3.so.0.8.6
41efb000-41efc000 rw-p 00000000 00:00 0
41efe000-41f04000 r-xp 00000000 08:11 142682
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
41f04000-41f05000 r--p 00005000 08:11 142682
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
41f05000-41f06000 rw-p 00006000 08:11 142682
/usr/lib/i386-linux-gnu/libogg.so.0.7.1
41f14000-4207a000 r-xp 00000000 08:11 131586
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
4207a000-4208b000 r--p 00165000 08:11 131586
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
4208b000-4208c000 rw-p 00176000 08:11 131586
/usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
4217e000-42194000 r-xp 00000000 08:11 154971
/lib/i386-linux-gnu/libnsl-2.15.so
42194000-42195000 r--p 00015000 08:11 154971
/lib/i386-linux-gnu/libnsl-2.15.so
42195000-42196000 rw-p 00016000 08:11 154971
/lib/i386-linux-gnu/libnsl-2.15.so
42196000-42198000 rw-p 00000000 00:00 0
44110000-44118000 r-xp 00000000 08:11 162830
/lib/i386-linux-gnu/libwrap.so.0.7.6
44118000-44119000 r--p 00007000 08:11 162830
/lib/i386-linux-gnu/libwrap.so.0.7.6
44119000-4411a000 rw-p 00008000 08:11 162830
/lib/i386-linux-gnu/libwrap.so.0.7.6
4411c000-44168000 r-xp 00000000 08:11 148098
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
44168000-44169000 r--p 0004b000 08:11 148098
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
44169000-4416a000 rw-p 0004c000 08:11 148098
/usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
4416c000-441b8000 r-xp 00000000 08:11 147106
/usr/lib/i386-linux-gnu/libpulse.so.0.13.5
441b8000-441b9000 r--p 0004b000 08:11 147106
/usr/lib/i386-linux-gnu/libpulse.so.0.13.5
441b9000-441ba000 rw-p 0004c000 08:11 147106
/usr/lib/i386-linux-gnu/libpulse.so.0.13.5
441bc000-441c1000 r-xp 00000000 08:11 142899
/usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
441c1000-441c2000 r--p 00004000 08:11 142899
/usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
- --
Yannik V�lker

···

On 07.06.2013 19:55, Don Alexander wrote:

Symptoms:

Start Jitsi. Switch to Virtual Console (framebuffer). Switch back
to desktop. Jitsi closes with SIGABRT.


#3

Do you have PulseAudio installed? Which of PortAudio and PulseAudio do
you use in Jitsi i.e. have selected in Tools > Options > Audio?

We are trying to move away from PortAudio because it is based on an
unmaintained branch, is riddled with problems and imposes unnecessary
limitations. We support PulseAudio on Linux, Windows Audio Session API
(WASAPI) on Windows and we are currently working on replacing
PortAudio on OS X with CoreAudio.

That said, I'm not sure whether and when we may be able to look into
the Pa_UpdateAvailableDeviceList crash that you're experiencing. We'd
welcome contributions from the community on the subject.

···

2013/6/8 Yannik Völker <yannikv@yahoo.de>:

/usr/share/jitsi/lib/native/libjnportaudio.so(Pa_UpdateAvailableDeviceList+0x13a)[0x97b11eca]


#4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/usr/share/jitsi/lib/native/libjnportaudio.so(Pa_UpdateAvailableDeviceList+0x13a)[0x97b11eca]

Do you have PulseAudio installed? Which of PortAudio and PulseAudio do
you use in Jitsi i.e. have selected in Tools > Options > Audio?

We are trying to move away from PortAudio because it is based on an
unmaintained branch, is riddled with problems and imposes unnecessary
limitations. We support PulseAudio on Linux, Windows Audio Session API
(WASAPI) on Windows and we are currently working on replacing
PortAudio on OS X with CoreAudio.

That said, I'm not sure whether and when we may be able to look into
the Pa_UpdateAvailableDeviceList crash that you're experiencing. We'd
welcome contributions from the community on the subject.

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

Hmmm yes I do use pulseaudio in the Jitsi sound drop down.. and the
reminds me of another issue this is annoying. Being unable to adjust the
alert noise on an incoming message volume because Jitsi does not show up
as a device in pauvcontrol until the noise is actually playing, and then
once played, it disappears. It is a good thing the Swoosh sound it not
so caustic else that would be a nightmare. Symptoms methinks.

Does that mean portaudio works better as an audio sink than pulseaudio
does? I am using Pulseaudio 2.0-6 currently. But I heard that the PA
team have improved things in the latest incarnations.

Guess we need to dig into the code for a proper pulseaudio hand off.

Cheers,

- --

···

On 08/06/13 09:13, Lyubomir Marinov wrote:

2013/6/8 Yannik Völker <yannikv@yahoo.de>:

==

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd


#5

I'm afraid I'm not sure what you mean. PortAudio currently crashes for
multiple people (on multiple operating systems).

···

2013/6/8 Don Alexander <debug@roosoft.ltd.uk>:

Does that mean portaudio works better as an audio sink than pulseaudio does?


#6

I have PulseAudio installed and its selected, crashes anyways.

- --
Yannik V�lker

···

On 08.06.2013 10:13, Lyubomir Marinov wrote:

2013/6/8 Yannik V�lker <yannikv@yahoo.de>:

/usr/share/jitsi/lib/native/libjnportaudio.so(Pa_UpdateAvailableDeviceList+0x13a)[0x97b11eca]

Do you have PulseAudio installed? Which of PortAudio and PulseAudio
do you use in Jitsi i.e. have selected in Tools > Options > Audio?


#7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does that mean portaudio works better as an audio sink than

pulseaudio does?

I'm afraid I'm not sure what you mean. PortAudio currently crashes for
multiple people (on multiple operating systems).

I guess I am not sure exactly how the audio system works in Jitsi. I
just see that there is a pulseaudio or portaudio option. Portaudio lists
all alsa devices as well as pulse audio where as the pulse audio option
only lists the default pulseaudio output/input devices, I assume handing
of stream selection to Pulseaudio, which in my experience it does.

Portaudio I assume then the native Java implementation for an audio
framework, but does not seem to be terribly well supported under Linux.
http://www.portaudio.com/docs/v19-doxydocs/java_binding.html

So are you asking for the Linux community to roll our own solution to
audio on Linux or what?

I apologise if I come across as clueless but until 3 weeks ago I had
never even used Jitsi and so need to orientate to the community and its'
development.

Thanks for any insights.

Cheers,

- --

···

On 08/06/13 10:17, Lyubomir Marinov wrote:

2013/6/8 Don Alexander <debug@roosoft.ltd.uk>:

==

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd


#8

Hey Don,

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does that mean portaudio works better as an audio sink than

pulseaudio does?

I'm afraid I'm not sure what you mean. PortAudio currently crashes for
multiple people (on multiple operating systems).

I guess I am not sure exactly how the audio system works in Jitsi. I
just see that there is a pulseaudio or portaudio option. Portaudio lists
all alsa devices as well as pulse audio where as the pulse audio option
only lists the default pulseaudio output/input devices, I assume handing
of stream selection to Pulseaudio, which in my experience it does.

Both PortAudio and PulseAudio use ALSA. PulseAudio registers pseudo ALSA devices which is why you see them in PortAudio.

Portaudio I assume then the native Java implementation for an audio
framework, but does not seem to be terribly well supported under Linux.
http://www.portaudio.com/docs/v19-doxydocs/java_binding.html

I am not sure what you mean by "native Java implementation". Historically we used PortAudio on all OSes. We are now moving away from it, so at least our default choices are not going to be PortAudio (we may still fallback to portaudio if our other option doesn't work).

In that sense, on Linux, we recommend use of Jitsi through PulseAudio.

So are you asking for the Linux community to roll our own solution to
audio on Linux or what?

I don't understand this question. Who is "you" in this case and who is "the Linux community" and why do both appear as separate, opposing options?

Again, we have developed support for PulsAaudio in Jitsi because it works better than PortAudio so we advise that you use this.

I apologise if I come across as clueless but until 3 weeks ago I had
never even used Jitsi and so need to orientate to the community and its'
development.

There is no need to apologise for anything, however it would help if you could maybe be a little bit more clear in what you are saying (I personally find it very helpful to always reread my e-mails before sending them, and have realised that they are always hard to understand when I don't).

Cheers,
Emil

···

On 08.06.13, 11:28, Don Alexander wrote:

On 08/06/13 10:17, Lyubomir Marinov wrote:

2013/6/8 Don Alexander <debug@roosoft.ltd.uk>:

Thanks for any insights.

Cheers,

- --

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGy+TsACgkQuipFNInZ6euv2ACeNXCf2Pb/mcei+2OoYTBfntkO
IHoAn17uh1rxGvZKqqI9BLnrhDoFlYwi
=pMQr
-----END PGP SIGNATURE-----

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

--
https://jitsi.org


#9

I have PulseAudio installed and its selected

In order to avoid the crash in PortAudio, delete libjnportaudio.so.

crashes anyways.

Because libjnportaudio.so is availble, the PortAudio integration is
brought up by Jitsi and it is monitoring the available audio devices
in case you/the user decide/s to switch between PulseAudio and
PortAudio.

···

2013/6/8 Yannik Völker <yannikv@yahoo.de>:


#10

Works, thank you

- --
Yannik V�lker

···

On 08.06.2013 14:37, Lyubomir Marinov wrote:

2013/6/8 Yannik V�lker <yannikv@yahoo.de>:

I have PulseAudio installed and its selected

In order to avoid the crash in PortAudio, delete
libjnportaudio.so.

crashes anyways.

Because libjnportaudio.so is availble, the PortAudio integration
is brought up by Jitsi and it is monitoring the available audio
devices in case you/the user decide/s to switch between PulseAudio
and PortAudio.