help fixing prefix? winebrowser keeps crashing

Questions about Wine on Linux
Locked
scarf
Newbie
Newbie
Posts: 4
Joined: Fri Oct 30, 2015 3:14 pm

help fixing prefix? winebrowser keeps crashing

Post by scarf » Fri Oct 30, 2015 3:22 pm

there is something wrong with my wine installation that is causing winebrowser.exe to crash whenever i try to open a URL within a Windows program. i've had this problem for years over many wine versions. i filed a bug years ago and we determined it's not a regression or anything to do with wine. if i rename ~/.wine to ~/.wine-old for example and reinstall the program, new ~/.wine gets created and i am able to open links within the Windows program and winebrowser works as expected and passes the URL to my default browser in linux. i need to figure out what is causing this and how to repair it in my current prefix

User avatar
dimesio
Moderator
Moderator
Posts: 12930
Joined: Tue Mar 25, 2008 10:30 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by dimesio » Sat Oct 31, 2015 6:26 am

You can try comparing everything in the working and non-working prefixes, but that's a lot of work and you may never be able to find the problem. Why don't you just use the working prefix?

scarf
Newbie
Newbie
Posts: 4
Joined: Fri Oct 30, 2015 3:14 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by scarf » Sat Oct 31, 2015 11:34 am

well i have a lot of programs installed and with windows programs its not like i can just copy them over from the bad prefix to the new prefix... everything has to be reinstalled, so time has to do with it. that's how this problem started back when i got a new computer i just copied over /home and everything was there and working again with all of my preferences (one of the reasons i prefer linux), even all my wine programs except for this issue with winebrowser haha.

everything else in wine has been working great so it's a localized issue, it would be good to figure out as i'm sure there's others out there who've had similar issues when upgrading linux or migrating /home directories, for example.

scarf
Newbie
Newbie
Posts: 4
Joined: Fri Oct 30, 2015 3:14 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by scarf » Tue Nov 03, 2015 3:08 am

for example here are the details for the error when i try to open a URL within mIRC:

Code: Select all

Unhandled exception: unimplemented function urlmon.dll.CreateUri called in 32-bit code (0x7bc55eb0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7bc55eb0 ESP:0033fcc8 EBP:0033fd2c EFLAGS:00000206(   - --  I   - -P- )
 EAX:7efff2ba EBX:7bcd3000 ECX:0000002d EDX:f773a220
 ESI:0033fcd4 EDI:001103d4
Stack dump:
0x0033fcc8:  00000000 00000000 00000000 80000100
0x0033fcd8:  00000001 00000000 7bc55eb0 00000002
0x0033fce8:  7efff466 7efff2ba 00000000 00000000
0x0033fcf8:  00000000 f75c008d f7758000 7effd5c0
0x0033fd08:  0033fd38 f75c0a0b 0000002d 00000000
0x0033fd18:  00000000 001103d4 00000000 7efff000
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x7bc55eb0 call_dll_entry_point+0x2f0() in ntdll (0x0033fd2c)
  1 0x0034000f (0x0033fe28)
  2 0x7effd035 in winebrowser (+0xd034) (0x0033fe58)
  3 0x7b861abc call_process_entry+0xb() in kernel32 (0x0033fe78)
  4 0x7b862b93 in kernel32 (+0x52b92) (0x0033feb8)
  5 0x7bc837f0 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  6 0x7bc869bd call_thread_func+0x7c() in ntdll (0x0033ffa8)
  7 0x7bc837ce RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  8 0x7bc55fbe call_dll_entry_point+0x3fd() in ntdll (0x0033ffe8)
  9 0xf75bf65d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  10 0xf75bf71b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffae38c8)
  11 0x7bc5c189 LdrInitializeThunk+0x238() in ntdll (0xffae3908)
  12 0x7b869403 __wine_kernel_init+0xa12() in kernel32 (0xffae4a28)
  13 0x7bc5d0b3 __wine_process_init+0x192() in ntdll (0xffae4ab8)
  14 0xf75bcdc8 wine_init+0x327() in libwine.so.1 (0xffae4b18)
  15 0x7bf0100c main+0xfb() in <wine-loader> (0xffae4f68)
  16 0xf73d6a83 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7bc55eb0 call_dll_entry_point+0x2f0 in ntdll: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (62 modules)
PE	702b0000-70328000	Deferred        urlmon
PE	70bd0000-70c34000	Deferred        shlwapi
ELF	7b800000-7ba68000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba68000	\               kernel32
ELF	7bc00000-7bcf0000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf0000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7e0b7000-7e0f0000	Deferred        uxtheme<elf>
  \-PE	7e0c0000-7e0f0000	\               uxtheme
ELF	7e0f0000-7e0f6000	Deferred        libxfixes.so.3
ELF	7e0f6000-7e101000	Deferred        libxcursor.so.1
ELF	7e101000-7e111000	Deferred        libxi.so.6
ELF	7e111000-7e115000	Deferred        libxcomposite.so.1
ELF	7e115000-7e120000	Deferred        libxrandr.so.2
ELF	7e120000-7e12b000	Deferred        libxrender.so.1
ELF	7e12b000-7e131000	Deferred        libxxf86vm.so.1
ELF	7e131000-7e135000	Deferred        libxinerama.so.1
ELF	7e135000-7e13c000	Deferred        libxdmcp.so.6
ELF	7e13c000-7e140000	Deferred        libxau.so.6
ELF	7e140000-7e162000	Deferred        libxcb.so.1
ELF	7e162000-7e296000	Deferred        libx11.so.6
ELF	7e296000-7e2a9000	Deferred        libxext.so.6
ELF	7e2d2000-7e366000	Deferred        winex11<elf>
  \-PE	7e2e0000-7e366000	\               winex11
ELF	7e366000-7e472000	Deferred        comctl32<elf>
  \-PE	7e370000-7e472000	\               comctl32
ELF	7e472000-7e497000	Deferred        imm32<elf>
  \-PE	7e480000-7e497000	\               imm32
ELF	7e51f000-7e548000	Deferred        libexpat.so.1
ELF	7e548000-7e583000	Deferred        libfontconfig.so.1
ELF	7e583000-7e5ab000	Deferred        libpng12.so.0
ELF	7e5ab000-7e5c5000	Deferred        libz.so.1
ELF	7e5c5000-7e665000	Deferred        libfreetype.so.6
ELF	7e68e000-7e7d4000	Deferred        oleaut32<elf>
  \-PE	7e6a0000-7e7d4000	\               oleaut32
ELF	7e7d4000-7e888000	Deferred        msvcrt<elf>
  \-PE	7e7f0000-7e888000	\               msvcrt
ELF	7e888000-7e90c000	Deferred        rpcrt4<elf>
  \-PE	7e890000-7e90c000	\               rpcrt4
ELF	7e90c000-7e926000	Deferred        version<elf>
  \-PE	7e910000-7e926000	\               version
ELF	7e926000-7ea82000	Deferred        user32<elf>
  \-PE	7e940000-7ea82000	\               user32
ELF	7ea82000-7ebc5000	Deferred        ole32<elf>
  \-PE	7eaa0000-7ebc5000	\               ole32
ELF	7ebc5000-7ece4000	Deferred        gdi32<elf>
  \-PE	7ebd0000-7ece4000	\               gdi32
ELF	7ece4000-7ed5f000	Deferred        advapi32<elf>
  \-PE	7ecf0000-7ed5f000	\               advapi32
ELF	7ed5f000-7ed6c000	Deferred        libnss_files.so.2
ELF	7ed6c000-7ed78000	Deferred        libnss_nis.so.2
ELF	7ed78000-7ed91000	Deferred        libnsl.so.1
ELF	7ef91000-7efd7000	Deferred        libm.so.6
ELF	7efea000-7f000000	Dwarf           winebrowser<elf>
  \-PE	7eff0000-7f000000	\               winebrowser
ELF	f73b3000-f73bc000	Deferred        libnss_compat.so.2
ELF	f73bd000-f756b000	Dwarf           libc.so.6
ELF	f756b000-f7570000	Deferred        libdl.so.2
ELF	f7571000-f758d000	Deferred        libpthread.so.0
ELF	f75b6000-f776c000	Dwarf           libwine.so.1
ELF	f776e000-f7790000	Deferred        ld-linux.so.2
ELF	f7790000-f7791000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001e    0
	0000001d    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000021 explorer.exe
	00000025    0
	00000024    0
	00000023    0
	00000022    0
00000026 mirc.exe
	0000000d    0
	00000009    0
	00000036    0
	00000035    0
	00000033    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	00000027    0
00000034 (D) C:\windows\system32\winebrowser.exe
	0000003d    0 <==
System information:
    Wine build: wine-1.7.50
    Platform: i386
    Host system: Linux
    Host version: 3.13.0-67-generic

User avatar
dimesio
Moderator
Moderator
Posts: 12930
Joined: Tue Mar 25, 2008 10:30 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by dimesio » Tue Nov 03, 2015 9:10 am

Code: Select all

Unhandled exception: unimplemented function urlmon.dll.CreateUri called in 32-bit code (0x7bc55eb0)
You are using native urlmon. Don't. https://bugs.winehq.org/show_bug.cgi?id=30047

scarf
Newbie
Newbie
Posts: 4
Joined: Fri Oct 30, 2015 3:14 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by scarf » Tue Nov 03, 2015 11:35 am

great, thanks.
so i just opened up winecfg and removed urlmon from the libraries tab. it's fixed!

User avatar
dimesio
Moderator
Moderator
Posts: 12930
Joined: Tue Mar 25, 2008 10:30 pm

Re: help fixing prefix? winebrowser keeps crashing

Post by dimesio » Tue Nov 03, 2015 12:38 pm

For future reference, in general you should not file bugs when you have used native dlls, and you should have mentioned any and all overrides in your initial post.

Locked