http://bugs.winehq.org/show_bug.cgi?id=1523
mike(a)navi.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From mike(a)navi.cx 2004-29-11 16:38 -------
Could you submit this patch to wine-patches please?
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=1523
------- Additional Comments From prahal(a)yahoo.com 2004-29-11 16:00 -------
Created an attachment (id=719)
--> (http://bugs.winehq.org/attachment.cgi?id=719&action=view)
output error if lnk file is in an unsupported location
I used wineshellink through winemenubuilder. Though i had a hard time
discovering why it did not process my test "lnk" . They wher not in one of the
mandatory path (profiles\\User ...).
This i discover by adding those outputs.
I did feel winemenubuilder should output why it won't process its input. Though
i have do not have a experiences in the wine policy . Should those be printf ,
debug output , debug error ?
Cheers
Alban
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2532
------- Additional Comments From 9gfrye202(a)sneakemail.com 2004-29-11 15:56 -------
OK, I have this problem too, from a Mandrake package. The problem stems from the
inline syscall wrappers (wld_xxx) introduced in wine/loader/preloader.c revision
1.6. Perhaps the Mandrake guys have compiled with the wrong flags, but it looks
like a wine bug to me.
Take for example wld_read:
static inline ssize_t wld_read( int fd, void *buffer, size_t len )
{
int ret;
__asm__ __volatile__( "pushl %%ebx; movl %2,%%ebx; int $0x80; popl %%ebx"
: "=a" (ret)
: "0" (SYS_read), "g" (fd), "c" (buffer), "d" (len)
: "memory" );
return SYSCALL_RET(ret);
}
here, the instruction movl %2,%%ebx refers to the 'fd' (file descriptor)
argument of the asm code snippet. This is fine if 'fd' argument is passed to the
asm block as a register, but if it is passed as a variable on the stack then
the compiler gets the wrong location because the previous 'pushl %%ebx' has
modified the stack pointer since the asm snippet began. If you use the "r"
constraint instead of the "g" constraint, you can force 'fd' to be a register, ie
: "0" (SYS_read), "r" (fd), "c" (buffer), "d" (len)
However I say this without having produced & compiled a patch myself. This
explains why some distros are affected and others aren't (ie it's in the
optimisation flags) and it explains why wine-preload is trying to SYS_read()
from stdio (ie fd=0) on my Mandrake build.
I will post the relevant snippet from a disassembly listing if anyone wants -
but I think this info should be enough?
Thanks!
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=1523
prahal(a)yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #717 is|0 |1
obsolete| |
------- Additional Comments From prahal(a)yahoo.com 2004-29-11 15:47 -------
Created an attachment (id=718)
--> (http://bugs.winehq.org/attachment.cgi?id=718&action=view)
strangthen wineshellink args parsing
this patch fix single quote for debian/mandrake menu with args having
characters not handled by bash as they are by windows (eg. ! in a path)
the previous patch was wrong on the way it made the menu : " \'$args\' " is
silly , i rplaced it by " '$args' ".
Also an improvment from previous patch : now "--" is not added if $args is
empty . Otherwise bad things happened .
Cheers
Alban
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2574
------- Additional Comments From kdntl(a)yahoo.fr 2004-29-11 14:13 -------
Answer to Mike Hearn :
It changes nothing if I run wine-preloader with wine-pthread as argument. I also
tried with wine-kthread and even wine-glibc, but each time I get exactly the
same error messages as previously.
When I have time, I will try to compile each version of wine from 20031231 in
order to see from which version it stops working for me.
I will post here the results.
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2587
Summary: FreeBSD: wine: failed to create the process heap
Product: Wine
Version: CVS
Platform: PC
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: thomas.scholten(a)unbescholten.de
After compiling wine from CVS on FreeBSD 6-0-current, starting wine or winefile
dies with:
wine: failed to create the process heap.
using --debugmsg +trace doesn't produce further info
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2586
Summary: error running make install with FreeBSD make instead
gmake
Product: Wine
Version: CVS
Platform: PC
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: wine-tools
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: thomas.scholten(a)unbescholten.de
Per default FreeBSD uses it's own implementation of make instead gnu make. Using
./configure. make && make install prodices the following error; using gmake
install works fine anyway:
../../tools/mkinstalldirs -m 755 /usr/local/lib/wine
/usr/bin/install -c serialui.dll.so /usr/local/lib/wine/serialui.dll.so
cd `dirname setupapi/__install__` && make install
gcc -g -O2 install.c -o install
install.c:23:20: windef.h: No such file or directory
install.c:24:21: winbase.h: No such file or directory
install.c:25:20: winreg.h: No such file or directory
install.c:26:22: winternl.h: No such file or directory
install.c:27:22: winerror.h: No such file or directory
install.c:28:20: wingdi.h: No such file or directory
install.c:29:21: winuser.h: No such file or directory
install.c:30:20: winnls.h: No such file or directory
install.c:31:22: setupapi.h: No such file or directory
In file included from install.c:32:
setupapi_private.h:35: error: syntax error before '*' token
setupapi_private.h:35: error: syntax error before "hinf"
setupapi_private.h:35: warning: data definition has no type or storage class
setupapi_private.h:36: error: syntax error before '*' token
setupapi_private.h:38: error: syntax error before '*' token
setupapi_private.h:40: error: syntax error before '*' token
setupapi_private.h:40: error: syntax error before "hinf"
setupapi_private.h:40: warning: data definition has no type or storage class
setupapi_private.h:41: error: syntax error before '*' token
setupapi_private.h:41: error: syntax error before '*' token
setupapi_private.h:41: warning: data definition has no type or storage class
setupapi_private.h:48: error: syntax error before "PSP_FILE_CALLBACK_A"
setupapi_private.h:51: error: syntax error before "CALLBACK"
setupapi_private.h:51: error: syntax error before "UINT"
setupapi_private.h:51: warning: data definition has no type or storage class
install.c:33:26: wine/unicode.h: No such file or directory
install.c:34:24: wine/debug.h: No such file or directory
install.c:36: warning: parameter names (without types) in function declaration
install.c:36: warning: data definition has no type or storage class
install.c:41: error: syntax error before "HSPFILEQ"
install.c:50: error: syntax error before "HKEY"
install.c:57: error: syntax error before "PSP_FILE_CALLBACK_W"
install.c:62: error: syntax error before '*' token
install.c:65: error: syntax error before "CopyFiles"
install.c:65: warning: data definition has no type or storage class
install.c:66: error: syntax error before "DelFiles"
install.c:66: warning: data definition has no type or storage class
install.c:67: error: syntax error before "RenFiles"
install.c:67: warning: data definition has no type or storage class
install.c:68: error: syntax error before "Ini2Reg"
install.c:68: warning: data definition has no type or storage class
install.c:69: error: syntax error before "LogConf"
install.c:69: warning: data definition has no type or storage class
install.c:70: error: syntax error before "AddReg"
install.c:70: warning: data definition has no type or storage class
install.c:71: error: syntax error before "DelReg"
install.c:71: warning: data definition has no type or storage class
install.c:72: error: syntax error before "BitReg"
install.c:72: warning: data definition has no type or storage class
install.c:73: error: syntax error before "UpdateInis"
install.c:73: warning: data definition has no type or storage class
install.c:74: error: syntax error before "CopyINF"
install.c:74: warning: data definition has no type or storage class
install.c:75: error: syntax error before "UpdateIniFields"
install.c:75: warning: data definition has no type or storage class
install.c:76: error: syntax error before "RegisterDlls"
install.c:76: warning: data definition has no type or storage class
install.c:77: error: syntax error before "UnregisterDlls"
install.c:77: warning: data definition has no type or storage class
install.c:78: error: syntax error before "ProfileItems"
install.c:78: warning: data definition has no type or storage class
install.c:86: error: syntax error before '*' token
install.c:86: error: syntax error before '*' token
install.c: In function `get_field_string':
install.c:89: error: syntax error before "required"
install.c:91: error: `context' undeclared (first use in this function)
install.c:91: error: (Each undeclared identifier is reported only once
install.c:91: error: for each function it appears in.)
install.c:91: error: `index' undeclared (first use in this function)
install.c:91: error: `buffer' undeclared (first use in this function)
install.c:91: error: `size' undeclared (first use in this function)
install.c:91: error: `required' undeclared (first use in this function)
install.c:92: error: `ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this
function)
install.c:95: error: `static_buffer' undeclared (first use in this function)
install.c:96: error: `WCHAR' undeclared (first use in this function)
install.c:96: error: `NULL' undeclared (first use in this function)
install.c: At top level:
install.c:110: error: syntax error before "copy_files_callback"
install.c:110: error: syntax error before "hinf"
install.c: In function `copy_files_callback':
install.c:112: error: `arg' undeclared (first use in this function)
install.c:114: error: `field' undeclared (first use in this function)
install.c:115: error: structure has no member named `queue'
install.c:115: error: structure has no member named `layout'
install.c:115: error: structure has no member named `src_root'
install.c:115: error: `NULL' undeclared (first use in this function)
install.c:115: error: structure has no member named `copy_flags'
install.c:117: error: structure has no member named `queue'
install.c:117: error: structure has no member named `src_root'
install.c:117: error: structure has no member named `layout'
install.c:117: error: `hinf' undeclared (first use in this function)
install.c:117: error: structure has no member named `copy_flags'
install.c:118: error: `TRUE' undeclared (first use in this function)
install.c: At top level:
install.c:127: error: syntax error before "delete_files_callback"
install.c:127: error: syntax error before "hinf"
install.c: In function `delete_files_callback':
install.c:129: error: `arg' undeclared (first use in this function)
install.c:130: error: structure has no member named `queue'
install.c:130: error: `hinf' undeclared (first use in this function)
install.c:130: error: `field' undeclared (first use in this function)
install.c:131: error: `TRUE' undeclared (first use in this function)
install.c: At top level:
install.c:140: error: syntax error before "rename_files_callback"
install.c:140: error: syntax error before "hinf"
install.c: In function `rename_files_callback':
install.c:142: error: `arg' undeclared (first use in this function)
install.c:143: error: structure has no member named `queue'
install.c:143: error: `hinf' undeclared (first use in this function)
install.c:143: error: `field' undeclared (first use in this function)
install.c:144: error: `TRUE' undeclared (first use in this function)
install.c: At top level:
install.c:153: error: syntax error before "get_root_key"
install.c:153: error: syntax error before '*' token
install.c: In function `get_root_key':
install.c:155: error: syntax error before "HKCR"
install.c: At top level:
install.c:156: error: syntax error before "HKCU"
install.c:156: warning: data definition has no type or storage class
install.c:157: error: syntax error before "HKLM"
install.c:157: warning: data definition has no type or storage class
install.c:158: error: syntax error before "HKU"
install.c:158: warning: data definition has no type or storage class
install.c:159: error: syntax error before "HKR"
install.c:159: warning: data definition has no type or storage class
install.c:161: error: syntax error before "if"
*** Error code 1
Stop in /usr/home/tom/winecvs/wine/dlls/setupapi.
*** Error code 1
Stop in /usr/home/tom/winecvs/wine/dlls.
*** Error code 1
Stop in /usr/home/tom/winecvs/wine.
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2585
------- Additional Comments From thomas.scholten(a)unbescholten.de 2004-29-11 08:14 -------
Digged a bit deeper and found that declaration setkey() ist taken by
/usr/include/stdlib.h under FreeBSD. Renaming declaration and function calls in
winecfg.c setkey() to something else (i.e. "winesetkey ()") solves the problem.
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2585
Summary: After Fix of Bug#2580, Wine FreeBSD Build dies again in
winecfg / setkey
Product: Wine
Version: CVS
Platform: PC
OS/Version: FreeBSD
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: wine-programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: thomas.scholten(a)unbescholten.de
On my system
uname -a: FreeBSD silvia-bsd.mittelerde.tom 6.0-CURRENT FreeBSD 6.0-CURRENT #0:
Sun Nov 28 14:02:12 CET 2004
root@silvia-bsd.mittelerde.tom:/usr/obj/usr/src/sys/SILVIA-BSD-CUR i386)
using ./configure, make && make depend (on FBSD we use make NOT gmake, sometimes
a difference, just as a gentle note) wine again bails out in programs/winecfg
with the following error:
[..]
rm -f wsock32.dll.so && ln -s wsock32/wsock32.dll.so wsock32.dll.so
gcc -c -I. -I. -I../../include -I../../include -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g
-O2 -o winecfg.o winecfg.c
winecfg.c:142: error: conflicting types for 'setkey'
/usr/include/stdlib.h:205: error: previous declaration of 'setkey' was here
winecfg.c:142: error: conflicting types for 'setkey'
/usr/include/stdlib.h:205: error: previous declaration of 'setkey' was here
*** Error code 1
Stop in /usr/home/tom/winecvs/wine/programs/winecfg.
*** Error code 1
Stop in /usr/home/tom/winecvs/wine/programs.
*** Error code 1
Stop in /usr/home/tom/winecvs/wine.
thanks for the help before and best regards
Thomas
--
Configure bugmail: http://bugs.winehq.org/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.org/show_bug.cgi?id=2532
------- Additional Comments From mike(a)navi.cx 2004-29-11 07:23 -------
Does this work if you compile without optimizations enabled?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.