Jump to content
Mumble forums

Hitting an issue getting Mumble ported to Windows RT[SOLVED]


netham
 Share

Recommended Posts

Mumble (Corrupt function):

0:000> dq user32.dll+0x023918
77a63918  47c30042`44696841 4770df01`0c16f241
77a63928  4770df01`0c17f241 4770df01`0c18f241
77a63938  4770df01`0c19f241 4770df01`0c1af241
77a63948  4770df01`0c1bf241 4770df01`0c1cf241
77a63958  4770df01`0c1df241 4770df01`0c1ef241
77a63968  4770df01`0c1ff241 4770df01`5c81f44f
77a63978  4770df01`0c21f241 4770df01`0c22f241
77a63988  4770df01`0c23f241 4770df01`0c24f241
0:000> u user32.dll+0x023918
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\windows\system32\user32.dll -
user32!WindowFromPoint:
77a63918 6841     ldr         r1,[r0,#4]
77a6391a 4469     add         r1,r1,sp
77a6391c 0042     lsls        r2,r0,#1
77a6391e 47c3     ?blx        r8
77a63920 f2410c16 mov         r12,#0x1016
77a63924 df01     svc         #1

 

TeXworks (Expected output):

0:000> dq user32.dll+0x23918
77a63918  4770df01`0c15f241 4770df01`0c16f241
77a63928  4770df01`0c17f241 4770df01`0c18f241
77a63938  4770df01`0c19f241 4770df01`0c1af241
77a63948  4770df01`0c1bf241 4770df01`0c1cf241
77a63958  4770df01`0c1df241 4770df01`0c1ef241
77a63968  4770df01`0c1ff241 4770df01`5c81f44f
77a63978  4770df01`0c21f241 4770df01`0c22f241
77a63988  4770df01`0c23f241 4770df01`0c24f241
0:000> u user32.dll+0x23918
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\windows\system32\USER32.dll -
USER32!WindowFromPoint:
77a63918 f2410c15 mov         r12,#0x1015
77a6391c df01     svc         #1
77a6391e 4770     bx          lr
77a63920 f2410c16 mov         r12,#0x1016
77a63924 df01     svc         #1
77a63926 4770     bx          lr
77a63928 f2410c17 mov         r12,#0x1017
77a6392c df01     svc         #1

 

The top is a copy of Mumble I'm trying to get running on Windows RT, the bottom is a copy of TeXworks running on Windows RT

I have absolutely no idea why, but that one function inside user32.dll is getting corrupted when loaded by the build of Mumble I'm making, but not by any other program on the tablet.

I've already killed (to the best of my knowledge) the app compatibility engine, and I stripped anything that might even look remotely suspect from the manifests for Mumble and Qt (including removing the manifests totally)

Mumble's dependencies are Qt, Boost, OpenSSL, and Protobuf

TeXworks uses Qt too, hence why I was testing with it.

If I patch that function in memory after my copy of Mumble loads it all works great, but for some reason I can't get it to load with that function intact. =/


Edit: This was solved by removing the hook hidden at GlobalShortcut_Win.cpp:52. Those hooks are not platform independent.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...