http://bugs.winehq.com/show_bug.cgi?id=1589
Summary: sscanf assigns incorrect value to %n variable
Product: Wine
Version: 20030709
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: tim.ruehsen(a)openmediasystem.de
int pos=0;
char s1[32], s2[32];
sscanf("136 I30 I40 hello","%*u %s %s %n",s1,s2,&pos);
// now pos=2! but it should be 12!
this comes out when linking the app dynamically on Windows (XP) and running
with wine on Linux (SuSE 8.1).
After linking statically it works correctly (pos=12).
This may break any dynamically linked application that relies on %n.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1581
------- Additional Comments From beer.info(a)videotron.ca 2003-11-07 09:49 -------
My OS is Redhat 9 which uses gcc-3.2.2. Perhaps I had some environment variables
set that affected the build, like CFLAGS=-O0 for no optimization. Normally I
don't touch the environment, however I could have been hacking something else
before I decided to build wine.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1584
spetreolle(a)yahoo.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spetreolle(a)yahoo.fr
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1584
------- Additional Comments From spetreolle(a)yahoo.fr 2003-11-07 09:02 -------
- 'wine autorun.inf' cant work since autorun.inf is a test file.
- please modify $HOME/.wine/config to reflect your floppy disk configuration (A:
drive messages)
- you must have a midi configuration in order to get music.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1584
hatky(a)users.sf.net changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |1434
nThis| |
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1587
hatky(a)users.sf.net changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |1434
nThis| |
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1588
Summary: ie5setup does not finish - breaks at the middle of the
process
Product: Wine
Version: 20030709
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: sergey.oudaltsov(a)clients.ie
I am trying to install IE5.5 (by running ie5setup). It fails in the middle of
the download process (well, actually near to the end of it). "Cannot download
all the necessary modules. Press OK to Exit". I looked at the app database for
ie - and found no useful hints.
If there is no bug about IE installation "in general" I offer to use this bug as
the one.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1587
Summary: Several games don't work anymore
Product: Wine
Version: 20030709
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: almighty(a)atlantis.wh2.tu-dresden.de
since snapshot wine-20030618 several games don't start anymore. Master of Orion 2, which
worked almost perfectly up to wine-20030510, stops at a stack overflow before I see anything
else than massive console output. So does C&C Red Alert 2. Below there is an excerpt from
Master of Orion 2's console and debug output:
--------------------------------------------------------------------------------------------------------------------------
fixme:file:DeviceIoControl Unimplemented control 1 for VxD device VDHCP
fixme:file:DeviceIoControl Unimplemented control 116 for VxD device VNB
err:winsock:WsControl Error retrieving data for interface index 0
err:winsock:WsControl Error retrieving data for interface index 0
[... multiple thousand times repeated ...]
err:winsock:WsControl Error retrieving data for interface index 0
err:winsock:WsControl Error retrieving data for interface index 0
wine: Unhandled exception (thread 001a), starting debugger...
WineDbg starting on pid 19
Loaded debug information from ELF 'wine' ((nil))
Breakpoint 1 at 0x4000bc80 (_end+0x400a534)
Loaded debug information from ELF '/usr/local/lib/libntdll.dll.so' (0x40023000)
[... Loaded some other debug information ...]
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x43bd0000)
Unhandled exception: stack overflow in 32-bit code (0x40c0d294).
In 32-bit mode.
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:008f GS:0000
EIP:40c0d294 ESP:405d2ef8 EBP:405d32ac EFLAGS:00210202( R- 00 I - - 1 )
EAX:00000301 EBX:40c15068 ECX:00000386 EDX:405d3324
ESI:405d330c EDI:405d32e4
Stack dump:
0x405d2ef8 (NTDLL.DLL.sqrt+0x27f888): 00000000 00000000 00000000 00000000
0x405d2f08 (NTDLL.DLL.sqrt+0x27f898): 00000000 00000000 00000000 00000000
0x405d2f18 (NTDLL.DLL.sqrt+0x27f8a8): 00000000 00000000 00000000 00000000
0x405d2f28 (NTDLL.DLL.sqrt+0x27f8b8): 00000000 00000000 00000000 00000000
0x405d2f38 (NTDLL.DLL.sqrt+0x27f8c8): 00000000 00000000 00000000 00000000
0x405d2f48 (NTDLL.DLL.sqrt+0x27f8d8): 00000000 00000000 00000000 00000000
0x405d2f58 (NTDLL.DLL.sqrt+0x27f8e8):
0011: sel=008f base=4010e860 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x40c0d294 (WsControl+0x514(protocoll=0x6, action=0x0, pRequestInfo=0x405d32e4,
pcbRequestInfoLen=0x405d3308, pResponseInfo=0x405d3324,
pcbResponseInfoLen=0x405d330c) [socket.c:239] in wsock32.dll.so) (ebp=405d32ac)
1 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=405d3310)
2 0x7cb81e55 (IPHLPAPI.DLL.GetFriendlyIfIndex+0x158 in IPHLPAPI.DLL) (ebp=405d33b0)
3 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL) (ebp=405d33e8)
4 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=405d37b8)
5 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=405d3880)
6 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL) (ebp=405d38b8)
7 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=405d3c88)
8 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=405d3d50)
9 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL) (ebp=405d3d88)
[... blah blah omitted ...]
2700 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL)
(ebp=406e1a58)
2701 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=406e1e28)
2702 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=406e1ef0)
2703 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL)
(ebp=406e1f28)
2704 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=406e22f8)
2705 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=406e23c0)
2706 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL)
(ebp=406e23f8)
2707 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=406e27c8)
2708 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=406e2890)
2709 0x7cb82871 (IPHLPAPI.DLL.GetIfEntryFromStack+0x39 in IPHLPAPI.DLL)
(ebp=406e28c8)
2710 0x7cb819a3 (IPHLPAPI.DLL.GetIfEntry+0x2c in IPHLPAPI.DLL) (ebp=406e2c98)
2711 0x7cb83703 (IPHLPAPI.DLL.GetBestInterfaceFromStack+0x6c in IPHLPAPI.DLL)
(ebp=406e2d60)
2712 0x7cb82622 (IPHLPAPI.DLL.IpHlpDllEntry+0xd0 in IPHLPAPI.DLL) (ebp=406e2dd0)
2713 0x400c3293 (MODULE_DllProcessAttach+0x123(wm=0x403b18d0, lpReserved=0x1)
[loader.c:653] in libntdll.dll.so) (ebp=406e2e04)
2714 0x400c32c7 (MODULE_DllProcessAttach+0x157(wm=0x403b1688, lpReserved=0x1)
[loader.c:645] in libntdll.dll.so) (ebp=406e2e38)
2715 0x400c32c7 (MODULE_DllProcessAttach+0x157(wm=0x403b1438, lpReserved=0x1)
[loader.c:645] in libntdll.dll.so) (ebp=406e2e6c)
2716 0x400c32c7 (MODULE_DllProcessAttach+0x157(wm=0x0, lpReserved=0x1)
[loader.c:645] in libntdll.dll.so) (ebp=406e2ea0)
2717 0x400ae710 (start_process+0x220(arg=0x0) [process.c:452] in libntdll.dll.so)
(ebp=406e2ff4)
2718 0x400d42e4 (SYSDEPS_SwitchToThreadStack+0x14 in libntdll.dll.so) (ebp=00000000)
0x40c0d294 (WsControl+0x514 [socket.c:239] in wsock32.dll.so): movl %edx,0x0(%esp)
Warning: L"/usr/src/wine-20030709/dlls/wsock32/socket.c" not accessible from a configured
DOS drive
Unable to open file /usr/src/wine-20030709/dlls/wsock32/socket.c
Modules:
Address Module Name
0x00400000-005c6000 (PE) D:\Spiele\MoOTwo\Orion95.exe
0x40050000-40052000 (PE) C:\WINDOWS\SYSTEM\NTDLL.DLL
0x40710000-40712000 (PE) C:\WINDOWS\SYSTEM\KERNEL32.DLL
0x407e0000-407e2000 (PE) C:\WINDOWS\SYSTEM\USER32.DLL
0x40930000-40932000 (PE) C:\WINDOWS\SYSTEM\GDI32.DLL
0x409b0000-409b2000 (PE) C:\WINDOWS\SYSTEM\ADVAPI32.DLL
0x409f0000-409f2000 (PE) C:\WINDOWS\SYSTEM\DDRAW.DLL
0x40b50000-40b52000 (PE) C:\WINDOWS\SYSTEM\DSOUND.DLL
0x40b80000-40b82000 (PE) C:\WINDOWS\SYSTEM\WINMM.DLL
0x40be4000-40bf8200 (PE) D:\SPIELE\MOOTWO\SMACKW32.DLL
0x40c00000-40c02000 (PE) C:\WINDOWS\SYSTEM\WSOCK32.DLL
0x40c20000-40c22000 (PE) C:\WINDOWS\SYSTEM\WS2_32.DLL
0x40c40000-40c42000 (PE) C:\WINDOWS\SYSTEM\ICMP.DLL
0x40cb0000-40cb2000 (PE) C:\WINDOWS\SYSTEM\X11DRV.DLL
0x43a40000-43a42000 (PE) C:\WINDOWS\SYSTEM\WINEOSS.DRV
0x43a70000-43a72000 (PE) C:\WINDOWS\SYSTEM\MSACM.DRV
0x43a90000-43a92000 (PE) C:\WINDOWS\SYSTEM\MSACM32.DLL
0x43bd0000-43bd2000 (PE) C:\WINDOWS\SYSTEM\MIDIMAP.DRV
0x78000000-78040000 (PE) C:\WINDOWS\SYSTEM\MSVCRT.DLL
0x7cb80000-7cb88000 (PE) C:\WINDOWS\SYSTEM\IPHLPAPI.DLL
0x7cba0000-7cba7000 (PE) C:\WINDOWS\SYSTEM\IPCFGDLL.DLL
0x7dcd0000-7dcde000 (PE) C:\WINDOWS\SYSTEM\DPLAY.DLL
0x7df90000-7df96200 (PE) C:\WINDOWS\SYSTEM\DHCPCSVC.DLL
Threads:
process tid prio
00000019 (D) D:\Spiele\MoOTwo\Orion95.exe
0000001a 0 <==
0000000a
0000000c 0
WineDbg terminated on pid 19
-----------------------------------------------------------------------------------------------------------------------------
End of console output.
I have omitted large similar parts of the output, because it's 300k in size. If there's a possibility to
add an attachment here, I'll add all of it bzipped (then 15k).
I hope you can something about it, because the newer snapshots are definitely better for other
applications (e.g. bridge builder)
Thank you very much,
Andreas Leuner
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.com/show_bug.cgi?id=1581
------- Additional Comments From marcus(a)jet.franken.de 2003-11-07 00:56 -------
what is your operating system? This does not happen on Linux/i386 for me. However, this *did* happen on Linux/ppc, but I sent in a patch to fix it which is in 20030709.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.