[jitsi-dev] Run Failure


#1

Hello,

I am Pawan Dubey, and I was looking through the Jitsi's project ideas and I saw the task of implementing a better systray indicator for Jitsi in linux, and I believe I have a way of achieving that without using JNI.

I forked, cloned and built Jitsi on my local Ubuntu 14.04 64bit machine, and the build was successful. But running was not. From inside the Netbeans IDE, I tried to run Jitsi(after building it), and it gives this stacktrace:

ant -f /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi run
deploy-os-specific-bundles:
Copying 1 file to /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/sc-bundles
load-properties:
run:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/build.xml:888: Java returned: 134
BUILD FAILED (total time: 35 seconds)

What could be the problem? Can anybody direct me to the source of the problem? Thanks :slight_smile:


#2

Hi Pawan,

I'm currently using Eclipse, so I cannot help you with your particular
problem in running from within Netbeans.

But, just to check the state of affairs. Have you tried running (from
within the jitsi directory) using "ant run"?
Does that work as expected?

I'd like to start from a known situation, so we can make sure that we're
chasing the right issue.

Also, in my opinion (as a fellow Linux user), a better systray indicator
would be very welcome

Regards,
Danny

···

On 16-02-15 08:44, Pawan Dubey wrote:

Hello,

I am Pawan Dubey, and I was looking through the Jitsi's project ideas
and I saw the task of implementing a better systray indicator for
Jitsi in linux, and I believe I have a way of achieving that without
using JNI.

I forked, cloned and built Jitsi on my local Ubuntu 14.04 64bit
machine, and the build was successful. But running was not. From
inside the Netbeans IDE, I tried to run Jitsi(after building it), and
it gives this stacktrace:

ant -f /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi run
deploy-os-specific-bundles:
Copying 1 file to
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/sc-bundles
load-properties:
run:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has
not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/build.xml:888:
Java returned: 134
BUILD FAILED (total time: 35 seconds)

What could be the problem? Can anybody direct me to the source of the
problem? Thanks :slight_smile:

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


#3

Hi Danny,

Thanks for the reply. I tried running it directly from within the directory and it worked. Still gave a few error messages in the log but the overall app seems to work.
I wonder why it did not from within Netbeans, as I am using the same version of Ant there as well.

···

==================================================================
Date: Mon, 16 Feb 2015 20:17:52 +0100
From: danny@dannyvanheumen.nl
To: dev@jitsi.org
Subject: Re: [jitsi-dev] Run Failure

Hi Pawan,

I'm currently using Eclipse, so I cannot help you with your particular
problem in running from within Netbeans.

But, just to check the state of affairs. Have you tried running (from
within the jitsi directory) using "ant run"?
Does that work as expected?

I'd like to start from a known situation, so we can make sure that we're
chasing the right issue.

Also, in my opinion (as a fellow Linux user), a better systray indicator
would be very welcome

Regards,
Danny

On 16-02-15 08:44, Pawan Dubey wrote:

Hello,

I am Pawan Dubey, and I was looking through the Jitsi's project ideas
and I saw the task of implementing a better systray indicator for
Jitsi in linux, and I believe I have a way of achieving that without
using JNI.

I forked, cloned and built Jitsi on my local Ubuntu 14.04 64bit
machine, and the build was successful. But running was not. From
inside the Netbeans IDE, I tried to run Jitsi(after building it), and
it gives this stacktrace:

ant -f /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi run
deploy-os-specific-bundles:
Copying 1 file to
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/sc-bundles
load-properties:
run:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has
not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/build.xml:888:
Java returned: 134
BUILD FAILED (total time: 35 seconds)

What could be the problem? Can anybody direct me to the source of the
problem? Thanks :slight_smile:

_______________________________________________
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


#4

Hi Pawan,

I just tested with the latest Jitsi from master and I could both build
and run from within NetBeans IDE as usual, so sorry don't know what
could be the issue in your case.

Cheers,
Markus

···

On 02/17/2015 06:22 AM, Pawan Dubey wrote:

Hi Danny,

Thanks for the reply. I tried running it directly from within the
directory and it worked. Still gave a few error messages in the log but
the overall app seems to work.
I wonder why it did not from within Netbeans, as I am using the same
version of Ant there as well.

==================================================================
Date: Mon, 16 Feb 2015 20:17:52 +0100
From: danny@dannyvanheumen.nl
To: dev@jitsi.org
Subject: Re: [jitsi-dev] Run Failure

Hi Pawan,

I'm currently using Eclipse, so I cannot help you with your particular
problem in running from within Netbeans.

But, just to check the state of affairs. Have you tried running (from
within the jitsi directory) using "ant run"?
Does that work as expected?

I'd like to start from a known situation, so we can make sure that we're
chasing the right issue.

Also, in my opinion (as a fellow Linux user), a better systray indicator
would be very welcome

Regards,
Danny

On 16-02-15 08:44, Pawan Dubey wrote:

Hello,

I am Pawan Dubey, and I was looking through the Jitsi's project ideas
and I saw the task of implementing a better systray indicator for
Jitsi in linux, and I believe I have a way of achieving that without
using JNI.

I forked, cloned and built Jitsi on my local Ubuntu 14.04 64bit
machine, and the build was successful. But running was not. From
inside the Netbeans IDE, I tried to run Jitsi(after building it), and
it gives this stacktrace:

ant -f /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi run
deploy-os-specific-bundles:
Copying 1 file to
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/sc-bundles
load-properties:
run:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports
only playback stream
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has
not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
/media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/build.xml:888:
Java returned: 134
BUILD FAILED (total time: 35 seconds)

What could be the problem? Can anybody direct me to the source of the
problem? Thanks :slight_smile:

_______________________________________________
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


#5

Hi Pawan,

I just checked again. I took the following approach, so maybe you can
check the steps for yourself.

1. make sure Netbeans project files inside Jitsi directory are originals
(no local modifications, it wouldn't make for a reliable comparison)
2. open Jitsi directory as project in Netbeans
3. Right-click project node and click "Clean and Build" (this will take
a bit of time then finish successfully)
4. Right-click project node and click "Run" (now Jitsi will start)

I haven't noticed anything strange during the start-up process. Messages
flowing by seemed all to be familiar, so no noticable deviation from
running "ant run" on the command line.

I'm running Netbeans 8.0.2 on 64 bits Linux install. (Are you also
running 64 bits Linux?)

You could also try changing the logging configuration at:
<jitsi>/lib/logging.properties. Make sure that the console shows a
sufficiently low level of messages, for example "FINE" or "FINER". That
way you will now you will get messages that are reasonable detailed.
(This does not mean that you immediately get FINE messages from *all*
components, since root logger is still set to "INFO" by default.)

Good luck, let me know if you have any questions or you find something.

Danny

···

On 17-02-15 06:22, Pawan Dubey wrote:

Hi Danny,

Thanks for the reply. I tried running it directly from within the
directory and it worked. Still gave a few error messages in the log
but the overall app seems to work.
I wonder why it did not from within Netbeans, as I am using the same
version of Ant there as well.

==================================================================
Date: Mon, 16 Feb 2015 20:17:52 +0100
From: danny@dannyvanheumen.nl
To: dev@jitsi.org
Subject: Re: [jitsi-dev] Run Failure

Hi Pawan,

I'm currently using Eclipse, so I cannot help you with your particular
problem in running from within Netbeans.

But, just to check the state of affairs. Have you tried running (from
within the jitsi directory) using "ant run"?
Does that work as expected?

I'd like to start from a known situation, so we can make sure that we're
chasing the right issue.

Also, in my opinion (as a fellow Linux user), a better systray indicator
would be very welcome

Regards,
Danny

On 16-02-15 08:44, Pawan Dubey wrote:
> Hello,
>
> I am Pawan Dubey, and I was looking through the Jitsi's project ideas
> and I saw the task of implementing a better systray indicator for
> Jitsi in linux, and I believe I have a way of achieving that without
> using JNI.
>
> I forked, cloned and built Jitsi on my local Ubuntu 14.04 64bit
> machine, and the build was successful. But running was not. From
> inside the Netbeans IDE, I tried to run Jitsi(after building it), and
> it gives this stacktrace:
>
> ant -f /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi run
> deploy-os-specific-bundles:
> Copying 1 file to
> /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/sc-bundles
> load-properties:
> run:
> ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
> ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
> cards.pcm.center_lfe
> ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports
> only playback stream
> [xcb] Unknown request in queue while dequeuing
> [xcb] Most likely this is a multi-threaded client and XInitThreads has
> not been called
> [xcb] Aborting, sorry about that.
> java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion
> `!xcb_xlib_unknown_req_in_deq' failed.
> /media/pawandubey/OS/Users/Mahe/Documents/Repository/jitsi/build.xml:888:
> Java returned: 134
> BUILD FAILED (total time: 35 seconds)
>
>
> What could be the problem? Can anybody direct me to the source of the
> problem? Thanks :slight_smile:
>
>
>
> _______________________________________________
> 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