It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Questions about Wine on Linux
Post Reply
andredeabreuesilva
Newbie
Newbie
Posts: 3
Joined: Thu Dec 20, 2018 8:20 am

It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by andredeabreuesilva » Thu Dec 20, 2018 8:37 am

This program (Imobiliar) is compiled by Borlad C++.
It runs on Ubuntu 16.04, but on Ubuntu 18.04 it crashes, as seen below.
Both are Vbox machines recently instaled on a Mac host.
I followed this wine instalation guide: https://www.edivaldobrito.com.br/wine-n ... -1804-lts/
Are there some library or package that I need install yet?

Thanks

Code: Select all

0x10090bc9: int	$3
Modules:
Module	Address			Debug info	Name (160 modules)
PE	  340000-  363000	Deferred        bcbsmp100.bpl
PE	  370000-  38b000	Deferred        isgrid2.bpl
PE	  390000-  39b000	Deferred        isfolder2.bpl
PE	  3a0000-  3ac000	Deferred        twain2.bpl
PE	  3b0000-  3d2000	Deferred        bcbie100.bpl
PE	  400000- 21f8000	Deferred        imobiliar
PE	 2200000- 2313000	Deferred        rxctl6.bpl
PE	10000000-12f89000	Export          libcef
PE	20000000-200db000	Deferred        rtl100.bpl
PE	200e0000-202ad000	Deferred        vcl100.bpl
PE	202b0000-202e6000	Deferred        vclx100.bpl
PE	202f0000-2030e000	Deferred        vcljpg100.bpl
PE	20420000-2046e000	Deferred        dbrtl100.bpl
PE	207e0000-2082a000	Deferred        vcldb100.bpl
PE	21150000-21161000	Deferred        borlndmm
PE	32700000-327aa000	Deferred        cc3270mt
PE	32800000-328bd000	Deferred        cc3280mt
ELF	7b400000-7b7e9000	Deferred        kernel32<elf>
  \-PE	7b410000-7b7e9000	\               kernel32
ELF	7bc00000-7bcf9000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf9000	\               ntdll
ELF	7c000000-7c004000	Deferred        <wine-loader>
ELF	7c141000-7c1ae000	Deferred        setupapi<elf>
  \-PE	7c150000-7c1ae000	\               setupapi
ELF	7c1ae000-7c218000	Deferred        dwrite<elf>
  \-PE	7c1b0000-7c218000	\               dwrite
ELF	7c218000-7c2e6000	Deferred        crypt32<elf>
  \-PE	7c220000-7c2e6000	\               crypt32
ELF	7c2e6000-7c316000	Deferred        netapi32<elf>
  \-PE	7c2f0000-7c316000	\               netapi32
ELF	7c316000-7c34a000	Deferred        secur32<elf>
  \-PE	7c320000-7c34a000	\               secur32
ELF	7c34a000-7c362000	Deferred        wtsapi32<elf>
  \-PE	7c350000-7c362000	\               wtsapi32
ELF	7c362000-7c400000	Deferred        urlmon<elf>
  \-PE	7c370000-7c400000	\               urlmon
ELF	7c40d000-7c423000	Deferred        dhcpcsvc<elf>
  \-PE	7c410000-7c423000	\               dhcpcsvc
ELF	7c423000-7c49b000	Deferred        wininet<elf>
  \-PE	7c430000-7c49b000	\               wininet
ELF	7c49b000-7c4b3000	Deferred        userenv<elf>
  \-PE	7c4a0000-7c4b3000	\               userenv
ELF	7c4b3000-7c4d1000	Deferred        jsproxy<elf>
  \-PE	7c4c0000-7c4d1000	\               jsproxy
ELF	7c4d1000-7c50e000	Deferred        winhttp<elf>
  \-PE	7c4e0000-7c50e000	\               winhttp
ELF	7c573000-7c58a000	Deferred        dwmapi<elf>
  \-PE	7c580000-7c58a000	\               dwmapi
ELF	7c58d000-7c5a1000	Deferred        psapi<elf>
  \-PE	7c590000-7c5a1000	\               psapi
ELF	7c5e9000-7c62f000	Deferred        usp10<elf>
  \-PE	7c5f0000-7c62f000	\               usp10
ELF	7c77a000-7c792000	Deferred        libgpg-error.so.0
ELF	7c792000-7c873000	Deferred        libgcrypt.so.20
ELF	7c873000-7c889000	Deferred        liblz4.so.1
ELF	7c889000-7c8b5000	Deferred        liblzma.so.5
ELF	7c8b5000-7c945000	Deferred        libsystemd.so.0
ELF	7c945000-7c94e000	Deferred        libffi.so.6
ELF	7c94e000-7c9a9000	Deferred        libdbus-1.so.3
ELF	7c9a9000-7ca34000	Deferred        libgmp.so.10
ELF	7cab0000-7cac8000	Deferred        libresolv.so.2
ELF	7cac8000-7cafe000	Deferred        libhogweed.so.4
ELF	7cafe000-7cb3a000	Deferred        libnettle.so.6
ELF	7cb3a000-7cb4f000	Deferred        libtasn1.so.6
ELF	7cb4f000-7ccd0000	Deferred        libunistring.so.2
ELF	7ccd0000-7ccee000	Deferred        libidn2.so.0
ELF	7ccee000-7ce3c000	Deferred        libp11-kit.so.0
ELF	7ce3c000-7ce49000	Deferred        libkrb5support.so.0
ELF	7ce49000-7ce7e000	Deferred        libk5crypto.so.3
ELF	7ce7e000-7cf5a000	Deferred        libkrb5.so.3
ELF	7cf5a000-7cf6e000	Deferred        libavahi-client.so.3
ELF	7cf6e000-7d104000	Deferred        libgnutls.so.30
ELF	7d104000-7d158000	Deferred        libgssapi_krb5.so.2
ELF	7d158000-7d1ea000	Deferred        libcups.so.2
ELF	7d1ed000-7d204000	Deferred        olepro32<elf>
  \-PE	7d1f0000-7d204000	\               olepro32
ELF	7d204000-7d23c000	Deferred        uxtheme<elf>
  \-PE	7d210000-7d23c000	\               uxtheme
ELF	7d23c000-7d243000	Deferred        libxfixes.so.3
ELF	7d243000-7d24f000	Deferred        libxcursor.so.1
ELF	7d24f000-7d262000	Deferred        libxi.so.6
ELF	7d262000-7d266000	Deferred        libxcomposite.so.1
ELF	7d266000-7d273000	Deferred        libxrandr.so.2
ELF	7d273000-7d27f000	Deferred        libxrender.so.1
ELF	7d27f000-7d286000	Deferred        libxxf86vm.so.1
ELF	7d286000-7d28a000	Deferred        libxinerama.so.1
ELF	7d28a000-7d294000	Deferred        librt.so.1
ELF	7d294000-7d2af000	Deferred        libbsd.so.0
ELF	7d2af000-7d2b6000	Deferred        libxdmcp.so.6
ELF	7d2b6000-7d2ba000	Deferred        libxau.so.6
ELF	7d2ba000-7d2e6000	Deferred        libxcb.so.1
ELF	7d2e6000-7d430000	Deferred        libx11.so.6
ELF	7d430000-7d445000	Deferred        libxext.so.6
ELF	7d445000-7d44a000	Deferred        libkeyutils.so.1
ELF	7d44a000-7d44f000	Deferred        libcom_err.so.2
ELF	7d44f000-7d45d000	Deferred        libavahi-common.so.3
ELF	7d45f000-7d4ec000	Deferred        winex11<elf>
  \-PE	7d470000-7d4ec000	\               winex11
ELF	7d4ec000-7d510000	Deferred        imm32<elf>
  \-PE	7d4f0000-7d510000	\               imm32
ELF	7d55f000-7d591000	Deferred        libexpat.so.1
ELF	7d591000-7d5dc000	Deferred        libfontconfig.so.1
ELF	7d5dc000-7d616000	Deferred        libpng16.so.16
ELF	7d616000-7d6d3000	Deferred        libfreetype.so.6
ELF	7d6ed000-7d718000	Deferred        msacm32<elf>
  \-PE	7d6f0000-7d718000	\               msacm32
ELF	7d718000-7d7d1000	Deferred        winmm<elf>
  \-PE	7d720000-7d7d1000	\               winmm
ELF	7d7d1000-7d80c000	Deferred        oledlg<elf>
  \-PE	7d7e0000-7d80c000	\               oledlg
ELF	7d80c000-7d8f7000	Deferred        comdlg32<elf>
  \-PE	7d810000-7d8f7000	\               comdlg32
ELF	7d8f7000-7d937000	Deferred        winspool<elf>
  \-PE	7d900000-7d937000	\               winspool
ELF	7d937000-7d9ad000	Deferred        shlwapi<elf>
  \-PE	7d940000-7d9ad000	\               shlwapi
ELF	7d9ad000-7e223000	Deferred        shell32<elf>
  \-PE	7d9c0000-7e223000	\               shell32
ELF	7e223000-7e340000	Deferred        comctl32<elf>
  \-PE	7e230000-7e340000	\               comctl32
ELF	7e340000-7e39d000	Deferred        oleacc<elf>
  \-PE	7e350000-7e39d000	\               oleacc
ELF	7e39d000-7e3c7000	Deferred        iphlpapi<elf>
  \-PE	7e3a0000-7e3c7000	\               iphlpapi
ELF	7e3c7000-7e401000	Deferred        ws2_32<elf>
  \-PE	7e3d0000-7e401000	\               ws2_32
ELF	7e401000-7e420000	Deferred        libz.so.1
ELF	7e420000-7e43a000	Deferred        wsock32<elf>
  \-PE	7e430000-7e43a000	\               wsock32
ELF	7e43a000-7e4a1000	Deferred        dbghelp<elf>
  \-PE	7e440000-7e4a1000	\               dbghelp
ELF	7e4a1000-7e4bb000	Deferred        imagehlp<elf>
  \-PE	7e4b0000-7e4bb000	\               imagehlp
ELF	7e4bb000-7e4e3000	Deferred        mpr<elf>
  \-PE	7e4c0000-7e4e3000	\               mpr
ELF	7e4e3000-7e564000	Deferred        rpcrt4<elf>
  \-PE	7e4f0000-7e564000	\               rpcrt4
ELF	7e564000-7e692000	Deferred        gdi32<elf>
  \-PE	7e570000-7e692000	\               gdi32
ELF	7e692000-7e872000	Deferred        user32<elf>
  \-PE	7e6a0000-7e872000	\               user32
ELF	7e872000-7e8ea000	Deferred        advapi32<elf>
  \-PE	7e880000-7e8ea000	\               advapi32
ELF	7e8ea000-7ea44000	Deferred        ole32<elf>
  \-PE	7e900000-7ea44000	\               ole32
ELF	7ea44000-7eb76000	Deferred        oleaut32<elf>
  \-PE	7ea60000-7eb76000	\               oleaut32
ELF	7eb76000-7eb8a000	Deferred        libnss_files.so.2
ELF	7eb8a000-7eba5000	Deferred        libnsl.so.1
ELF	7eba5000-7ebb3000	Deferred        libnss_nis.so.2
ELF	7ebb3000-7ebcd000	Deferred        version<elf>
  \-PE	7ebc0000-7ebcd000	\               version
ELF	7eefe000-7f000000	Deferred        libm.so.6
ELF	f7bb2000-f7bb7000	Deferred        libdl.so.2
ELF	f7bb7000-f7d93000	Deferred        libc.so.6
ELF	f7d93000-f7db2000	Deferred        libpthread.so.0
ELF	f7dbe000-f7dc8000	Deferred        libnss_compat.so.2
ELF	f7dcc000-f7f82000	Dwarf           libwine.so.1
ELF	f7f84000-f7fac000	Deferred        ld-linux.so.2
ELF	f7faf000-f7fb1000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000022    0
	0000001d    0
	00000013    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	0000001a    0
	00000017    0
	00000016    0
	00000012    0
0000001b plugplay.exe
	0000001f    0
	0000001e    0
	0000001c    0
00000020 winedevice.exe
	00000029    0
	00000024    0
	00000023    0
	00000021    0
00000027 explorer.exe
	0000002c    0
	0000002b    0
	0000002a    0
	00000028    0
00000035 (D) C:\users\andre\Application Data\Inetsoft\Imobiliar\Imobiliar.exe
	0000004b    0
	0000004a    0
	00000049    0
	00000048    0
	00000047    0
	00000046    0
	00000045    0
	00000044    0
	00000043    0 <==
	00000042    0
	00000041    0
	00000040    0
	0000003f    0
	0000003e    0
	0000003d    0
	0000003c    0
	0000003b    0
	0000003a    0
	00000039    0
	00000038    0
	00000037    0
	00000036    0
0000004e Imobiliar.exe
	00000053    0
	00000052    0
	00000051    0
	00000050    0
	0000004f    0
System information:
    Wine build: wine-3.0.4
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 4.15.0-42-generic

jkfloris
Level 6
Level 6
Posts: 663
Joined: Thu Aug 14, 2014 10:10 am

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by jkfloris » Fri Dec 21, 2018 3:53 am

You could compare the terminal output between the two Ubuntu installations.
https://wiki.winehq.org/Wine_User's_Gui ... mmand_line
Maybe you will you find a clue what went wrong on 18.04. Or post the complete terminal output,
including the wine command you used.

User avatar
DarkShadow44
Level 7
Level 7
Posts: 921
Joined: Tue Nov 22, 2016 5:39 pm

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by DarkShadow44 » Tue Dec 25, 2018 9:38 am

Using the same wine version?

andredeabreuesilva
Newbie
Newbie
Posts: 3
Joined: Thu Dec 20, 2018 8:20 am

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by andredeabreuesilva » Thu Jan 03, 2019 2:29 pm

Ubuntu 16.04, wine version 1.6.2
Ubuntu 18.04, wine version 3.0.4

I fixed some errors installing winbind, but it still crash like this:

Code: Select all

 wine .wine/drive_c/users/andre/Application\ Data/Inetsoft/Imobiliar/cliimob.exe
andre@UVBx18:~$ 002f:fixme:dwmapi:DwmIsCompositionEnabled 0x33f034
002f:fixme:heap:RtlSetHeapInformation 0x110000 0 0x33f03c 4 stub
002f:fixme:process:SetProcessDEPPolicy (3): stub
002f:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
002f:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x100c4220, 0x12d387f0, 0x12e0dbf0) stub.
002f:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
002f:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
002f:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33f03c, (nil) 0x33f040
002f:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33f03c (nil) 0x33f040) returning a dummy value (current locale)
002f:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33f03c, 0x21dda0 0x33f040
002f:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33f03c 0x21dda0 0x33f040) returning a dummy value (current locale)
002f:fixme:winsock:WSALookupServiceBeginW (0x33ed54 0x00000ff0 0x33ed90) Stub!
002f:fixme:iphlpapi:NotifyAddrChange (Handle 0x33eed4, overlapped 0x21ec5c): stub
002f:fixme:win:RegisterDeviceNotificationW (hwnd=0x60110, filter=0x33eea8,flags=0x00000000) returns a fake device notification handle!
002f:fixme:win:RegisterDeviceNotificationW (hwnd=0x60110, filter=0x33eea8,flags=0x00000000) returns a fake device notification handle!
002f:fixme:win:EnumDisplayDevicesW ((null),0,0x33e9b0,0x00000000), stub!
0041:fixme:ver:GetCurrentPackageId (0xeb7f464 (nil)): stub
002f:fixme:wtsapi:WTSRegisterSessionNotification Stub 0x7011c 0x00000000
003c:fixme:file:SetFileCompletionNotificationModes 0x264 1 - stub
wine: Unhandled exception 0x80000003 in thread 3c at address 0x10090bc9 (thread 003c), starting debugger...
0048:fixme:heap:RtlSetHeapInformation 0x110000 0 0x33f38c 4 stub
0048:fixme:process:SetProcessDEPPolicy (3): stub
0048:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0048:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x100c4220, 0x12d387f0, 0x12e0dbf0) stub.
0048:fixme:gdi:GdiInitializeLanguagePack stub
0048:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
^C

User avatar
DarkShadow44
Level 7
Level 7
Posts: 921
Joined: Tue Nov 22, 2016 5:39 pm

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by DarkShadow44 » Thu Jan 03, 2019 5:08 pm

Is there a free download so we could test?

andredeabreuesilva
Newbie
Newbie
Posts: 3
Joined: Thu Dec 20, 2018 8:20 am

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by andredeabreuesilva » Wed Jan 09, 2019 1:13 pm

DarkShadow44 wrote:Is there a free download so we could test?
Unfortunately no.
It's just a frontend application that calls a service on local server, and it needs username/password.
I apreciate your willingness to help.

User avatar
DarkShadow44
Level 7
Level 7
Posts: 921
Joined: Tue Nov 22, 2016 5:39 pm

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by DarkShadow44 » Thu Jan 10, 2019 7:01 am

Can you do a regressiontest (see wiki) to find out which version of wine broke it?

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

Re: It runs on Ubuntu 16.04 but crashes on Ubuntu 18.04

Post by dimesio » Thu Jan 10, 2019 7:11 am

andredeabreuesilva wrote:Ubuntu 16.04, wine version 1.6.2
Ubuntu 18.04, wine version 3.0.4
Before bothering with a regression test you should retest in the latest development release, which is currently 4.0-rc5. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu

Post Reply