Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Qt nacl broken with chrome Version 25.0.1323.1 canary
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  20 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 5:41 am
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 02:41:36 -0800 (PST)
Local: Mon, Nov 12 2012 5:41 am
Subject: Qt nacl broken with chrome Version 25.0.1323.1 canary

Hi all,

Qt for Nacl worked like a charm until this morning, before canary got
updated to 25.0.1323.1. Chrome displays the top bar "A plugin [path to nmf]
is not responding."

One can repro the issue by going to this page http://pencil.qtapps.net/
with the mentioned version.

Any idea on what's wrong with this new version? I couldn't find the
changeset..

Cheers,
Alexandre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brad Chen  
View profile  
 More options Nov 12 2012, 11:30 am
From: Brad Chen <bradc...@google.com>
Date: Mon, 12 Nov 2012 08:30:00 -0800
Subject: Re: [native-client-discuss] Qt nacl broken with chrome Version 25.0.1323.1 canary

There may be some stability issues with Canary at this time, so thank you
for reporting this. Please see crbug.com/116317 for more details. The
engineers in question aren't in yet this morning; in the mean time if you
could confirm that only Canary is broken that would help us narrow things
down.

Brad

On Mon, Nov 12, 2012 at 2:41 AM, Alexandre Barreira <abarr...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 12 2012, 2:37 pm
From: Bill Budge <bbu...@google.com>
Date: Mon, 12 Nov 2012 11:37:21 -0800 (PST)
Local: Mon, Nov 12 2012 2:37 pm
Subject: Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

I suspect that your app is using 'Dev' interfaces which haven't been
proxied yet. In the meantime you can use the --enable-nacl-srpc-proxy to
keep developing.

I will try to get the missing 'Dev' interfaces in today.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 12 2012, 3:18 pm
From: Bill Budge <bbu...@google.com>
Date: Mon, 12 Nov 2012 12:18:48 -0800 (PST)
Local: Mon, Nov 12 2012 3:18 pm
Subject: Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Actually, what I see when I run the app is that PPP_Instance_1_1 isn't
found. We should fall back to 1_0 but perhaps that is broken. I'll check.

I don't know how hard it would be to implement 1_1 in your app but perhaps
that would be enough to get things working.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Michael  
View profile  
 More options Nov 12 2012, 3:22 pm
From: David Michael <dmich...@chromium.org>
Date: Mon, 12 Nov 2012 13:22:41 -0700
Local: Mon, Nov 12 2012 3:22 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

I'm getting the following in the JavaScript console:
Failed to load resource: the server responded with a status of 403
(Forbidden) http://pencil.qtapps.net/x86-64/runnable-ld.so
<http://pencil.qtapps.net/x86-64/runnable-ld.so>

You might need to tinker with your server settings for me to be able to
reproduce? Not sure if the symptom Bill is seeing is just because the nexe
didn't load, or if he's getting further than I am.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 5:03 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 14:03:28 -0800 (PST)
Local: Mon, Nov 12 2012 5:03 pm
Subject: Re: [native-client-discuss] Qt nacl broken with chrome Version 25.0.1323.1 canary

I can at least confirm that it still works with the dev channel version.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 5:09 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 14:09:11 -0800 (PST)
Local: Mon, Nov 12 2012 5:09 pm
Subject: Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

The thing is that, as far as i known, qt nacl is developed against pepper
19 (last time i tried building with pepper 23 i got some opengl-related
errors..). If i'm not mistaken, pepper 19 doesn't contain PPB_Instance;1.1,
right?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 5:14 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 14:14:55 -0800 (PST)
Local: Mon, Nov 12 2012 5:14 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

I don't get such error, but the issue indeed happens while loading dyn
libs. I doubt this is network related, since I experienced the same issue
with a plugin loaded through an unpacked extension (i just posted the link
to this qt example for you to repro the issue, i don't host it)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Michael  
View profile  
 More options Nov 12 2012, 5:26 pm
From: David Michael <dmich...@chromium.org>
Date: Mon, 12 Nov 2012 15:26:15 -0700
Local: Mon, Nov 12 2012 5:26 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

On Mon, Nov 12, 2012 at 3:09 PM, Alexandre Barreira <abarr...@gmail.com>wrote:

> The thing is that, as far as i known, qt nacl is developed against pepper
> 19 (last time i tried building with pepper 23 i got some opengl-related
> errors..). If i'm not mistaken, pepper 19 doesn't contain PPB_Instance;1.1,
> right?

Bill's talking about PP*P*_Instance;1.1.

That means Pepper is calling QT's GetInterface function and asking for
"PPP_Instance;1.1", and getting a NULL result instead of a valid pointer.
This might happen if the NaCl/Pepper runtime was unable to load the
necessary shared objects to run the app (which is what I'm still observing).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 12 2012, 5:49 pm
From: Bill Budge <bbu...@google.com>
Date: Mon, 12 Nov 2012 14:49:25 -0800 (PST)
Local: Mon, Nov 12 2012 5:49 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Yes, I'm getting this even on Stable Channel now (Version 23.0.1271.64 m) on
Windows.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 12 2012, 5:54 pm
From: Bill Budge <bbu...@google.com>
Date: Mon, 12 Nov 2012 14:54:55 -0800 (PST)
Local: Mon, Nov 12 2012 5:54 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

I was mistaken about that error. The interface is found successfully.
However, it seems to get called before the proxy is started up. I can't
debug on Windows right now because I'm getting a 403 when loading the first
dynamic library.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 6:14 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 15:14:21 -0800 (PST)
Local: Mon, Nov 12 2012 6:14 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Well then maybe the behavior I experienced with the served plugin and the
extension one is not caused by the same issue.. but i'm still able to load
the pencil app with chrome dev.

  stuckplugin.png
167K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Michael  
View profile  
 More options Nov 12 2012, 6:17 pm
From: David Michael <dmich...@chromium.org>
Date: Mon, 12 Nov 2012 16:17:10 -0700
Local: Mon, Nov 12 2012 6:17 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Note that the .sos are coming from you cache (see under the Size column).

You might try --incognito, or --user-data-dir=(some temporary directory) to
see if you can reproduce the 403.

On Mon, Nov 12, 2012 at 4:14 PM, Alexandre Barreira <abarr...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 6:28 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 15:28:29 -0800 (PST)
Local: Mon, Nov 12 2012 6:28 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Yes, (i believe) that's because these files are loaded from an unpacked
extension. Nevertheless, launching chrome from command line allowed me to
catch the following log when trying to load the pencil app or my extension:

[12241,2954530816:00:23:15.147127] Native Client module will be loaded at
base address 0x0000000008cb4000
[12241,2954899456:00:23:33.872834] Invalid open flags 0100000, ignoring
extraneous bits
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open
failed
#### QPlatformIntegrationFactory::create "pepper" () "/platforms/"
QFileSystemEngine::currentPath: stat(".") failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open
failed
QFileSystemEngine::currentPath: stat(".") failed
QFileSystemEngine::currentPath: stat(".") failed
#### QPlatformIntegrationFactory::createed "pepper"
QFileSystemEngine::currentPath: stat(".") failed
QFileSystemEngine::currentPath: stat(".") failed
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
QPepperCompositor: No frame buffer set
QPepperCompositor: No frame buffer set
QPepperCompositor: No frame buffer set


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexandre Barreira  
View profile  
 More options Nov 12 2012, 6:41 pm
From: Alexandre Barreira <abarr...@gmail.com>
Date: Mon, 12 Nov 2012 15:41:20 -0800 (PST)
Local: Mon, Nov 12 2012 6:41 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Well forget about these logs since they also appear when the plugin is
successfully launched..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Morten Johan Sørvig  
View profile  
 More options Nov 13 2012, 12:36 pm
From: Morten Johan Sørvig <msor...@gmail.com>
Date: Tue, 13 Nov 2012 18:36:25 +0100
Local: Tues, Nov 13 2012 12:36 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

The OpenGL compile errors are caused by the new GLES2_GET_FUN define
introduced in Pepper 20, which rewrites gl function names like
glActiveTexture to GLES2ActiveTexture or
gles2::GetGLContext()->ActiveTexture.

Qt #undefs any gl function defines and tries to call the functions
directly, resulting in a compile error since glActiveTexture no longer
exist. I can't remove the #undef either, since we have a Qt wrapper
function is named QOpenGLFunctions::glActiveTexture which I believe the C
preprocessor will happily mangle for me.

I have a workaround in progress, in the mean time stay on Pepper 19.

- Morten

On Mon, Nov 12, 2012 at 11:09 PM, Alexandre Barreira <abarr...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 13 2012, 1:10 pm
From: Bill Budge <bbu...@google.com>
Date: Tue, 13 Nov 2012 10:10:36 -0800 (PST)
Local: Tues, Nov 13 2012 1:10 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

I've been debugging this further. I can load all the .so files on Mac
without any 403's (perhaps 64 bit files are missing on the server?) and the
problem is that our IRT plugin proxy code isn't started. So the renderer
sends the message to start the proxy and then hangs waiting for a reply
that never comes.

This means your app is likely fine and that we have a startup issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Budge  
View profile  
 More options Nov 13 2012, 6:06 pm
From: Bill Budge <bbu...@google.com>
Date: Tue, 13 Nov 2012 15:06:49 -0800 (PST)
Local: Tues, Nov 13 2012 6:06 pm
Subject: Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

More debugging and we found the problem.

The app is trying to load parts of the old SRPC proxy (libppruntime.so,
libsrpc.so, etc.) which won't work with the new proxy. I'm not sure how
this works with the old proxy but I can see these files listed in your
manifest (.nmf) file and the loads fail.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Morten Johan Sørvig  
View profile   Translate to Translated (View Original)
 More options Nov 20 2012, 4:37 pm
From: Morten Johan Sørvig <msor...@gmail.com>
Date: Tue, 20 Nov 2012 22:37:07 +0100
Local: Tues, Nov 20 2012 4:37 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

Hi, I've looked into this a bit and been able to reduce the number of .so's
Qt links against. (Looks like the libsrpc.so linking was purely accidental.)

I'm left with this set: -lppruntime -lppapi -lppapi_cpp

The reason for requiring libppruntime is that Qt implements main() and
calls PpapiPluginMain() during initialisation. Is it possible to use this
pattern with the new proxy?

Thanks,
Morten


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Seaborn  
View profile  
 More options Nov 20 2012, 4:43 pm
From: Mark Seaborn <mseab...@chromium.org>
Date: Tue, 20 Nov 2012 13:43:53 -0800
Local: Tues, Nov 20 2012 4:43 pm
Subject: Re: [native-client-discuss] Re: Qt nacl broken with chrome Version 25.0.1323.1 canary

On 20 November 2012 13:37, Morten Johan Sørvig <msor...@gmail.com> wrote:

> Hi, I've looked into this a bit and been able to reduce the number of
> .so's Qt links against. (Looks like the libsrpc.so linking was purely
> accidental.)

> I'm left with this set: -lppruntime -lppapi -lppapi_cpp

You shouldn't be linking against libppruntime:  that is a Chromium-internal
library, and if it was included in an SDK, that was a mistake.  You should
link against libppapi instead.

> The reason for requiring libppruntime is that Qt implements main() and
> calls PpapiPluginMain() during initialisation. Is it possible to use this
> pattern with the new proxy?

Yes.  libppapi defines PpapiPluginMain().

Cheers,
Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »