http://bugs.winehq.org/show_bug.cgi?id=30378
Bug #: 30378 Summary: Xuzhou Product: Wine Version: 1.5.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com Classification: Unclassified
1. Download Xuzhou network client (徐州电信校园网拨号软件v1.1) from: http://fb.86516.com/adsl/adslrj_files/xiaoyuanDialNew%20v1.1.rar
Unpack the rar archive give us: 校园网认证拨号客户端 v1.1.msi
2. install dependencies for 校园网认证拨号客户端 v1.1.msi : $ winetricks mfc42 Copy native npptools from WinXP
3. install the network client: $ LC_CTYPE=en_US.utf8 msiexec /i 校 园网认证拨号客户端\ v1.1.msi (Bug 10063)
4. start the network client: $ cd ~/.wine/drive_c/windows/system32 $ wine VnetPPPOE.EXE
Actual result: Crash Expect result: Display the network client GUI
Override native rasapi32.dll + rasman.dll will avoid the crashing
http://bugs.winehq.org/show_bug.cgi?id=30378
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Xuzhou |Xuzhou network client | |crashes at start
--- Comment #1 from Qian Hong fracting@gmail.com 2012-04-08 05:21:55 CDT --- Sorry, bad summary... fixed.
http://bugs.winehq.org/show_bug.cgi?id=30378
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://fb.86516.com/adsl/ad | |slrj_files/xiaoyuanDialNew% | |20v1.1.rar
http://bugs.winehq.org/show_bug.cgi?id=30378
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |10063, 21571, 30041
http://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #2 from Qian Hong fracting@gmail.com 2012-04-08 05:30:21 CDT --- Created attachment 39720 --> http://bugs.winehq.org/attachment.cgi?id=39720 Log: VnetPPPOE crashes
$ wine VnetPPPOE.EXE err:rpc:I_RpcGetBuffer no binding err:rpc:I_RpcGetBuffer no binding err:rpc:I_RpcGetBuffer no binding fixme:ras:RasEnumDevicesA ((nil),0x33e938,0x33e940),stub! fixme:ras:RasEnumDevicesA (0x8e8888,0x33e938,0x33e940),stub! wine: Unhandled page fault on write access to 0x69762049 at address 0x7bc47130 (thread 0030), starting debugger...
Attaching backtrace.
http://bugs.winehq.org/show_bug.cgi?id=30378
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |30379
http://bugs.winehq.org/show_bug.cgi?id=30378
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #3 from André H. nerv@dawncrow.de 2012-04-08 07:13:27 CDT --- WINEDEBUG=ras,heap might be usefull
http://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #4 from Qian Hong fracting@gmail.com 2012-04-08 07:52:17 CDT --- Created attachment 39723 --> http://bugs.winehq.org/attachment.cgi?id=39723 Log: +ras,+heap trace
http://bugs.winehq.org/show_bug.cgi?id=30378
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|10063, 21571, 30041 | Severity|normal |enhancement
--- Comment #5 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:17:12 CDT --- Don't see how this bug can depend on those 3. You says it installs and starts.
Wine is the wrong place for any ppoe clients! Install them into your host system.
http://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #6 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:19:27 CDT --- *** Bug 30379 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30378
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ccjjxl@126.com
--- Comment #7 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:29:32 CDT --- *** Bug 30383 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #8 from Qian Hong fracting@gmail.com 2012-04-08 11:30:50 CDT --- (In reply to comment #5)
Don't see how this bug can depend on those 3. You says it installs and starts.
Wine is the wrong place for any ppoe clients! Install them into your host system.
Hi Vitaliy, it depends on Bug 30041, since it needs npptools.dll to start, which is described in #c0
It depends on Bug 10063, because in zh_CN.utf8 locale the installation will not complete. Multiple software depends on Bug 10063, the workaround (LC_CTYPE=en_US.utf8) won't work every time, because some software display CJK font as garbled in en_US.utf8 locale, some installer even worse, in en_US.utf8 locale, the path which created by the installer contains garbled characters, sometimes it will cause other problem.
Well, it doesn't depend on Bug 21571, sorry, my bad.
http://bugs.winehq.org/show_bug.cgi?id=30378
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks|30379 | Depends on| |30041, 10063
--- Comment #9 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-04-08 11:47:03 CDT --- Makes sense.
https://bugs.winehq.org/show_bug.cgi?id=30378 Bug 30378 depends on bug 30041, which changed state.
Bug 30041 Summary: npptools.dll is needed by multiple network authentication clients https://bugs.winehq.org/show_bug.cgi?id=30041
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=30378
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #10 from Austin English austinenglish@gmail.com --- Still present. Native npptools is no longer needed, just winetricks mfc42.
[austin@localhost 30378]$ du -h xiaoyuanDialNew\ v1.1.rar 2.2M xiaoyuanDialNew v1.1.rar [austin@localhost 30378]$ sha1sum xiaoyuanDialNew\ v1.1.rar 189023c60154c753b5e994423ce2a3e5188421f1 xiaoyuanDialNew v1.1.rar [austin@localhost 30378]$ wine --version wine-1.7.25-93-g12aa347
https://bugs.winehq.org/show_bug.cgi?id=30378
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39720|0 |1 is obsolete| |
--- Comment #11 from Austin English austinenglish@gmail.com --- Created attachment 49492 --> https://bugs.winehq.org/attachment.cgi?id=49492 terminal output/backtrace
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #12 from André H. nerv@dawncrow.de --- Created attachment 49510 --> https://bugs.winehq.org/attachment.cgi?id=49510 ras patch
could someone please try this patch please and send the relevant output?
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #13 from Qian Hong fracting@gmail.com --- Created attachment 49543 --> https://bugs.winehq.org/attachment.cgi?id=49543 Log: +tid,warn+heap log with native rasapi32 and native rasman
Thanks Andre, sorry for delay, ran out of time...
I doubt there is a app bug, because when I ran the app with native rasapi32 and native rasman, I saw the below heap warnings:
002b:warn:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic 00555555 for 0x11a4c8
Native dlls still help, but maybe the app lives just by luck... Full log is attached.
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #14 from Qian Hong fracting@gmail.com --- Created attachment 49544 --> https://bugs.winehq.org/attachment.cgi?id=49544 Log: +tid,warn+heap log with builtin rasapi32 and Andre's patch
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #15 from André H. nerv@dawncrow.de --- (In reply to Qian Hong from comment #14)
Created attachment 49544 [details] Log: +tid,warn+heap log with builtin rasapi32 and Andre's patch
well, "dwSize 152, lpcb 152" is what i expected, it's typically
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #16 from Qian Hong fracting@gmail.com --- (In reply to André H. from comment #15)
(In reply to Qian Hong from comment #14)
Created attachment 49544 [details] Log: +tid,warn+heap log with builtin rasapi32 and Andre's patch
well, "dwSize 152, lpcb 152" is what i expected, it's typically
Good catch Andre :)
https://testbot.winehq.org/JobDetails.pl?Key=8900&log_301=1#k301
Increasing the buffer size does make the app happy, now I owe you another drink.. :) See you next (next) FOSDEM? :p
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #17 from André H. nerv@dawncrow.de --- (In reply to Qian Hong from comment #16)
(In reply to André H. from comment #15)
(In reply to Qian Hong from comment #14)
Created attachment 49544 [details] Log: +tid,warn+heap log with builtin rasapi32 and Andre's patch
well, "dwSize 152, lpcb 152" is what i expected, it's typically
Good catch Andre :)
https://testbot.winehq.org/JobDetails.pl?Key=8900&log_301=1#k301
Increasing the buffer size does make the app happy, now I owe you another drink.. :) See you next (next) FOSDEM? :p
Wait, i said the buffersize looks fine... so rather you spotted a problem, but which buffer did you increase? are you going to write a patch?
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #18 from Qian Hong fracting@gmail.com --- Created attachment 49575 --> https://bugs.winehq.org/attachment.cgi?id=49575 Patch: set *lpcDevices = 1
This patch should really fix the bug...
https://testbot.winehq.org/JobDetails.pl?Key=8927&log_203=1#k203
I was 'fixing' the bug in a wrong way, maybe by changing the memory layout, so the application didn't crash after changing.
The real problem is, *lpcDevices should equal to the number of devices found. The application will alloc a buffer with length of sizeof(RASDEVINFOA)* (*lpDevices), if *lpDevices is zero, strcpy will unexpectedly over write the memory buffer and crashing during freeing.
https://bugs.winehq.org/show_bug.cgi?id=30378
--- Comment #19 from André H. nerv@dawncrow.de --- (In reply to Qian Hong from comment #18)
Created attachment 49575 [details] Patch: set *lpcDevices = 1
This patch should really fix the bug...
good job, now it just needs to be cleaned up and sent
https://bugs.winehq.org/show_bug.cgi?id=30378
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #20 from Bruno Jesus 00cpxxx@gmail.com --- Qian, any news in submitting the patch?
https://bugs.winehq.org/show_bug.cgi?id=30378
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
https://bugs.winehq.org/show_bug.cgi?id=30378
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/rasapi32-RasEn | |umDevicesA
https://bugs.winehq.org/show_bug.cgi?id=30378
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |rasapi32
https://bugs.winehq.org/show_bug.cgi?id=30378
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=30378 Bug 30378 depends on bug 10063, which changed state.
Bug 10063 Summary: wineconsole run fail on korean locale. https://bugs.winehq.org/show_bug.cgi?id=10063
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=30378
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #21 from winetest@luukku.com --- A patch towards this bug was committed.
https://source.winehq.org/git/wine.git/commit/f3842e789b61964643e5000bb36366...
https://bugs.winehq.org/show_bug.cgi?id=30378
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |f3842e789b61964643e5000bb36 | |366d1727ee122 Status|STAGED |RESOLVED
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to winetest from comment #21)
A patch towards this bug was committed.
https://source.winehq.org/git/wine.git/commit/ f3842e789b61964643e5000bb36366d1727ee122
Thanks for the remainder.
https://bugs.winehq.org/show_bug.cgi?id=30378
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.4.
https://bugs.winehq.org/show_bug.cgi?id=30378
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=30378
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #24 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.
https://bugs.winehq.org/show_bug.cgi?id=30378
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://fb.86516.com/adsl/ad |https://web.archive.org/web |slrj_files/xiaoyuanDialNew% |/20101202011356/http://fb.8 |20v1.1.rar |6516.com/adsl/adslrj_files/ | |xiaoyuanDialNew%20v1.1.rar