http://bugs.winehq.org/show_bug.cgi?id=31717
Bug #: 31717 Summary: aplication crashes when attempting to interact with TAPI32 - unimplemented? Tapi32.dll.lineInitializeExW Product: Wine Version: 1.4 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: tapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: ah@payleven.pl Classification: Unclassified
application Cortex, after installation went OK, and it started fine it crashed when trying to work with some telephony subsystem with the following error:
fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? wine: Call from 0x7bc49f20 to unimplemented function Tapi32.dll.lineInitializeExW, aborting
I would love to get it working under Linux - but I have very little experience with wine. I have installed wine-dbg but I guess it is a little use of this function call is simply unimplemented ?
How do I get more info on what exactly is wrong ? Maybe initialization of lineInitializeExW is trivial?
http://bugs.winehq.org/show_bug.cgi?id=31717
--- Comment #1 from ahoros ah@payleven.pl 2012-09-16 13:56:14 CDT --- I have upgraded to wine 1.5.13 (change log indicated that some missing functions have been stubbed) but unfortunately there is no change:
wine: Call from 0x7bc4a1d0 to unimplemented function Tapi32.dll.lineInitializeExW, aborting
http://bugs.winehq.org/show_bug.cgi?id=31717
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2012-09-16 14:13:24 CDT --- Created attachment 41702 --> http://bugs.winehq.org/attachment.cgi?id=41702 stub function
The attached patch may help. You need to build wine yourself to test a patch, you can have more info at http://wiki.winehq.org/GitWine#head-b892e8af0fa963bcd46d9cf494de181128bb8a64 http://www.winehq.org/docs/wineusr-guide/installing-wine-source
You can also search the forums and ask for help there about how to test a patch.
http://bugs.winehq.org/show_bug.cgi?id=31717
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #3 from Austin English austinenglish@gmail.com 2012-09-16 16:22:34 CDT --- Not major.
http://bugs.winehq.org/show_bug.cgi?id=31717
--- Comment #4 from ahoros ah@payleven.pl 2012-09-17 12:45:07 CDT --- I have build wine 1.5.13 from scratch including you patch for stub unfortunately there is still segfault in the application but different error message: External exception 80000100
terminal log shows: wine: Call from 0x7bc49f20 to unimplemented function Tapi32.dll.lineInitializeExW, aborting
I guess one of the pointers cannot be null...
p.s. I will try to copy over the original tapi32 from windows XP and test it.
http://bugs.winehq.org/show_bug.cgi?id=31717
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2012-09-17 13:16:23 CDT --- Did you "make install" after compiling wine? I'm afraid you are still using your older wine version because the error is the same, the function was not found.
http://bugs.winehq.org/show_bug.cgi?id=31717
--- Comment #6 from ahoros ah@payleven.pl 2012-09-17 14:24:10 CDT --- Sorry- silly mistake. Patch does work - application no longer crashes. However while runing there are other tapi related problems.
ererr:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1 fixme:comm:set_queue_size insize 4096 outsize 2048 unimplemented stub fixme:tapi:lineInitializeExW (0x1e08100, 0x400000, 0x5f0d64, (null), 0x32f7c0, 0x32f7c4, 0x32f7c8): stub. fixme:tapi:phoneInitializeExW (0x1e08104, 0x400000, 0x5f0e08, (null), 0x32f7c0, 0x32f7c4, 0x32f7e0): stub. fixme:tapi:lineNegotiateAPIVersion ((nil), 0, 65539, 131074, 0x32f7dc, 0x32f7c0): stub. fixme:tapi:lineGetDevCapsA ((nil), 00000000, 00020002, 00000000, 0x5eb8888): stub. fixme:tapi:lineNegotiateExtVersion stub. fixme:tapi:lineNegotiateExtVersion stub.
fixme:tapi:lineNegotiateExtVersion stub. fixme:tapi:lineNegotiateExtVersion stub.fixme:tapi:lineNegotiateExtVersion stub. ^Cfixme:tapi:lineNegotiateExtVersion stub. fixme:tapi:lineNegotiateExtVersion stub.
massively repeating: fixme:tapi:lineNegotiateExtVersion stub.
---
I have tried running Cortex.exe with native tapi32.dll and I am happy to say it seems to do the trick - so for time being I will stick to this hybrid solution.
http://bugs.winehq.org/show_bug.cgi?id=31717
--- Comment #7 from ahoros ah@payleven.pl 2012-09-17 14:28:17 CDT --- p.s. bottom line is that this one call seems to be essential to be properly implemented and stub does not work:
fixme:tapi:lineNegotiateExtVersion stub.
(application is just looping endlessly trying go get proper answer calling over and over again lineNegotiateExtVersion and using 100% of one CPU core)
http://bugs.winehq.org/show_bug.cgi?id=31717
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2012-09-17 14:57:56 CDT --- We usually work one problem per bug so let's make this bug about the unimplemented call issue (as the subject suggests).
Please, open a new bug about the lineNegotiateExtVersion issue. It could be something like "<app name> needs lineNegotiateExtVersion to be implemented".
Currently wine fakes the return of most tapi functions to 0 which means OK, the program may be happier if you change that function code to return number <0.
What does this program do? How better it works with native tapi?
http://bugs.winehq.org/show_bug.cgi?id=31717
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |51572d8a354b44e43e8331c4aa8 | |6fa545ddbefda Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2012-09-18 14:14:40 CDT --- http://source.winehq.org/git/wine.git/commitdiff/51572d8a354b44e43e8331c4aa8...
http://bugs.winehq.org/show_bug.cgi?id=31717
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-09-28 13:43:01 CDT --- Closing bugs fixed in 1.5.14.