Jump to content

uplink & wine (ubuntu linux)


Recommended Posts

Hey!

 

I started playing today with uplink using wine (linux / ubuntu). The installation works well until the driver install is going to start (this is, after clicking OK in the alert box).

Then, wine dies:

 

$ wine uplinksetup.exe

fixme:setupapi:SetupDiGetClassDevsW : unimplemented for DIGCF_ALLCLASSES

fixme:setupapi:SetupDiEnumDeviceInfo 0xffffffff 0 0x7fb0cce8

wine: Call from 0x4051b7 to unimplemented function setupapi.dll.SetupDiGetINFCla ssA, aborting

wine: Unhandled exception (thread 0028), starting debugger...

WineDbg starting on pid 0x27

Unhandled exception: unimplemented function setupapi.dll.SetupDiGetINFClassA cal led in 32-bit code (0x7db01051).

In 32 bit mode.

Register dump:

CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033

EIP:7db01051 ESP:7fb0cc48 EBP:7fb0cc9c EFLAGS:00200216( - 00 - IAP1)

EAX:7db049e1 EBX:7db278a0 ECX:7befec40 EDX:7beff086

ESI:7fb0d14c EDI:7fb0d14c

Stack dump:

0x7fb0cc48: 80000100 00000001 00000000 004051b7

0x7fb0cc58: 00000002 7db1baa0 7db1d497 7db23428

0x7fb0cc68: 7fb0ccbc 7db2d249 7db2c7bf b7f8f23c

0x7fb0cc78: 7fb0d14c 7fb0cce8 7fb0cca4 b7f8bbaa

0x7fb0cc88: 00000000 7db2d248 7db2c7bf 7db23428

0x7fb0cc98: 7db278a0 7fb0ccac 7db03256 7db1d497

0200: sel=1007 base=b7fad000 limit=00001f97 32-bit rw-

Backtrace:

=>1 0x7db01051 in setupapi (+0x1051) (0x7fb0cc9c)

2 0x7db03256 __wine_stub_setupapi_dll_345+0x0 in setupapi (0x7fb0ccac)

3 0x004051b7 in setup (+0x51b7) (0x7fb0cd14)

4 0x00405188 in setup (+0x5188) (0x7fb0cf30)

5 0x00401958 in setup (+0x1958) (0x7fb0d184)

6 0x00405e08 in setup (+0x5e08) (0x7fb0d5a4)

7 0x00409d04 in setup (+0x9d04) (0x7fb0eac4)

8 0x00409982 in setup (+0x9982) (0x7fb0eae0)

9 0x0040bf0e in setup (+0xbf0e) (0x7fb0eaf8)

10 0x7f89e727 WINPROC_wrapper+0x17 in user32 (0x7fb0eb1c)

11 0x7f89f234 in user32 (+0x8f234) (0x7fb0eb58)

12 0x7f8a2874 CallWindowProcA+0x7b in user32 (0x7fb0eb9c)

13 0x7f83c30e DefDlgProcA+0x91 in user32 (0x7fb0ebcc)

14 0x7f89e727 WINPROC_wrapper+0x17 in user32 (0x7fb0ebf0)

15 0x7f89f234 in user32 (+0x8f234) (0x7fb0ec2c)

16 0x7f8a4dee CallWindowProcW+0x132 in user32 (0x7fb0f0e8)

17 0x7f86ff9f DispatchMessageW+0x152 in user32 (0x7fb0f11c)

18 0x7f840b42 IsDialogMessageW+0x104 in user32 (0x7fb0f26c)

19 0x7f9693bc in comctl32 (+0x493bc) (0x7fb0f2b4)

20 0x7f96d013 PropertySheetA+0x25f in comctl32 (0x7fb0f31c)

21 0x004097e1 in setup (+0x97e1) (0x7fb0f3a8)

22 0x00409dc8 in setup (+0x9dc8) (0x7fb0fbf0)

23 0x7f8c9c08 _DYNAMIC+0x1f8 in user32 (0x00000002)

24 0x00000000 (0x00000000)

0x7db01051: subl $4,%esp

Wine-dbg>

 

The software is installed and I can start it and skype. It connects to my asterisk but when I dial out (to echo123) I hear the voice thru the speakers (ie, not thru the phone).

I suspect this driver which is not being installed correctly re-routes the sound to Uplink.

Does anyone has a hint on how to make it work?

Link to comment
Share on other sites

Ok, I recompiled Wine with this patch http://www.winehq.org/pipermail/wine-patch...ber/021339.html and I got:

 

~/dev/wine-0.9.14~winehq1~ubuntu~5.10$ ./wine ~/Desktop/uplinksetup.exe

fixme:setupapi:SetupDiGetClassDevsW : unimplemented for DIGCF_ALLCLASSES

fixme:setupapi:SetupDiEnumDeviceInfo 0xffffffff 0 0x7faeca98

wine: Unhandled page fault on write access to 0x00000033 at address 0xb7e7185a (thread 000d), starting debugger...

WineDbg starting on pid 0xc

Unhandled exception: page fault on write access to 0x00000033 in 32-bit code (0xb7e7185a).

Register dump:

CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033

EIP:b7e7185a ESP:7faec8e0 EBP:7faec92c EFLAGS:00210213( - 00 -RIA1C)

EAX:00000033 EBX:7dca25e8 ECX:00000002 EDX:00000000

ESI:7fdc43b4 EDI:00000033

Stack dump:

0x7faec8e0: 7dc9052e 00000033 7fdc43b4 0000000a

0x7faec8f0: 00000000 7faec910 7fdc43b4 7faec960

0x7faec900: 00000000 b7f5c128 7dcac94c 7faec93c

0x7faec910: 7fdc04f0 7fdc04f0 00000000 00000005

0x7faec920: 7dca25e8 7fdc80f4 7fdc04f0 7faec97c

0x7faec930: 7dc92645 7fdc04f0 7fdc43b4 00000033

Backtrace:

=>1 0xb7e7185a memcpy+0x1a in libc.so.6 (0xb7e7185a)

2 0x7dc92645 SetupGetLineTextW+0x195(context=0x0, hinf=0x7fdc04f0, section_name=0x7dc9fa6c, key_name=0x7dc9fa4c, buffer=0x33, size=0x20, required=0x7faeca0c) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/setupapi/parser.c:1558] in setupapi (0x7dc92645)

3 0x7dc8a1b3 SetupDiGetINFClassW+0x153(InfName=0x7fdc2048, ClassGuid=0x7faecab4, ClassName=0x33, ClassNameSize=0x20, RequiredSize=0x0) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/setupapi/devinst.c:1214] in setupapi (0x7dc8a1b3)

4 0x7dc8a54f SetupDiGetINFClassA+0x8f(InfName=0x7faecbdc, ClassGuid=0x7faecab4, ClassName=0x7faeca78, ClassNameSize=0x20, RequiredSize=0x0) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/setupapi/devinst.c:1174] in setupapi (0x7dc8a54f)

5 0x004051b7 in setup (+0x51b7) (0x004051b7)

6 0x00405188 in setup (+0x5188) (0x00405188)

7 0x00401958 in setup (+0x1958) (0x00401958)

8 0x00405e08 in setup (+0x5e08) (0x00405e08)

9 0x00409d04 in setup (+0x9d04) (0x00409d04)

10 0x00409982 in setup (+0x9982) (0x00409982)

11 0x0040bf0e in setup (+0xbf0e) (0x0040bf0e)

12 0x7f873d0a WINPROC_wrapper+0x1a in user32 (0x7f873d0a)

13 0x7f8744b6 call_dialog_proc+0x66(hwnd=0x10050, msg=0x113, wp=0x64, lp=0x0, result=0x7faeefe4, arg=0x40bea3) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/winproc.c:454] in user32 (0x7f8744b6)

14 0x7f878374 WINPROC_CallProcWtoA+0x144(wParam=0x64, lParam=0x0, result=0x7faeefe4, arg=0x40bea3) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/winproc.c:2334] in user32 (0x7f878374)

15 0x7f878f99 WINPROC_CallDlgProcW+0xb9(func=0xffff001b, hwnd=0x10050, msg=0x113, wParam=0x64, lParam=0x0) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/winproc.c:2721] in user32 (0x7f878f99)

16 0x7f814f6b DefDlgProcW+0x5b(hwnd=0x10050, msg=0x113, wParam=0x64, lParam=0x0) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/defdlg.c:493] in user32 (0x7f814f6b)

17 0x7f873d0a WINPROC_wrapper+0x1a in user32 (0x7f873d0a)

18 0x7f8771b6 call_window_proc+0x66(hwnd=0x10050, msg=0x113, wp=0x64, lp=0x0, result=0x7faef0e4, arg=0x7f814f10) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/winproc.c:433] in user32 (0x7f8771b6)

19 0x7f87901d CallWindowProcW+0x4d(func=0xffff0004, hwnd=0x10050, msg=0x113, wParam=0x64, lParam=0x0) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/winproc.c:2626] in user32 (0x7f87901d)

20 0x7f847452 DispatchMessageW+0x172(msg=0x7faef29c) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/message.c:3038] in user32 (0x7f847452)

21 0x7f8190a9 IsDialogMessageW+0xf9(hwndDlg=0x10034, msg=0x7faef29c) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/user/dialog.c:1190] in user32 (0x7f8190a9)

22 0x7f93bd84 do_loop+0x74 [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/comctl32/propsheet.c:2738] in comctl32 (0x7f93bd84)

23 0x7f93f79b PropertySheetA+0x24b(lppsh=0x7faef31c) [/home/runa/dev/wine-0.9.14~winehq1~ubuntu~5.10/dlls/comctl32/propsheet.c:2812] in comctl32 (0x7f93f79b)

24 0x004097e1 in setup (+0x97e1) (0x004097e1)

25 0x00409dc8 in setup (+0x9dc8) (0x00409dc8)

26 0x7f894acc _GLOBAL_OFFSET_TABLE_ in user32 (0x7f894acc)

27 0x00000000 (0x00000000)

0xb7e7185a memcpy+0x1a in libc.so.6: movsw (%esi),%es:(%edi)

Wine-dbg>quit

 

Any hints?

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...