http://bugs.winehq.org/show_bug.cgi?id=31157
Bug #: 31157 Summary: Filemaker Pro 12 Trial crashes Product: Wine Version: 1.2.3 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: maikwagner@yahoo.com Classification: Unclassified
Created attachment 40903 --> http://bugs.winehq.org/attachment.cgi?id=40903 Crash Output on Filemaker 12
I would like to report some issues with Filemaker 12 Trial which can be downloaded from Filemaker.com.
The application installs okay and I can start "Filemaker 12" from the command line. When opening a sample solution (I selected "Invoices") the application crashes. I have attached my console output.
http://bugs.winehq.org/show_bug.cgi?id=31157
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-07-07 10:00:27 CDT --- Wine 1.2.3 is very old, please upgrade to the latest development version of wine 1.5.8 and try again in a clean prefix. If the problem persists, attach a new backtrace.
http://bugs.winehq.org/show_bug.cgi?id=31157
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40903|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #2 from Austin English austinenglish@gmail.com 2012-07-09 14:29:55 CDT --- `winetricks ie7` may help.
http://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2013-05-22 09:35:42 CDT --- Is this still an issue in the latest development version of wine (currently 1.5.30)?
http://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #4 from maikwagner@yahoo.com 2013-08-28 11:18:43 CDT --- Created attachment 45761 --> http://bugs.winehq.org/attachment.cgi?id=45761 wine 1.6 Filemaker crash dump
Still happening in Wine 1.6
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #5 from Maik Wagner maiktapwagner@aol.com --- The application installs fine in a clean prefix in wine 1.7.22. Unfortunately my trial version has expired. Is there any registry key I might remove?
https://bugs.winehq.org/show_bug.cgi?id=31157
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://download.cnet.com/Fi | |leMaker-Pro/3000-2065_4-107 | |20179.html CC| |focht@gmx.net Summary|Filemaker Pro 12 Trial |Filemaker Pro 12 Trial |crashes |crashes when opening a | |sample solution Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/FileMaker/FileMaker Pro 12
$ WINEDEBUG=+tid,+seh,+relay wine ./FileMaker\ Pro.exe >>log.txt 2>&1 ... 002d:Call imm32.ImmCreateContext() ret=00967818 ... 002d:Ret imm32.ImmCreateContext() retval=0b8f77b0 ret=00967818 002d:Call imm32.ImmAssociateContext(0004021a,0b8f77b0) ret=0096782d 002d:Call KERNEL32.IsBadReadPtr(0b8f77b0,00000150) ret=7e50a0a0 002d:Ret KERNEL32.IsBadReadPtr() retval=00000000 ret=7e50a0a0 002d:Call user32.RemovePropW(0004021a,7e512320 L"WineImmHIMCProperty") ret=7e50a1c3 002d:Ret user32.RemovePropW() retval=00000000 ret=7e50a1c3 002d:Call user32.SetPropW(0004021a,7e512320 L"WineImmHIMCProperty",0b8f77b0) ret=7e50a236 002d:Ret user32.SetPropW() retval=00000001 ret=7e50a236 002d:Call user32.IsWindow(00000000) ret=7e50a275 002d:Ret user32.IsWindow() retval=00000000 ret=7e50a275 002d:Call user32.IsWindow(0004021a) ret=7e50a2bb 002d:Ret user32.IsWindow() retval=00000001 ret=7e50a2bb 002d:Call user32.SendMessageW(0004021a,00000281,00000001,c000000f) ret=7e50a2e8 002d:Call window proc 0x78a3c187 (hwnd=0x4021a,msg=WM_IME_SETCONTEXT,wp=00000001,lp=c000000f) 002d:Call KERNEL32.ActivateActCtx(00184f60,0033a570) ret=78a3ba3e 002d:Ret KERNEL32.ActivateActCtx() retval=00000001 ret=78a3ba3e 002d:trace:seh:raise_exception code=c0000005 flags=0 addr=0x732ed6 ip=00732ed6 tid=002d 002d:trace:seh:raise_exception info[0]=00000000 002d:trace:seh:raise_exception info[1]=00000004 002d:trace:seh:raise_exception eax=00000000 ebx=c000000f ecx=00000000 edx=00000000 esi=00000000 edi=0808f798 002d:trace:seh:raise_exception ebp=0033a450 esp=0033a388 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 ... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00732ed6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:00732ed6 ESP:0033a388 EBP:0033a450 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:c000000f ECX:00000000 EDX:00000000 ESI:00000000 EDI:0808f798 ... Backtrace: =>0 0x00732ed6 in filemaker pro (+0x332ed6) (0x0033a450) 0x00732ed6: movl 0x4(%esi),%eax Modules: Module Address Debug info Name (277 modules) PE 350000- 35e000 Deferred xalanmessages_1_11 PE 360000- 3e4000 Deferred proofreader PE 3f0000- 3f9000 Deferred omnithread PE 400000- 10f4000 Export filemaker pro PE 1100000- 11fd000 Deferred dli_pdfl91 PE 1200000- 1238000 Deferred xgrfx PE 1240000- 1431000 Deferred support PE 1440000- 155a000 Deferred libeay32 ... Threads: process tid prio (all id:s are in hex) .. 0000002c (D) C:\Program Files\FileMaker\FileMaker Pro 12\FileMaker Pro.exe 0000004d 0 0000004c 0 0000004b 0 0000004a 0 ... 00000030 0 0000002f 0 0000002e 0 0000002d 0 <== --- snip ---
@Maik
--- quote --- Unfortunately my trial version has expired. Is there any registry key I might remove? --- quote ---
That's one of the reasons why you install each app in a separate WINEPREFIX. Trial expired -> throw away the old prefix and install app in new prefix.
Another way is to use tools that allow to snapshot the whole prefix, for example managing prefixes with btrfs subvolumes (I use the snapshot feature to quickly transition/reset/revert to any state).
Of course there are other methods to reset the trial. I'm sure you understand why "recipes" or description how the mechanism works doesn't belong here (unless it's needed to fix a bug related to DRM scheme).
$ sha1sum fmp_trial_fm_12.0.1.183.exe feccde9dc759da0f924fd3b0498bad2c61b496da fmp_trial_fm_12.0.1.183.exe
$ du -sh fmp_trial_fm_12.0.1.183.exe 276M fmp_trial_fm_12.0.1.183.exe
$ wine --version wine-1.7.22-70-g509bdae
Regards
https://bugs.winehq.org/show_bug.cgi?id=31157
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |imm32 Summary|Filemaker Pro 12 Trial |Filemaker Pro 12 Trial |crashes when opening a |crashes when opening a |sample solution |sample solution | |('ImmAssociateContext' | |should only generate | |'WM_IME_SETCONTEXT' if | |window has focus)
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
it seems the app's message handler doesn't like/expect 'WM_IME_SETCONTEXT' message during 'ImmAssociateContext' hence crash in some nested app code.
MSDN: http://msdn.microsoft.com/en-us/library/cc194857.aspx
--- quote --- To create an input context, call ImmCreateContext. To associate this context with a window, call ImmAssociateContext. After you have associated an input context with a window, the system will automatically provide the input context whenever the window gets the focus. The system generates a WM_IME_SETCONTEXT message; the input context is contained in the lParam. If you make changes to the input context, you should call ImmNotifyIME so that the IME can remain synchronized. To destroy the custom input context before you terminate your application, you must call ImmDestroyContext. --- quote ---
The key here is: who has the focus. The window doesn't have the focus at the point of associating the context hence it doesn't seem correct to unconditionally send 'WM_IME_SETCONTEXT' message.
Source: http://source.winehq.org/git/wine.git/blob/f0de67de0cab3e67364d699850d86325d...
--- snip --- 475 HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC) 476 { ... 519 if (!hIMC) 520 return old; 521 522 if (IsWindow(data->IMC.hWnd)) 523 { 524 /* 525 * Post a message that your context is switching 526 */ 527 SendMessageW(data->IMC.hWnd, WM_IME_SETCONTEXT, FALSE, ISC_SHOWUIALL); 528 } 529 530 data->IMC.hWnd = hWnd; 531 532 if (IsWindow(data->IMC.hWnd)) 533 { 534 /* 535 * Post a message that your context is switching 536 */ 537 SendMessageW(data->IMC.hWnd, WM_IME_SETCONTEXT, TRUE, ISC_SHOWUIALL); 538 } 539 540 return old; 541 } --- snip ---
I modified the code to only send 'WM_IME_SETCONTEXT' if focused window == hWnd and it helped. The app doesn't crash and all templates/examples are loaded successfully.
Regards
http://bugs.winehq.org/show_bug.cgi?id=31157
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #8 from Maik Wagner maiktapwagner@aol.com --- Hello Anastasius,
thanks for looking into this and modifying the wine codebase. Is this going to be integrated in the next version of "wine" when it comes out?
http://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello Maik,
--- quote --- thanks for looking into this and modifying the wine codebase. Is this going to be integrated in the next version of "wine" when it comes out? --- quote ---
Since this is not a complex issue it could be days or weeks away. A small test case should help further to prove my findings and solution.
There is no guarantee though - depending on complexity it sometimes takes months or even years until they get picked up.
Regards
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #10 from Maik Wagner maiktapwagner@aol.com --- Created attachment 50236 --> https://bugs.winehq.org/attachment.cgi?id=50236 Filemaker 12 Backtrace on wine 1.7.32
Hello again,
good thing that I had a spare copy of the archive. Unfortunately the issue is still present. It still happens when I create a sample solution and try to save it. Upon hitting the save button it crashes and it produced the output that I have attached.
https://bugs.winehq.org/show_bug.cgi?id=31157
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=31157
Rolle Retupera winist@mt2015.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winist@mt2015.com
--- Comment #11 from Rolle Retupera winist@mt2015.com --- Created attachment 54939 --> https://bugs.winehq.org/attachment.cgi?id=54939 Log from opening/saving sample project
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #12 from Rolle Retupera winist@mt2015.com --- (In reply to Rolle Retupera from comment #11)
Created attachment 54939 [details] Log from opening/saving sample project
Still happens with wine-1.9.13 (Staging). Log starts at clicking "Use a starter project" and crash happens when clicking save. Accidentally sent only attachment since I thought it would still let me edit comment after doing it..
https://bugs.winehq.org/show_bug.cgi?id=31157
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=42443
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #13 from Maik Wagner maiktapwagner@aol.com --- Still happening in wine 3.0-rc2. Will add console output and logs.
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #14 from Maik Wagner maiktapwagner@aol.com --- Created attachment 60050 --> https://bugs.winehq.org/attachment.cgi?id=60050 Console Output wine 3.0rc2 (Non-staging)
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #15 from Maik Wagner maiktapwagner@aol.com --- Created attachment 60051 --> https://bugs.winehq.org/attachment.cgi?id=60051 Backtrace on wine 3.0rc2 (non-staging)
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #16 from Maik Wagner maiktapwagner@aol.com --- Dear Anastasius,
thank you very much for writing this code and I am willing to give it a try to move this forward. Please let me know what I need to do to patch the wine sources to try this.
Here is what I know about wine development: - I can download, compile and build Slackware packages - I never used the patch command
Can you walk me through please or is there a tutorial in the Wiki?
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 61052 --> https://bugs.winehq.org/attachment.cgi?id=61052 hack
Still present with wine-3.5
(In reply to Maik Wagner from comment #16) I attached a hack based on Focht's analysis. It fixes the issue for me.
https://bugs.winehq.org/show_bug.cgi?id=31157
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |le.pocher.julien@gmail.com
--- Comment #18 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 42443 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=31157
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Summary|Filemaker Pro 12 Trial |Multiple programs |crashes when opening a |(Filemaker Pro 12 Trial, |sample solution |MyDiff) crash opening a |('ImmAssociateContext' |sample solution |should only generate |('ImmAssociateContext' |'WM_IME_SETCONTEXT' if |should only generate |window has focus) |'WM_IME_SETCONTEXT' if | |window has focus)
--- Comment #19 from Louis Lenders xerox.xerox2000x@gmail.com --- changed title bit
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #20 from Maik Wagner maiktapwagner@aol.com ---
I attached a hack based on Focht's analysis. It fixes the issue for me.
Does anyone know if this hack has been integrated in later versions of wine? If yes, I can retest this with latest wine 3.13.
https://bugs.winehq.org/show_bug.cgi?id=31157
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple programs |Multiple programs |(Filemaker Pro 12 Trial, |(Filemaker Pro 12, 19 |MyDiff) crash opening a |Trial, MyDiff) crash |sample solution |opening a sample solution |('ImmAssociateContext' |('ImmAssociateContext' |should only generate |should only generate |'WM_IME_SETCONTEXT' if |'WM_IME_SETCONTEXT' if |window has focus) |window has focus)
--- Comment #21 from Louis Lenders xerox.xerox2000x@gmail.com --- Still present in wine-3.17. Tested File Maker Pro 19 trial
https://bugs.winehq.org/show_bug.cgi?id=31157
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=31157
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |leslie_alistair@hotmail.com Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/imm32-message_on | |_focus
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #22 from Maik Wagner maiktapwagner@aol.com --- (In reply to Gijs Vermeulen from comment #17)
I attached a hack based on Focht's analysis. It fixes the issue for me.
Thank you for staging this hack. I have 4.19-staging here and recreated the original bug.
The download URL is also still valid and sha1sum has been compared.
Everything just works fine now with 4.19-staging.
https://bugs.winehq.org/show_bug.cgi?id=31157
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julien.arnaud@sib-retail.co | |m
--- Comment #23 from Anastasius Focht focht@gmx.net --- *** Bug 48999 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=31157
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.cnet.com/Fi |https://web.archive.org/web |leMaker-Pro/3000-2065_4-107 |/20200423140034/https://fmd |20179.html |l.filemaker.com/esd/fmpa_18 | |.0.3.317_x64.exe Summary|Multiple programs |Multiple applications |(Filemaker Pro 12, 19 |(FileMaker Pro 12-19, |Trial, MyDiff) crash |MyDiff) crash when trying |opening a sample solution |to create/open sample |('ImmAssociateContext' |solution |should only generate |('ImmAssociateContext' |'WM_IME_SETCONTEXT' if |should only generate |window has focus) |'WM_IME_SETCONTEXT' if | |window has focus)
--- Comment #24 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting and adding some stable download links from bug 48999 here for reproducing.
32-bit and 64-bit FileMaker Pro/Advanced 18 via Internet Archive:
https://web.archive.org/web/20200423140034/https://fmdl.filemaker.com/esd/fm...
https://web.archive.org/web/20200423140653/https://fmdl.filemaker.com/esd/fm...
---
$ sha1sum fmpa_18.0.3.317_x* 4539cf921beb0a19704df52dc223e01524c4bdb8 fmpa_18.0.3.317_x32.exe 94e56140cf0118abbb662bb73921e9bb6f664257 fmpa_18.0.3.317_x64.exe
$ du -sh fmpa_18.0.3.317_x* 283M fmpa_18.0.3.317_x32.exe 295M fmpa_18.0.3.317_x64.exe
$ wine --version wine-5.6-352-g36a553c5be
Regards
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #25 from Anastasius Focht focht@gmx.net --- Hello folks,
adding a couple more stable download links via Internet Archive for reproduce.
I couldn't find a specific bug targeting FileMaker Pro 17 to put download links in hence I'm leaving them here for documentation purpose.
https://web.archive.org/web/20210317165413if_/http://fmdl.filemaker.com/main...
https://web.archive.org/web/20210317174235if_/http://fmdl.filemaker.com/main...
$ sha1sum fm*17* 334d6c9f887417981f37cc186fc673af66a10c23 fmpa_17.0.1.143_x32.exe f38166f8d764d8ced5d34c29163096f857b97839 fmpa_17.0.1.143_x64.exe
$ du -sh fm*17* 282M fmpa_17.0.1.143_x32.exe 296M fmpa_17.0.1.143_x64.exe
$ wine --version wine-6.4-86-g4d5824112e1
Regards
https://bugs.winehq.org/show_bug.cgi?id=31157
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #26 from Zebediah Figura z.figura12@gmail.com --- I tried to retest this since it seems likely that it was fixed upstream by 01e072bb68. Unfortunately it seems that some workarounds have been omitted in the description of this bug. I first need to install native .NET 4.6, otherwise the program won't even install. Even then, though, I can't get it to actually run, with wine 6.19; it crashes with the following exception:
Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Windows.Application' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Navigation.BaseUriHelper..cctor() --- End of inner exception stack trace --- at System.Windows.Application.ApplicationInit() at System.Windows.Application..cctor() --- End of inner exception stack trace --- at NETFramework.PreloadWPF()
Is there something else that needs to be done, or has there been a regression?
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #27 from Zebediah Figura z.figura12@gmail.com --- I can at least confirm that 01e072bb68 (specifically) fixes MyDiff, from bug 42443. That's with dotnet46 installed; I don't know if it works with Mono.
https://bugs.winehq.org/show_bug.cgi?id=31157
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #28 from temp82@luukku.com --- the staging link gives 404 error was the patch upstreamed?
https://bugs.winehq.org/show_bug.cgi?id=31157
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |01e072bb68166c235bfda20874b | |0fc0065a25e62 Resolution|--- |FIXED
--- Comment #29 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting. I've retested with FileMaker 17 and the Wine versions in question from Zeb's comments #26 and comment #27. The problem is indeed gone.
Prerequisites:
* 'winetricks -q dotnet46' * 'winetricks -q corefonts'
I've selected 'Invoice' from 'examples' for reproduction.
Wine 6.19 = crashes (relay trace hints at original problem) Wine 6.20 = no crash
Marking 'fixed' here.
https://source.winehq.org/git/wine.git/commitdiff/01e072bb68166c235bfda20874... ("imm32: Only call ImmSetActiveContext for active window in ImmAssociateContext.")
Part of Wine 6.20 release.
Thanks Piotr
Regards
https://bugs.winehq.org/show_bug.cgi?id=31157
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.18.
https://bugs.winehq.org/show_bug.cgi?id=31157
--- Comment #31 from Maik Wagner maiktapwagner@aol.com --- I would like to say thanks for all the effort you all put into this bug and I am glad that this ended up in a good fix.