derefrencing NULL, page fault on write access in 32bit code

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
adlin5000
Newbie
Newbie
Posts: 4
Joined: Sun Jun 01, 2008 3:44 pm

derefrencing NULL, page fault on write access in 32bit code

Post by adlin5000 »

I am trying to install a program "Slots: Triple Play" on a Ubuntu Linux box for my friends mom. This is a deal breaker for her as she must have this particular slots game. I first was getting the memory access problems but got that fixed. Now when I try to install it I get a windows window saying "Dereferencing NULL" with an "OK" button. After that I get the error messages and debug output in the code box below. I am running Ubuntu 8.04 fully updated and Wine 1.0-rc3 from the repository. The only things I changed from the default winecfg is to auto detect the drives and choose OSS for sound.

Any help would be great as I don't want here to go back to windows.

Code: Select all

adlin5000@Mine:/media/cdrom0$ wine Setup.exe 
wine: Unhandled page fault on write access to 0x00000000 at address 0x4032b3 (thread 001a), starting debugger...
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x004032b3).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:004032b3 ESP:0032f230 EBP:0032f258 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:0041fe68 ECX:00110048 EDX:00000001
 ESI:0032fdb8 EDI:7ec70190
Stack dump:
0x0032f230:  00010050 0041ff50 0041fe68 00000040
0x0032f240:  00000000 00000001 004015e2 0032f8d8
0x0032f250:  0032fdb8 00000138 0032f2a8 00402a9b
0x0032f260:  00010050 00000138 0000030c 0001005a
0x0032f270:  0032f2bc 00000000 00010050 00000000
0x0032f280:  7ecc2548 00010050 00000138 0000030c
Backtrace:
=>1 0x004032b3 in setup (+0x32b3) (0x0032f258)
  2 0x00402a9b in setup (+0x2a9b) (0x0032f2a8)
  3 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f2d8)
  4 0x7ec9f3f8 in user32 (+0xaf3f8) (0x0032f318)
  5 0x7eca2e03 in user32 (+0xb2e03) (0x0032f358)
  6 0x7ec2c0e7 DefDlgProcW+0x87() in user32 (0x0032f388)
  7 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f3b8)
  8 0x7ec9dc9e WINPROC_wrapper+0x6fe() in user32 (0x0032f3f8)
  9 0x7eca3071 in user32 (+0xb3071) (0x0032f438)
  10 0x7ec6611a in user32 (+0x7611a) (0x0032f4a8)
  11 0x7ec6939d in user32 (+0x7939d) (0x0032f508)
  12 0x7ec6980a SendMessageW+0x4a() in user32 (0x0032f548)
  13 0x7ec11db5 in user32 (+0x21db5) (0x0032f638)
  14 0x7ec13186 in user32 (+0x23186) (0x0032f658)
  15 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f688)
  16 0x7ec9dc9e WINPROC_wrapper+0x6fe() in user32 (0x0032f6c8)
  17 0x7eca3071 in user32 (+0xb3071) (0x0032f708)
  18 0x7ec6611a in user32 (+0x7611a) (0x0032f778)
  19 0x7ec6939d in user32 (+0x7939d) (0x0032f7d8)
  20 0x7ec6980a SendMessageW+0x4a() in user32 (0x0032f818)
  21 0x7ec90502 SetWindowTextW+0x52() in user32 (0x0032f848)
  22 0x00403152 in setup (+0x3152) (0x7ec2fad0)
  23 0x53f63156 (0x57e58955)
0x004032b3: movb	$0x1,0x0(%eax)
Modules:
Module	Address			Debug info	Name (70 modules)
PE	  400000-  4b2000	Export          setup
ELF	7b800000-7b92d000	Deferred        kernel32<elf>
  \-PE	7b820000-7b92d000	\               kernel32
ELF	7bc00000-7bca4000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bca4000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7e4b0000-7e4e3000	Deferred        uxtheme<elf>
  \-PE	7e4c0000-7e4e3000	\               uxtheme
ELF	7e4e3000-7e4ec000	Deferred        libxcursor.so.1
ELF	7e4ec000-7e4f1000	Deferred        libxfixes.so.3
ELF	7e4f1000-7e4f4000	Deferred        libxcomposite.so.1
ELF	7e4f4000-7e4fa000	Deferred        libxrandr.so.2
ELF	7e4fa000-7e502000	Deferred        libxrender.so.1
ELF	7e502000-7e505000	Deferred        libxinerama.so.1
ELF	7e505000-7e525000	Deferred        imm32<elf>
  \-PE	7e510000-7e525000	\               imm32
ELF	7e525000-7e52a000	Deferred        libxdmcp.so.6
ELF	7e52a000-7e542000	Deferred        libxcb.so.1
ELF	7e542000-7e544000	Deferred        libxcb-xlib.so.0
ELF	7e544000-7e547000	Deferred        libxau.so.6
ELF	7e547000-7e62e000	Deferred        libx11.so.6
ELF	7e62e000-7e63c000	Deferred        libxext.so.6
ELF	7e63c000-7e641000	Deferred        libxxf86vm.so.1
ELF	7e641000-7e659000	Deferred        libice.so.6
ELF	7e659000-7e661000	Deferred        libsm.so.6
ELF	7e671000-7e708000	Deferred        winex11<elf>
  \-PE	7e680000-7e708000	\               winex11
ELF	7e731000-7e752000	Deferred        libexpat.so.1
ELF	7e752000-7e77c000	Deferred        libfontconfig.so.1
ELF	7e77c000-7e791000	Deferred        libz.so.1
ELF	7e791000-7e801000	Deferred        libfreetype.so.6
ELF	7e801000-7e8c0000	Deferred        comctl32<elf>
  \-PE	7e810000-7e8c0000	\               comctl32
ELF	7e8c0000-7e9d0000	Deferred        shell32<elf>
  \-PE	7e8d0000-7e9d0000	\               shell32
ELF	7e9d0000-7e9f1000	Deferred        mpr<elf>
  \-PE	7e9e0000-7e9f1000	\               mpr
ELF	7e9f1000-7ea3f000	Deferred        wininet<elf>
  \-PE	7ea00000-7ea3f000	\               wininet
ELF	7ea3f000-7ea98000	Deferred        shlwapi<elf>
  \-PE	7ea50000-7ea98000	\               shlwapi
ELF	7ea98000-7eaab000	Deferred        libresolv.so.2
ELF	7eabb000-7ead9000	Deferred        iphlpapi<elf>
  \-PE	7eac0000-7ead9000	\               iphlpapi
ELF	7ead9000-7eb3a000	Deferred        rpcrt4<elf>
  \-PE	7eaf0000-7eb3a000	\               rpcrt4
ELF	7eb3a000-7ebd5000	Deferred        gdi32<elf>
  \-PE	7eb50000-7ebd5000	\               gdi32
ELF	7ebd5000-7ed1c000	Export          user32<elf>
  \-PE	7ebf0000-7ed1c000	\               user32
ELF	7ed1c000-7ed6e000	Deferred        advapi32<elf>
  \-PE	7ed30000-7ed6e000	\               advapi32
ELF	7ed6e000-7ee12000	Deferred        ole32<elf>
  \-PE	7ed80000-7ee12000	\               ole32
ELF	7ee12000-7ee51000	Deferred        urlmon<elf>
  \-PE	7ee20000-7ee51000	\               urlmon
ELF	7ee51000-7ee65000	Deferred        lz32<elf>
  \-PE	7ee60000-7ee65000	\               lz32
ELF	7ee65000-7ee7e000	Deferred        version<elf>
  \-PE	7ee70000-7ee7e000	\               version
ELF	7ef9e000-7efa9000	Deferred        libnss_files.so.2
ELF	7efa9000-7efb3000	Deferred        libnss_nis.so.2
ELF	7efb3000-7efcb000	Deferred        libnsl.so.1
ELF	7efcb000-7eff0000	Deferred        libm.so.6
ELF	7eff7000-7f000000	Deferred        libnss_compat.so.2
ELF	b7d22000-b7d26000	Deferred        libdl.so.2
ELF	b7d26000-b7e75000	Deferred        libc.so.6
ELF	b7e76000-b7e8e000	Deferred        libpthread.so.0
ELF	b7e9e000-b7fd4000	Deferred        libwine.so.1
ELF	b7fd6000-b7ff2000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 
	00000009    0
0000000c 
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000016    0
	00000015    0
	00000011    0
	00000010    0
00000017 
	00000018    0
00000019 (D) D:\Setup.exe
	0000001a    0 <==
Backtrace:
=>1 0x004032b3 in setup (+0x32b3) (0x0032f258)
  2 0x00402a9b in setup (+0x2a9b) (0x0032f2a8)
  3 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f2d8)
  4 0x7ec9f3f8 in user32 (+0xaf3f8) (0x0032f318)
  5 0x7eca2e03 in user32 (+0xb2e03) (0x0032f358)
  6 0x7ec2c0e7 DefDlgProcW+0x87() in user32 (0x0032f388)
  7 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f3b8)
  8 0x7ec9dc9e WINPROC_wrapper+0x6fe() in user32 (0x0032f3f8)
  9 0x7eca3071 in user32 (+0xb3071) (0x0032f438)
  10 0x7ec6611a in user32 (+0x7611a) (0x0032f4a8)
  11 0x7ec6939d in user32 (+0x7939d) (0x0032f508)
  12 0x7ec6980a SendMessageW+0x4a() in user32 (0x0032f548)
  13 0x7ec11db5 in user32 (+0x21db5) (0x0032f638)
  14 0x7ec13186 in user32 (+0x23186) (0x0032f658)
  15 0x7ec9d5ba WINPROC_wrapper+0x1a() in user32 (0x0032f688)
  16 0x7ec9dc9e WINPROC_wrapper+0x6fe() in user32 (0x0032f6c8)
  17 0x7eca3071 in user32 (+0xb3071) (0x0032f708)
  18 0x7ec6611a in user32 (+0x7611a) (0x0032f778)
  19 0x7ec6939d in user32 (+0x7939d) (0x0032f7d8)
  20 0x7ec6980a SendMessageW+0x4a() in user32 (0x0032f818)
  21 0x7ec90502 SetWindowTextW+0x52() in user32 (0x0032f848)
  22 0x00403152 in setup (+0x3152) (0x7ec2fad0)
  23 0x53f63156 (0x57e58955)
adlin5000
Newbie
Newbie
Posts: 4
Joined: Sun Jun 01, 2008 3:44 pm

Post by adlin5000 »

Sorry to bump my own post but, she really is hounding me to either get this working or install windows on it. I'd like to have her use Linux, but she MUST have this game.

Thanks
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

derefrencing NULL, page fault on write access in 32bit code

Post by austin987 »

On Mon, Jun 2, 2008 at 2:29 PM, adlin5000 <[email protected]> wrote:
Sorry to bump my own post but, she really is hounding me to either get this working or install windows on it. I'd like to have her use Linux, but she MUST have this game.

Thanks





File a bug at http://bugs.winehq.org.
adlin5000
Newbie
Newbie
Posts: 4
Joined: Sun Jun 01, 2008 3:44 pm

Post by adlin5000 »

Well I got a bug going on the tracker. The computer is getting delivered on Thursday afternoon. If I can't get this working, she is going to Windoz. Last call, any one out there have any clues?
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

We don't work on these kind of timelines.

There is always running windows inside linux. Null pointers are normally caused by a fault somewhere. Problems is normally no where near where the fault of being null becomes critical.
adlin5000
Newbie
Newbie
Posts: 4
Joined: Sun Jun 01, 2008 3:44 pm

Post by adlin5000 »

Sorry if I was being a little pushy, I just did not want her to have to spend another $100+ just to get windoz. I was hoping it was something that would be easily fixable, not something that requires rewriting code.

Well it looks like its back to MS for her. :cry: Thanks anyway.
Locked