https://bugs.winehq.org/show_bug.cgi?id=51425
Bug ID: 51425
Summary: Mathearbeit G 5.6 installer reports null pointer
exception in module 'shell32.dll' starting with Wine
6.9-142-g98d43c5dcfb
Product: Wine
Version: 6.12
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: shell32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
while revisiting bug 38740 ("Mathearbeit G 5.6 installer hangs during
installation (ShellFolder attributes for virtual folder 'CLSID_Printers', clsid
'{2227a280-3aea-1069-a2de-08002b30309d}' missing in registry)") to validate the
claim that the bug has been fixed I've found a regression which actually hides
the original bug.
Stable download link via Internet Archive:
https://web.archive.org/web/20210708082931/http://zahlenbasar.de/MA_DL/setu…
--- snip ---
...
0118:trace:shell:_SHGetUserShellFolderPath
0x80000002,(null),L"{00000000-0000-0000-0000-000000000000}",0x32ea98
0118:Call advapi32.RegCreateKeyW(80000002,7daf0dc0
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell
Folders",0032e18c) ret=7daa23be
...
0118:Ret advapi32.RegCreateKeyW() retval=00000000 ret=7daa23be
0118:Call advapi32.RegCreateKeyW(80000002,7daf0d20
L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell
Folders",0032e188) ret=7daa23d8
...
0118:Ret advapi32.RegCreateKeyW() retval=00000000 ret=7daa23d8
0118:Call advapi32.RegQueryValueExW(000000f0,0032e800
L"{00000000-0000-0000-0000-000000000000}",00000000,0032e190,0032ea98,0032e194)
ret=7daa2417
...
0118:Ret advapi32.RegQueryValueExW() retval=00000002 ret=7daa2417
...
0118:trace:shell:_SHGetUserShellFolderPath returning 0x80004005
0118:trace:shell:_SHGetDefaultValue 0x45,0x32ea98
0118:trace:seh:dispatch_exception code=c0000005 flags=0 addr=7DAA0EA5
ip=7daa0ea5 tid=0118
0118:trace:seh:dispatch_exception info[0]=00000000
0118:trace:seh:dispatch_exception info[1]=00000000
0118:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception
(code=c0000005) raised
0118:trace:seh:dispatch_exception eax=00000000 ebx=00000045 ecx=0032e354
edx=0032e37e esi=0032ea98 edi=00000000
0118:trace:seh:dispatch_exception ebp=0032e7d8 esp=0032e7a0 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202
0118:trace:seh:call_vectored_handlers calling handler at 7B00F750 code=c0000005
flags=0
0118:trace:seh:call_vectored_handlers handler at 7B00F750 returned 0
0118:trace:seh:call_stack_handlers calling handler at 004D512B code=c0000005
flags=0
0118:trace:seh:call_stack_handlers handler at 004D512B returned 1
0118:trace:seh:call_stack_handlers calling handler at 004E2570 code=c0000005
flags=0
0118:trace:seh:call_stack_handlers handler at 004E2570 returned 1
0118:trace:seh:call_stack_handlers calling handler at 0044B389 code=c0000005
flags=0
...
0118:Call user32.MessageBoxA(0001009a,02dbd314 "Zugriffsverletzung bei Adresse
7DAA0EA5 in Modul 'shell32.dll'. Lesen von Adresse 00000000.",013f5160
"MATHEARBEIT G Setup",00000010) ret=0045273f
...
--- snip ---
After dismissing the dialog, the installer runs further and indeed completes
without live-looping (copies files). Bug 38740 *appears* to be fixed but in
fact it's not.
Commit
https://source.winehq.org/git/wine.git/commitdiff/98d43c5dcfb28183667d874d4…
("shell32: Calculate known folder paths from parent and relative path."), part
of Wine 6.10 release, introduced a regression which causes a NULL pointer
exception the reworked shell32 code.
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/shell32/shellpath.c#…
--- snip ---
2446 { /* 0x45 */
2447 &GUID_NULL,
2448 CSIDL_Type_User,
2449 NULL,
2450 DocumentsW
2451 },
--- snip ---
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/shell32/shellpath.c#…
--- snip ---
3470 /* Gets a 'semi-expanded' default value of the CSIDL with index folder
into
3471 * pszPath, based on the entries in CSIDL_Data. By semi-expanded, I mean:
3472 * - Depending on the entry's type, the path may begin with an
(unexpanded)
3473 * environment variable name. The caller is responsible for expanding
3474 * environment strings if so desired.
3475 * The types that are prepended with environment variables are:
3476 * CSIDL_Type_User: %USERPROFILE%
3477 * CSIDL_Type_AllUsers: %ALLUSERSPROFILE%
3478 * CSIDL_Type_CurrVer: %SystemDrive%
3479 * (Others might make sense too, but as yet are unneeded.)
3480 */
3481 static HRESULT _SHGetDefaultValue(BYTE folder, LPWSTR pszPath)
3482 {
3483 HRESULT hr;
3484
3485 TRACE("0x%02x,%p\n", folder, pszPath);
3486
3487 if (folder >= ARRAY_SIZE(CSIDL_Data))
3488 return E_INVALIDARG;
3489
3490 if (!pszPath)
3491 return E_INVALIDARG;
3492
3493 if (!is_win64)
3494 {
3495 BOOL is_wow64;
3496
3497 switch (folder)
3498 {
3499 case CSIDL_PROGRAM_FILES:
3500 case CSIDL_PROGRAM_FILESX86:
3501 IsWow64Process( GetCurrentProcess(), &is_wow64 );
3502 folder = is_wow64 ? CSIDL_PROGRAM_FILESX86 :
CSIDL_PROGRAM_FILES;
3503 break;
3504 case CSIDL_PROGRAM_FILES_COMMON:
3505 case CSIDL_PROGRAM_FILES_COMMONX86:
3506 IsWow64Process( GetCurrentProcess(), &is_wow64 );
3507 folder = is_wow64 ? CSIDL_PROGRAM_FILES_COMMONX86 :
CSIDL_PROGRAM_FILES_COMMON;
3508 break;
3509 }
3510 }
3511
3512 if (IsEqualGUID(CSIDL_Data[folder].fidParent, &GUID_NULL))
3513 {
3514 /* hit the root, sub in env var */
3515 switch (CSIDL_Data[folder].type)
3516 {
3517 case CSIDL_Type_User:
3518 strcpyW(pszPath, UserProfileW);
3519 break;
3520 case CSIDL_Type_AllUsers:
3521 strcpyW(pszPath, PublicProfileW);
3522 break;
3523 case CSIDL_Type_ProgramData:
3524 strcpyW(pszPath, ProgramDataVarW);
3525 break;
3526 case CSIDL_Type_CurrVer:
3527 strcpyW(pszPath, SystemDriveW);
3528 break;
3529 default:
3530 ; /* no corresponding env. var, do nothing */
3531 }
3532 hr = S_OK;
3533 }else{
3534 /* prepend with parent */
3535 hr =
_SHGetDefaultValue(csidl_from_id(CSIDL_Data[folder].fidParent), pszPath);
3536 }
3537
3538 if (SUCCEEDED(hr))
3539 append_relative_path(folder, pszPath);
3540
3541 TRACE("returning 0x%08x\n", hr);
3542 return hr;
3543 }
--- snip ---
Line 3512 -> 'fidParent' member is zero-init for 'CSIDL_Data' 0x45 folder
entry, causing null pointer exception.
After fixing the regression, the installer runs into bug 38740
$ sha1sum setupgs5_6.exe
fbbbae71ce4214e3848ae29399fa3b271bd6763f setupgs5_6.exe
$Â du -sh setupgs5_6.exe
5.8M setupgs5_6.exe
$ wine --version
wine-6.12-125-g6763ed84cf0
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45807
Bug ID: 45807
Summary: Incorrect toolbar background in MFC apps, when visual
theming enabled
Product: Wine
Version: 3.15
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jimbo1qaz(a)gmail.com
Distribution: ---
Created attachment 62266
--> https://bugs.winehq.org/attachment.cgi?id=62266
Screenshot of bug
When visual theming is enabled, MFC toolbar button backgrounds are rendered as
"grab handles", and space between buttons is black.
(Also visible in screenshot, in 0CC and j0CC, the instrument editor piano is
invisible when theming is enabled. Should I file a separate bug?)
Tested with ReactOS.iso Lautus theme, and Zune theme (via .msi). Tested with
j0CC-Famitracker and OpenMPT (both use MFC), on dirty WINEPREFIX.
Also tested with Lautus and j0CC on clean WINEPREFIX with Lautus theme.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34966
Bug #: 34966
Summary: Academagia (WPF game) dialog windows are invisible
until alt-tabed out
Product: Wine
Version: 1.7.6
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: i30817(a)gmail.com
Classification: Unclassified
installed dotnet51sp1 from the latest winetricks on a 32 bits prefix
installed windowscodecs from the latest winetricks the same 32 bits prefix
installed the game on the same 32 bits prefix
then;
started notpad:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32' notepad
started the game with these options:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32'
WINEDEBUG=+tid,+seh,+relay wine ./Academagia.exe >>log.txt 2>&1
And waited until the first dialog window i was able to activate, alt-tabed out
(that was when i noticed it became visible) and killed the corresponding
wineserver with:
WINEPREFIX='/home/i30817/wine32bits' WINEARCH='win32' wineserver -k
The log is quite large uncompressed (1.5 GB), but actually 30mb compressed.
Still too large to upload here; but it can go to my google drive:
https://drive.google.com/file/d/0BzxkBmaf1EiWTmhiQjJ1YkllZWc/edit?usp=shari…
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41460
Bug ID: 41460
Summary: Visual Studio C++ 6.0 crash when exit and a menu is
oppened
Product: Wine
Version: 1.8.4
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: dianaxxyyzz(a)gmail.com
Distribution: ---
Created attachment 55837
--> https://bugs.winehq.org/attachment.cgi?id=55837
backtrace
Hello ,
To reproduce the bug is easy .
Open Visual Studio C++ 6.0 and click on Help menu so it to open .Leave it open
and close the program .
There will be a crash .Attached is backtrace
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12968
Summary: MS Visual Studio V6 setup error 258 since 0.9.58
Product: Wine
Version: 0.9.61.
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: k.king177(a)ntlworld.com
trying to install Visual Studio v6 get MS Msgbox headed
"Setup Error 258"
with text
Your setup files may be damaged. Try restarting the setup program from where
you originally ran it.
this is probably related or from same issue causing bug# 12967 for Office 97
see that bug for environment details.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=1178
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
Component|kernel32 |-unknown
URL|http://appdb.winehq.org/app |https://archive.org/details
|view.php?appId=53 |/vsp600enu
CC| |focht(a)gmx.net
Version|unspecified |0.9-pre
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=7122
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://archive.org/details
| |/vsp600enu
Summary|Install Visual Studio 6.0 |Microsoft Visual Studio 6.0
| |installer crashes
Keywords| |download, Installer
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15948
Summary: Error generated when trying to install visual studio 6.0
into centos5 via wine
Product: Wine
Version: 1.1.7
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P4
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: boniemx(a)gmail.com
Created an attachment (id=17135)
--> (http://bugs.winehq.org/attachment.cgi?id=17135)
error-log for installation of visual studio 6.0 via wine into centos5
Hi, am trying to install Visual studio 6.0, but it produces the error that I
have attached. Please I need to do this urgently. Please help
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37902
Bug ID: 37902
Summary: CreateDirectoryW creates a directory with the
permissions set to 000
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: ehsan.akhgari(a)gmail.com
Distribution: ---
Created attachment 50480
--> https://bugs.winehq.org/attachment.cgi?id=50480
file trace from the installer
I am trying to install Visual Studio 2013 Update 4 from its full SDK under wine
in Ubuntu Trusty. The installation fails because a directory created by the
installer through CreateDirectoryW ends up with the permission bits set to 0.
I am attaching a file trace from the relevant failure to the bug.
The directory in question is: "C:\users\Public\Application Data\Package
Cache\{b8a9dbc1-1fd4-4103-a83b-a2896f193ea0}".
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.