girakul
Enthusiast
Enthusiast

Mozilla Firefox 13.0.1 Thinapp Slow

Hi I am using VMware-ThinApp-Enterprise-4.7.2-771812 to thin my stuff now. But it seems like Mozilla Firefox is working a lot slower than it does when running in a native installation mode. It also crashes when flash player gets involved when I go to close the browser. I've tried thinning flash with the app, use flash from the local machine, use flash on the side, you name it...

Main problem is the speed of the browser, and hopefully someone can help... Thanks!!!

Here is the error that I am getting from event viewer:

Log Name:      Application
Source:        Application Error
Date:          7/6/2012 2:28:39 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      blah
Description:
Faulting application name: Mozilla Firefox.exe, version: 13.0.1.4548, time stamp: 0x4fda5ff0
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc0000029
Fault offset: 0x00090812
Faulting process id: 0xbb8
Faulting application start time: 0x01cd5ba517302752
Faulting application path: C:\Program Files (x86)\Mozilla Firefox 13.0.1 (VMware ThinApp)\Mozilla Firefox.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 678ba7b2-c798-11e1-9826-782bcbaa9a9f
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-07-06T18:28:39.000000000Z" />
    <EventRecordID>21339</EventRecordID>
    <Channel>Application</Channel>
    <Computer>blah>
    <Security />
  </System>
  <EventData>
    <Data>Mozilla Firefox.exe</Data>
    <Data>13.0.1.4548</Data>
    <Data>4fda5ff0</Data>
    <Data>ntdll.dll</Data>
    <Data>6.1.7601.17725</Data>
    <Data>4ec49b8f</Data>
    <Data>c0000029</Data>
    <Data>00090812</Data>
    <Data>bb8</Data>
    <Data>01cd5ba517302752</Data>
    <Data>C:\Program Files (x86)\Mozilla Firefox 13.0.1 (VMware ThinApp)\Mozilla Firefox.exe</Data>
    <Data>C:\Windows\SysWOW64\ntdll.dll</Data>
    <Data>678ba7b2-c798-11e1-9826-782bcbaa9a9f</Data>
  </EventData>
</Event>

Reply
0 Kudos
Lakshman
Champion
Champion

Can you give details about the captured OS and deployment OS please.

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

Yes, it is captured on win7 32 bit enterprise vm, and it is ran on win7 64 bit enterprise machines.

Reply
0 Kudos
Lakshman
Champion
Champion

Could you try commenting out Wow64=0 in the package.ini please.

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

It is commented out by default. Should I try removing the ";" and rebuilding the package?

Reply
0 Kudos
Lakshman
Champion
Champion

Yes please.

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

No luck, same result, even worse actually, the minimize, and close bottons are now all blacked out. Still generates error when closing browser. Another thing I've noticed is that it is running 2 instances of firefox in the task manager processes even though only one firefox is actually running.

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

3 Errors are being generated in the event viewer:

Faulting application name: Mozilla Firefox.exe, version: 13.0.1.4548, time stamp: 0x4fda5ff0

Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f

Exception code: 0xc0000029

Fault offset: 0x00090812

Faulting process id: 0xd30

Faulting application start time: 0x01cd5dd74f7e3a29

Faulting application path: X:\_Software\_Test\5\Mozilla Firefox 13.0.1\bin\Mozilla Firefox.exe

Faulting module path: C:\Windows\SysWOW64\ntdll.dll

Report Id: dc9c2311-c9cb-11e1-9826-782bcbaa9a9f

-----------------------------------------------------------------------------------------------------------------------------

Faulting application name: Mozilla Firefox.exe, version: 13.0.1.4548, time stamp: 0x4fda6075

Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000

Exception code: 0xc0000005

Fault offset: 0x02c142a8

Faulting process id: 0x15cc

Faulting application start time: 0x01cd5dd73cddd339

Faulting application path: X:\_Software\_Test\5\Mozilla Firefox 13.0.1\bin\Mozilla Firefox.exe

Faulting module path: unknown

Report Id: d521ec01-c9cb-11e1-9826-782bcbaa9a9f

-----------------------------------------------------------------------------------------------------------------------------

Faulting application name: Mozilla Firefox.exe, version: 13.0.1.4548, time stamp: 0x4fda5ff0

Faulting module name: NPSWF32_11_3_300_257.dll, version: 11.3.300.257, time stamp: 0x4fc821fc

Exception code: 0xc0000005

Fault offset: 0x0031bae2

Faulting process id: 0xd30

Faulting application start time: 0x01cd5dd74f7e3a29

Faulting application path: X:\_Software\_Test\5\Mozilla Firefox 13.0.1\bin\Mozilla Firefox.exe

Faulting module path: C:\Windows\SysWOW64\Macromed\Flash\NPSWF32_11_3_300_257.dll

Report Id: d521c4f1-c9cb-11e1-9826-782bcbaa9a9f

Reply
0 Kudos
Lakshman
Champion
Champion

I would like to reproduce the issue here locally. Have you bundled flash along with Firefox or installed natively?

2 instances of Firefox in the task manager is fine, as the child processes will be running in the same name. If you want to see the individual process names, set the below line in the package.ini

ProcessExternalNameBehavior=Original

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

I bundled flash 11.3.300.257 along with the firefox installation. 

Reply
0 Kudos
Lakshman
Champion
Champion

I have packaged Firefox 13 along with Flash 11.3 as a single ThinApp and it seems to be good on Win7 64.

Happy to share the ThinApp project folders, so that you can just run the build.bat to generate the ThinApp binaries.

Please PM your email to dropbox the ThinApp project folders.

View solution in original post

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

Let's test it, I will pm my email to you now.

Reply
0 Kudos
julioposa2
Contributor
Contributor

This problem was introduced in ThinApp 4.7.1. The slowness is more noticeable whith flash pages.

It seems it has not been fixed in version 4.7.2, I performed a quick test yesterday and I was able to reproduce the problem in the performance.

Best regards

MarioHidalgo
Contributor
Contributor

I have similar issue. Any updates?

Reply
0 Kudos
Lakshman
Champion
Champion

Yes, the Firefox performance issues introduced in 4.7.1 are not fixed in 4.7.2.

girakul
Enthusiast
Enthusiast

I figured out what was the problem that was causing the performance issue and the crash issue when flash was getting involved. Apparently Flash is using a sandbox of it's own, and thinapps are not working well when a sandbox is virtualized into another sandbox. So there is a way to disable flash sandbox before doing the postscan of the app. To do it you got to navigate to  C:\Windows\System32\Macromed\Flash and open the MMC.CFG file, on the third line just add the ProtectedMode=0 save the file and close it.

Reply
0 Kudos
Lakshman
Champion
Champion

Brilliant! Do you see this has fixed the crash and the performance issues?

Reply
0 Kudos
girakul
Enthusiast
Enthusiast

Yup Smiley Happy

Reply
0 Kudos
Lakshman
Champion
Champion

Awesome Smiley Happy

Reply
0 Kudos
julioposa2
Contributor
Contributor

I still experience the same performance issue playing flash videos even after doing that steps Smiley Sad

Checked with Opera 12.0 and Firefox 12.0

Regards

Reply
0 Kudos