LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 08:10 PM   #1
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Rep: Reputation: 0
Question Wine configuration/permissions problem


For those out there that like fixing strange problems, heres a good one.

So I've installed the latest version of wine (20050930), as a binary RPM.

I've configured it mostly fine. (fake windows drive, ect... with winetools)

I can run most basic windows programs just fine, (SOL.exe, notepad.exe, winmine.exe).

BUT whenever I use the File open/save dialog box (open/save it with: FILE -> OPEN /SAVE in notepad)
crash as soon as I select a 'real' FAT drive.
(its setup as 'D:' drive)

However I can browse my linux 'drives' just fine.

This applies to all programs, and even the few that CAN read/write a file directly to this 'D:' drive have odd issues. (basically related to scanning/browsing that 'D:' drive directory, not direct access to a known file in a known path.)

fstab:
/dev/hdc1 /mnt/second_disk vfat users,owner,rw,nodev,exec,umask=000 0 0

and there is just a symbolic link to it in the dosdevices directory under ~/.wine

also the user and group for the mount point are set to my main login ID, user group.

I can access this mount point just fine in Linux, read, write all that jazz.

However I once did notice a warning when extracting a file to that drive about Arc not being able to set file dates/times (or something to that effect)?
I believe this issue is caused by a misconfiguration somewhere (in WINE itself or some other system config file), of how this mount point is going to behave.

So any suggestions?

My System:
------------
SUSE 9.3 (x86_64 w/AMD 3200)
1GB RAM, 74 GB HD + 160GB HD
 
Old 10-13-2005, 10:54 PM   #2
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Also here is the exact error message when I run notepad for example.
I type a few characters in, click on Save As... choose my 'D:' drive, and:

Code:
file_set_error: No medium found
file_set_error: No medium found
err:seh:setup_exception stack overflow 8 bytes in thread 0009 eip 557027cd esp 55b40ff8 stack 0x55b40000-0x55c40000
ALSO I've noticed my floppy drive light comes on. (it uses the /media and does not have a normal '/mnt' point)

could that be a problem as well?

any comments, or questions or hints would be greatly appreciated.
 
Old 10-14-2005, 12:21 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
WINE version 20050930 is a mess, so use previous versions until a version that works.
 
Old 10-14-2005, 09:15 PM   #4
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Well NOTEPAD.EXE should almost always work.

Its one of the most braindead windows apps ever. I think the issue has to do more with this wine configuration or some driver permissions or something.

I tried the 20050830 RPM. I get debug info now...

Code:
file_set_error: No medium found
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
fixme:dbghelp:SymLoadModule Should have successfully loaded debug information for image C:\windows\system32\notepad.exe
Unhandled exception: page fault on read access to 0x80199e51 in 32-bit code (0x557074ab).
In 32 bit mode.
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:005b
 EIP:557074ab ESP:55c59c54 EBP:55c5bf38 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:557462e0 ECX:557519c0 EDX:55751e34
 ESI:80199e51 EDI:0000000e
Stack dump:
0x55c59c54:  0000000e 0000000d 55c5bd0c 00000000
0x55c59c64:  00000000 00000000 00000000 00000000
0x55c59c74:  00000000 00000000 56c21130 0004004a
0x55c59c84:  00000055 55c59c90 55fad393 55c59d54
0x55c59c94:  557519c0 0004004a 5573f6b0 00000000
0x55c59ca4:  00000000 00000000 00000000 0000002f
Backtrace:
=>1 0x557074ab NtQueryDirectoryFile+0x39b in ntdll (0x55c5bf38)
  2 0x00000000 (0x82187201)
  3 0x00000000 (0x00000000)
0x557074ab NtQueryDirectoryFile+0x39b in ntdll: movl    0x0(%esi),%eax
Modules:
Module  Address                 Debug info      Name (66 modules)
ELF     0x55555000-5556d000     Deferred        ld-linux.so.2
ELF     0x5558e000-555a7000     Deferred        libwine.so.1
ELF     0x555a8000-555b9000     Deferred        libpthread.so.0
ELF     0x555b9000-556d2000     Deferred        libc.so.6
ELF     0x556d2000-556d6000     Deferred        libdl.so.2
ELF     0x556d7000-55755000     Export          ntdll<elf>
  \-PE  0x556f0000-55755000     \               ntdll
ELF     0x55776000-5586b000     Deferred        libwine_unicode.so.1
ELF     0x5586b000-5588e000     Deferred        libm.so.6
ELF     0x559e0000-55af4000     Deferred        kernel32<elf>
  \-PE  0x55a10000-55af4000     \               kernel32
PE      0x55b32000-55b59000     Deferred        notepad
PE      0x55b40000-55b59000     Deferred        notepad
ELF     0x55c60000-55cf2000     Deferred        comdlg32<elf>
  \-PE  0x55c70000-55cf2000     \               comdlg32
ELF     0x55cf2000-55dbf000     Deferred        shell32<elf>
  \-PE  0x55d10000-55dbf000     \               shell32
ELF     0x55dbf000-55e20000     Deferred        shlwapi<elf>
  \-PE  0x55de0000-55e20000     \               shlwapi
ELF     0x55e20000-55eb3000     Deferred        ole32<elf>
  \-PE  0x55e40000-55eb3000     \               ole32
ELF     0x55eb3000-55ef5000     Deferred        advapi32<elf>
  \-PE  0x55ec0000-55ef5000     \               advapi32
ELF     0x55ef5000-56026000     Deferred        user32<elf>
  \-PE  0x55f20000-56026000     \               user32
ELF     0x56026000-56a1b000     Deferred        gdi32<elf>
  \-PE  0x56040000-56a1b000     \               gdi32
ELF     0x56af8000-56b00000     Deferred        libgcc_s.so.1
ELF     0x56b00000-56b4d000     Deferred        rpcrt4<elf>
  \-PE  0x56b20000-56b4d000     \               rpcrt4
ELF     0x56b4d000-56b6d000     Deferred        iphlpapi<elf>
  \-PE  0x56b60000-56b6d000     \               iphlpapi
ELF     0x56b6d000-56c31000     Deferred        comctl32<elf>
  \-PE  0x56b80000-56c31000     \               comctl32
ELF     0x56c31000-56c5e000     Deferred        winspool.drv<elf>
  \-PE  0x56c40000-56c5e000     \               winspool.drv
ELF     0x56c60000-56c64000     Deferred        macintosh.so
ELF     0x56c64000-56c68000     Deferred        utf-16.so
ELF     0x56c7f000-56cee000     Deferred        libfreetype.so.6
ELF     0x56cee000-56d1c000     Deferred        libfontconfig.so.1
ELF     0x56d1c000-56d3b000     Deferred        libexpat.so.0
ELF     0x56d3b000-56dbf000     Deferred        winex11.drv<elf>
  \-PE  0x56d50000-56dbf000     \               winex11.drv
ELF     0x56de0000-56de8000     Deferred        libsm.so.6
ELF     0x56de8000-56e00000     Deferred        libice.so.6
ELF     0x56e00000-56e06000     Deferred        libxxf86dga.so.1
ELF     0x56e06000-56e0b000     Deferred        libxxf86vm.so.1
ELF     0x56e0b000-56e19000     Deferred        libxext.so.6
ELF     0x56e19000-56f15000     Deferred        libx11.so.6
ELF     0x56f15000-56f8d000     Deferred        libgl.so.1
ELF     0x56f8d000-576de000     Deferred        libglcore.so.1
ELF     0x576de000-576e0000     Deferred        libnvidia-tls.so.1
ELF     0x57778000-5777a000     Deferred        xlcutf8load.so.2
ELF     0x5777a000-57799000     Deferred        ximcp.so.2
ELF     0x57799000-577a1000     Deferred        libxrender.so.1
ELF     0x577a1000-577a5000     Deferred        libxrandr.so.2
ELF     0x577a5000-577c3000     Deferred        imm32<elf>
  \-PE  0x577b0000-577c3000     \               imm32
ELF     0x577e4000-577ed000     Deferred        libxcursor.so.1
ELF     0x57db1000-57dce000     Deferred        libcups.so.2
ELF     0x57dce000-57dfe000     Deferred        libssl.so.0.9.7
ELF     0x57dfe000-57ef1000     Deferred        libcrypto.so.0.9.7
ELF     0x57ef1000-57efb000     Deferred        libnss_files.so.2
ELF     0x57f75000-57fa9000     Deferred        uxtheme<elf>
  \-PE  0x57f80000-57fa9000     \               uxtheme
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\windows\system32\notepad.exe
        00000009    0 <==
WineDbg terminated on pid 0x8
I dont like the look of "NtQueryDirectoryFile" system function call. I suspect strongly now, perhaps some directory/file/somthing(?) structure is messing up whatever is supposed to be returned by that function.
 
Old 10-15-2005, 02:39 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
No, it is not a mis-configure. Really, 20050830 is also fucked up. Running notepad should always work. It should never crash. I reverted back to version 20050524 a few weeks ago. My setup still works. I am trying verison 20050725.
 
Old 10-22-2005, 08:13 PM   #6
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
No looks like this was a known bug in wine 2005-09-30.
It has been fixed in the CVS.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible wine configuration problem in Ubuntu?? Please help stelmate Linux - Software 1 07-31-2005 12:37 PM
Another Annoying Wine Configuration problem thread Micro420 Linux - Software 0 05-16-2004 12:14 PM
Wine configuration problem rrr-jr Linux - Software 5 08-01-2003 07:38 PM
Wine configuration problem aru_titi Linux - Software 6 07-22-2003 10:34 AM
Wine configuration problem tanchu Linux - Newbie 4 04-02-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration