Jump to content

uniimage.picture.loadfromfile trouble


Vision

Recommended Posts

Hi 

I did a demo that continuously  load jpeg image, frequency is 1 second. In google crome after a few images the session break like in the image below( I'm just a beginner, seem a rendering problem, i read  somewhere in console).

 

image.thumb.png.4bb64888a5bf8ed033f299becac24e1c.png

 I'm using the last unigui version 1.5.0.1481 but the problem was present olso in the older version like 1.1.0...... 

If I try the same service on firefox the session survive without problem, escluding the enormous RAM amount used in the client pc.

I'm using win 7 service pack 1, chrome 69.0.3497.100, firefox 62.0.3

I have attached the demo. Can anyone explain me what is happening? 

 

 

testMultipleLoadImg.zip

Link to comment
Share on other sites

Hi

Is a web access to a vision inspection system. So I just need to load images (stored in a folder ) in the main form.

For your test are you using a 4GB  ram pc, win 7 an so on? I'm wonder on reading that you did not see the same issues, is a very simple demo. Here I have three diferent pc with same demo and same image: in all the possible combination server-client i have the same problem. So: can you try on another pc?

Google chrome log:

CHROME VERSION
69.0.3497.100
OS VERSION
Windows NT: 6.1.7601 SP1
about_sync_data
Comprimi…    
{"actionable_error":[{"is_valid":false,"stat_name":"Error Type","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Action","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"URL","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Error Description","stat_value":"Uninitialized"}],"actionable_error_detected":false,"details":[{"data":[{"is_valid":true,"stat_name":"Summary","stat_value":"Disabled (Not signed in)"}],"is_sensitive":false,"title":"Summary"},{"data":[{"is_valid":true,"stat_name":"Client Version","stat_value":"Google Chrome Windows 69.0.3497.100 (8920e690dd011895672947112477d10d5c8afb09-refs/branch-heads/3497@{#948}) stable"},{"is_valid":true,"stat_name":"Server URL","stat_value":"<URL: 1>"}],"is_sensitive":false,"title":"Version Info"},{"data":[{"is_valid":true,"stat_name":"Requested Token","stat_value":"n/a"},{"is_valid":true,"stat_name":"Received Token","stat_value":"n/a"},{"is_valid":true,"stat_name":"Token Request Status","stat_value":"OK"},{"is_valid":true,"stat_name":"Next Token Request","stat_value":"not scheduled"}],"is_sensitive":false,"title":"Credentials"},{"data":[{"is_valid":true,"stat_name":"Server Connection","stat_value":"not attempted"},{"is_valid":true,"stat_name":"Last Synced","stat_value":"Never"},{"is_valid":true,"stat_name":"Sync First-Time Setup Complete","stat_value":false},{"is_valid":false,"stat_name":"Sync Cycle Ongoing","stat_value":false},{"is_valid":true,"stat_name":"Local Sync Backend Enabled","stat_value":false},{"is_valid":false,"stat_name":"Local Backend Path","stat_value":"Uninitialized"}],"is_sensitive":false,"title":"Local State"},{"data":[{"is_valid":false,"stat_name":"Throttled or Backoff","stat_value":false},{"is_valid":false,"stat_name":"Retry Time","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Notifications Enabled","stat_value":false}],"is_sensitive":false,"title":"Network"},{"data":[{"is_valid":false,"stat_name":"Explicit Passphrase","stat_value":false},{"is_valid":false,"stat_name":"Passphrase Required","stat_value":false},{"is_valid":false,"stat_name":"Cryptographer Ready","stat_value":false},{"is_valid":false,"stat_name":"Cryptographer Has Pending Keys","stat_value":false},{"is_valid":false,"stat_name":"Encrypted Types","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Has Keystore Key","stat_value":false},{"is_valid":false,"stat_name":"Keystore Migration Time","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Passphrase Type","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Passphrase Time","stat_value":"Uninitialized"}],"is_sensitive":false,"title":"Encryption"},{"data":[{"is_valid":false,"stat_name":"Sync Source","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"GetKey Step Result","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Download Step Result","stat_value":"Uninitialized"},{"is_valid":false,"stat_name":"Commit Step Result","stat_value":"Uninitialized"}],"is_sensitive":false,"title":"Status from Last Completed Session"},{"data":[{"is_valid":false,"stat_name":"Notifications Received","stat_value":0},{"is_valid":false,"stat_name":"Updates Downloaded","stat_value":0},{"is_valid":false,"stat_name":"Tombstone Updates","stat_value":0},{"is_valid":false,"stat_name":"Reflected Updates","stat_value":0},{"is_valid":false,"stat_name":"Successful Commits","stat_value":0},{"is_valid":false,"stat_name":"Conflicts Resolved: Client Wins","stat_value":0},{"is_valid":false,"stat_name":"Conflicts Resolved: Server Wins","stat_value":0}],"is_sensitive":false,"title":"Running Totals"},{"data":[{"is_valid":false,"stat_name":"Encryption Conflicts","stat_value":0},{"is_valid":false,"stat_name":"Hierarchy Conflicts","stat_value":0},{"is_valid":false,"stat_name":"Server Conflicts","stat_value":0},{"is_valid":false,"stat_name":"Committed Items","stat_value":0}],"is_sensitive":false,"title":"Transient Counters (this cycle)"},{"data":[{"is_valid":false,"stat_name":"Updates Downloaded","stat_value":0},{"is_valid":false,"stat_name":"Committed Count","stat_value":0},{"is_valid":false,"stat_name":"Entries","stat_value":0}],"is_sensitive":false,"title":"Transient Counters (last cycle of last completed session)"},{"data":[{"is_valid":false,"stat_name":"Server Invalidations","stat_value":0},{"is_valid":false,"stat_name":"Local Changes","stat_value":0},{"is_valid":false,"stat_name":"Local Refreshes","stat_value":0}],"is_sensitive":false,"title":"Nudge Source Counters"}],"type_status":[],"unrecoverable_error_detected":false}
crash_report_ids
data_reduction_proxy
disabled
enrolled_to_domain
Not enrolled to domain
extensions
Comprimi…    
aapocclcgogkmnckokdopfmhonfmgoek : Presentazioni : version 0_10
ahfgeienlihckogmohjhadlkjgocpleb : Web Store : version 0_2
aohghmighlieiainnegkcijnfilokake : Documenti : version 0_10
apdfllckaahabafndbhieahigkjlhalf : Google Drive : version 14_1
blpcfgokakmgnkcojhhkbfbldkacnbeo : YouTube : version 4_2_8
felcaaldnbdncclmgdcncolpebgiejap : Fogli : version 1_2
gfdkimpbcpahaombhbimeihdjnejgicl : Feedback : version 1_0
ghbmnnjooekpmoecnnnilnnbdlolhkhi : Documenti Google offline : version 1_7
kmendfapggjehodndflmmgagdbamhnfd : CryptoTokenExtension : version 0_9_73
mfehgcgbbipciphmccgaenjidiccnmng : Cloud Print : version 0_1
mhjfbmdgcfjbbpaeojofohoefgiehjai : Chrome PDF Viewer : version 1
neajdppkdcdipfabeoofebfddakdcjhd : Google Network Speech : version 1_0
nkeimhogjdpnpccoofpliimaahmaaome : Google Hangouts : version 1_3_8
nmmhkkegccagdldgiimedpiccmgmieda : Pagamenti Chrome Web Store : version 1_0_0_4
pjkljhegncpnkpknbcohdijeoejaedia : Gmail : version 8_1
pkedcjkdefgpdelpbcmbmeomcjbeemfm : Chrome Media Router : version 6918_723_0_0
installer_brand_code
GGLS
mem_usage
Comprimi…    
Tab [New Application] 72 MB
GPU [] 65 MB
Browser 46 MB
Extension [Feedback|Feedback] 25 MB
usb_keyboard_detected
No Keyboard:
Detection not supported

 

 

 

 

Link to comment
Share on other sites

have you got more info if you click on "further information ".

on chrome devtool maybe there is more info in console, in network tab all calls have a return state 200 ?

Maybe you have got an antivirus that analyze traffic and it is not fast enough or block traffic because there is a call every second

...?

Link to comment
Share on other sites

36 minutes ago, delagoutte said:

have you got more info if you click on "further information ".

on chrome devtool maybe there is more info in console, in network tab all calls have a return state 200 ?

Maybe you have got an antivirus that analyze traffic and it is not fast enough or block traffic because there is a call every second

...?

1) classical useless link

2)yes

3) no anti virus and firewall disabled. Is an industrial pc

 

Anyway I do not understand why happen in chrome but have never happen in Firefox.. 

Link to comment
Share on other sites

i just se that on my laptop, the demo seem working: i just tried unigui version 1.0.1... and the newest version.

So i have a problem on a couple of win 7 industrial pc. 

This pc are not  updated on the window side: they are updatede till service pack 1 but not totally updated. is important? I dont think because my laptop win 10 is not uptated. 

Is there any package version that i need to verify the vesion, like redistributable package? I remove all plugin and externsion

 

Link to comment
Share on other sites

Hi everyone

I have just installed on a fresh hardware win 10, embarcadero 10.1, unigui last version. The problem seem not to be present. 

If I connect the original pc server to the service of the new pc i have the same error message.

So I think the problem is in the pc settings, any idea? 

Chrome console say Render process gone. what does it mean?

image.thumb.png.2a1612c29f2305d55b062c415519dd5a.pngR

Link to comment
Share on other sites

20 hours ago, delagoutte said:

idem,

i can't reproduce this issue with you sample, i try to reduce timer interval to 100ms but i can't reproduce issue

client

chrome 69.0.3497.100

Hi 

your test is on 32 bit? If not, can anyone test on 32 bit??

Link to comment
Share on other sites

Config that i used for testing your project  :

Dev computer :

Virtual computer windows 8.1 x64 + delphi xe7 +unigui 1472

test : debug+ 32 bit

Test Computer  :

physical pc Windows 10 x64 + chrome 69.0.3497.100

other thing :

In the past i had strange problem with delphi on my unigui project.

I deleted Myproject .drc and .rsm files and after all my problem disappeared maybe you have a similar problem ???

Link to comment
Share on other sites

2 hours ago, delagoutte said:

Config that i used for testing your project  :

Dev computer :

Virtual computer windows 8.1 x64 + delphi xe7 +unigui 1472

test : debug+ 32 bit

Test Computer  :

physical pc Windows 10 x64 + chrome 69.0.3497.100

other thing :

In the past i had strange problem with delphi on my unigui project.

I deleted Myproject .drc and .rsm files and after all my problem disappeared maybe you have a similar problem ???

tnks for details.

just tried to delete all the file generated during compilation but nothing change :sad:

Link to comment
Share on other sites

On 10/25/2018 at 1:43 PM, Sherzod said:

Hi,

I couldn't reproduce your issue

Sorry, what is your main purpose, using this code?

Hi

I'm moving in with the tests.

The problem is on 32 bit machine. Can you perform a test on your machine physicall computer?

Link to comment
Share on other sites

  • 3 weeks later...

Hello,

I have the same problem, have you found a solution?

 

Server

Windows 10 Professional x64

UniGui 1.50.0.1481

Delphi Tokyo 10.2.2

 

Client

Windows 7 Professional SP1 x32 <--- the problem is on the client side, if it's 64bit works fine. I can try with Windows SO x64 and Chrome 32bit.

Chrome 70.0.3538.110 (Official Build) (32 bit)

 

Screenshot attached

https://drive.google.com/file/d/19NRz6pdERmM1oeTzIFpHkOLE9c5F-csp/view?usp=sharing

 

Link to comment
Share on other sites

Hi all,

I ran some test in the weekend and the problem seem to be linked with the operative system, I ran the Cristian's demo on Windows x32 platform and it crash after few images.

If I run the same test on Windows x64 the application work fine!
In win64 with Chrome x32 installed works fine too.

@Farshad Mohajeri  can you reproduce the problem?

Thanks a lot.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...