wine 16bit primavera p3 v3.1

Asked by Goksu

hi everyone,

I am trying to install a 16bit program named "Primavera P3 3.1" this program is the last program I need to have working under Ubuntu to complete my transition from windows. this app works unders windows 3.1, windows xp, vista.
I believe with very minor tweaking it will work under wine too.

the program was on a CD that I copied onto my laptop.
when I try to install with "wine Setup.exe" I get the below errors. what do I need to do?

wine setup.exe

wine: Call from 0x7b844c50 to unimplemented function advapi32.dll.LsaSetSecret, aborting
err:seh:setup_exception_record stack overflow 320 bytes in thread 0016 eip 7ee30000 esp 7ed0e1f0 stack 0x7ed0d000-0x7ed0e000-0x7ee1e000
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x33ffb8
wine: Unhandled page fault on read access to 0x00006e50 at address 0x125f:0x0000c2eb (thread 001b), starting debugger...
Unhandled exception: page fault on read access to 0x00006e50 in 16-bit code (125f:c2eb).
fixme:dbghelp:addr_to_linear Failed to linearize address 0012:0000575e (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0012:00005789 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 2612:00005734 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 1712:00005715 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 1712:00005702 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0412:00004f49 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0412:00004f95 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0012:00004fba (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0812:00004fe6 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0412:00004fb6 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 6012:00004fc7 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 2412:00003f06 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0112:00003f00 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0512:00003f19 (mode 0)
fixme:dbghelp:addr_to_linear Failed to linearize address 0112:00003f19 (mode 0)
In 16 bit mode.
Register dump:
 CS:125f SS:126f DS:126f ES:136f FS:0063 GS:006b
 IP:c2eb SP:764e BP:7652 FLAGS:0202( - 00 - -RI1)
 AX:6e75 BX:2820 CX:01e0 DX:0000 SI:13b0 DI:0000
Stack dump:
0x126f:0x764e: 13b0 126f 76c7 f0de 125f 2820 6e55 13b0
0x126f:0x765e: 0000 0591 126f 7691 d4b4 125f 1bf2 016c
0x126f:0x766e: 126f 767d d879 125f 1200 0500 126f 76a9
024d: sel=126f base=003e9318 limit=00009edf 16-bit rw-
026d: sel=136f base=004216a0 limit=00007cff 16-bit rw-
Backtrace:
=>1 0x125f:0xc2eb (0x126f:0x7652)
  2 0x125f:0xf0de (0x126f:0x76c6)
  3 0x0012:0x575e (0x126f:0x772a)
  4 0x0012:0x5789 (0x126f:0x778c)
  5 0x2612:0x5734 (0x126f:0x781e)
  6 0x1712:0x5715 (0x126f:0x7848)
  7 0x1712:0x5702 (0x126f:0x785e)
  8 0x0412:0x4f49 (0x126f:0x787a)
  9 0x0412:0x4f95 (0x126f:0x7a20)
  10 0x0012:0x4fba (0x126f:0x7a6e)
  11 0x0812:0x4fe6 (0x126f:0x7ace)
  12 0x0412:0x4fb6 (0x126f:0x7aec)
  13 0x6012:0x4fc7 (0x126f:0x7d60)
  14 0x2412:0x3f06 (0x126f:0x7d8e)
  15 0x0112:0x3f00 (0x126f:0x7e66)
  16 0x0512:0x3f19 (0x126f:0x7e78)
  17 0x0112:0x3f19 (0x126f:0x0000)
0x125f:0xc2eb: mov 0x8(%bp),%es
Modules:
Module Address Debug info Name (97 modules)
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 7dd8e000-7dd99000 Deferred libgcc_s.so.1
ELF 7dd99000-7ddb2000 Deferred version<elf>
  \-PE 7dda0000-7ddb2000 \ version
ELF 7ddb2000-7ddc9000 Deferred spoolss<elf>
  \-PE 7ddc0000-7ddc9000 \ spoolss
ELF 7ddc9000-7dde2000 Deferred localspl<elf>
  \-PE 7ddd0000-7dde2000 \ localspl
ELF 7dde2000-7dde6000 Deferred libgpg-error.so.0
ELF 7dde6000-7de33000 Deferred libgcrypt.so.11
ELF 7de33000-7de43000 Deferred libtasn1.so.3
ELF 7de43000-7de75000 Deferred libcrypt.so.1
ELF 7de75000-7deea000 Deferred libgnutls.so.13
ELF 7deea000-7df0d000 Deferred libk5crypto.so.3
ELF 7df0d000-7df9a000 Deferred libkrb5.so.3
ELF 7df9a000-7dfc3000 Deferred libgssapi_krb5.so.2
ELF 7dfc3000-7dff6000 Deferred libcups.so.2
ELF 7dff7000-7e00b000 Deferred lz32<elf>
  \-PE 7e000000-7e00b000 \ lz32
ELF 7e02f000-7e042000 Deferred libresolv.so.2
ELF 7e043000-7e046000 Deferred libkeyutils.so.1
ELF 7e046000-7e04e000 Deferred libkrb5support.so.0
ELF 7e057000-7e075000 Deferred iphlpapi<elf>
  \-PE 7e060000-7e075000 \ iphlpapi
ELF 7e075000-7e0d6000 Deferred rpcrt4<elf>
  \-PE 7e080000-7e0d6000 \ rpcrt4
ELF 7e0d6000-7e17a000 Deferred ole32<elf>
  \-PE 7e0e0000-7e17a000 \ ole32
ELF 7e17b000-7e17e000 Deferred libcom_err.so.2
ELF 7e1a6000-7e1d9000 Deferred uxtheme<elf>
  \-PE 7e1b0000-7e1d9000 \ uxtheme
ELF 7e1d9000-7e20f000 Deferred winspool<elf>
  \-PE 7e1e0000-7e20f000 \ winspool
ELF 7e20f000-7e2ce000 Deferred comctl32<elf>
  \-PE 7e220000-7e2ce000 \ comctl32
ELF 7e2ce000-7e327000 Deferred shlwapi<elf>
  \-PE 7e2e0000-7e327000 \ shlwapi
ELF 7e327000-7e43a000 Deferred shell32<elf>
  \-PE 7e340000-7e43a000 \ shell32
ELF 7e43a000-7e4e5000 Deferred comdlg32<elf>
  \-PE 7e440000-7e4e5000 \ comdlg32
ELF 7e707000-7e72d000 Deferred msacm32<elf>
  \-PE 7e710000-7e72d000 \ msacm32
ELF 7e72d000-7e744000 Deferred msacm32<elf>
  \-PE 7e730000-7e744000 \ msacm32
ELF 7e744000-7e807000 Deferred libasound.so.2
ELF 7e807000-7e83d000 Deferred winealsa<elf>
  \-PE 7e810000-7e83d000 \ winealsa
ELF 7e83d000-7e8cf000 Deferred winmm<elf>
  \-PE 7e850000-7e8cf000 \ winmm
ELF 7e8cf000-7e92f000 Deferred winedos<elf>
  \-PE 7e8e0000-7e92f000 \ winedos
ELF 7e92f000-7e938000 Deferred libxcursor.so.1
ELF 7e938000-7e93d000 Deferred libxfixes.so.3
ELF 7e93d000-7e940000 Deferred libxcomposite.so.1
ELF 7e940000-7e946000 Deferred libxrandr.so.2
ELF 7e946000-7e94e000 Deferred libxrender.so.1
ELF 7e94e000-7e951000 Deferred libxinerama.so.1
ELF 7e951000-7e971000 Deferred imm32<elf>
  \-PE 7e960000-7e971000 \ imm32
ELF 7e971000-7e976000 Deferred libxdmcp.so.6
ELF 7e976000-7e98e000 Deferred libxcb.so.1
ELF 7e98e000-7e991000 Deferred libxau.so.6
ELF 7e991000-7ea78000 Deferred libx11.so.6
ELF 7ea78000-7ea86000 Deferred libxext.so.6
ELF 7ea86000-7ea8b000 Deferred libxxf86vm.so.1
ELF 7ea8c000-7eaa0000 Deferred midimap<elf>
  \-PE 7ea90000-7eaa0000 \ midimap
ELF 7eaa0000-7eb37000 Deferred winex11<elf>
  \-PE 7eab0000-7eb37000 \ winex11
ELF 7eb57000-7eb78000 Deferred libexpat.so.1
ELF 7eb78000-7eba2000 Deferred libfontconfig.so.1
ELF 7eba2000-7ebb7000 Deferred libz.so.1
ELF 7ebb7000-7ec27000 Deferred libfreetype.so.6
ELF 7ec3c000-7ec8e000 Deferred advapi32<elf>
  \-PE 7ec50000-7ec8e000 \ advapi32
ELF 7ec8e000-7ed29000 Deferred gdi32<elf>
  \-PE 7eca0000-7ed29000 \ gdi32
ELF 7ed29000-7ee70000 Deferred user32<elf>
  \-PE 7ed40000-7ee70000 \ user32
ELF 7ee70000-7ee88000 Deferred libnsl.so.1
ELF 7ee88000-7ee91000 Deferred libnss_compat.so.2
ELF 7ee91000-7eea6000 Deferred winevdm<elf>
  \-PE 7eea0000-7eea6000 \ winevdm
ELF 7efc6000-7efeb000 Deferred libm.so.6
ELF 7efeb000-7efed000 Deferred libxcb-xlib.so.0
ELF 7eff5000-7f000000 Deferred libnss_files.so.2
ELF f7c70000-f7c7a000 Deferred libnss_nis.so.2
ELF f7c80000-f7c84000 Deferred libdl.so.2
ELF f7c84000-f7dd3000 Deferred libc.so.6
ELF f7dd4000-f7dec000 Deferred libpthread.so.0
ELF f7e01000-f7f37000 Deferred libwine.so.1
ELF f7f39000-f7f58000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
 0000000b 0
0000000c
 0000000e 0
 0000000d 0
00000018 (D) C:\windows\system32\winevdm.exe
 0000001b 0 <==
 00000019 0
0000001c
 0000001d 0
Backtrace:
=>1 0x125f:0xc2eb (0x126f:0x7652)
  2 0x125f:0xf0de (0x126f:0x76c6)
  3 0x0012:0x575e (0x126f:0x772a)
  4 0x0012:0x5789 (0x126f:0x778c)
  5 0x2612:0x5734 (0x126f:0x781e)
  6 0x1712:0x5715 (0x126f:0x7848)
  7 0x1712:0x5702 (0x126f:0x785e)
  8 0x0412:0x4f49 (0x126f:0x787a)
  9 0x0412:0x4f95 (0x126f:0x7a20)
  10 0x0012:0x4fba (0x126f:0x7a6e)
  11 0x0812:0x4fe6 (0x126f:0x7ace)
  12 0x0412:0x4fb6 (0x126f:0x7aec)
  13 0x6012:0x4fc7 (0x126f:0x7d60)
  14 0x2412:0x3f06 (0x126f:0x7d8e)
  15 0x0112:0x3f00 (0x126f:0x7e66)
  16 0x0512:0x3f19 (0x126f:0x7e78)
  17 0x0112:0x3f19 (0x126f:0x0000)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wine Edit question
Assignee:
No assignee Edit question
Solved by:
Goksu
Solved:
Last query:
Last reply:
Revision history for this message
Kai Blin (kai.blin) said :
#1

See the Wine bug report, I posted a patch.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

@Kai Blin Which patch which links...?

Thank you

Revision history for this message
Goksu (gun-goksu) said :
#3

http://bugs.winehq.org/show_bug.cgi?id=15898 is the bug link.

I have not tried the patch yet though. I had installed wine through synaptic.
so there is no way I know that I can install a patch to it. it is not built from source by me.

I am reading the wine build manuals now.

I believe the programs already installed under wine will need to be deleted and re installed after a new build from source (make wine session). :(((( that is very depressing as some programs took a long time to install and tweek to work.

Do I really need to build wine from source to install that patch?
can I install the build on top of the synaptic installed wine?
Do I have to destroy the previously installed apps to do this?

thank you.

Revision history for this message
Dan Kegel (dank) said :
#4

Yes, to try a patch, wine needs to be built from source.

To get ready to build, do
  wget http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh
  sudo sh install-wine-deps.sh
Then to build you can just do the usual download / unpack / configure / make,
you don't need to install wine if you're just trying out a patch.

If you're building the same or very similar version of Wine,
or you started off with wine-1.0 or later,
you don't need to reinstall your apps.

I'm curious - what tweaking did you need to do? Did you run into bugs installing the apps?

Revision history for this message
Goksu (gun-goksu) said :
#5

hello,

sorry for the late reply. it has been a very busy week (nearly a week already has passed). :(

I did not have any trouble installing my other apps under wine. They all worked out of the box.

The only tweaking I did was from inside the programs to setup my working environment and thats very normal.
I am very happy with wine in that respect. :)

The wine I started using was the wine in the ubuntu repositories. So I understand they will work fine later on.

I have not yet had enough time to read enough on wine management to uninstall the wine from the repository and install from source to get the patch installed & primavera tested.

in the answers under the bug report I had filled. Klai Bin mentioned that I "don't need to remove the preinstalled Wine to test a build from source." Now that is way cool! but how it will work I dont know. I still need to read some more. :)

I have not yet fully grasped the way this version management works. I would like to help in the update and apply the patches and all but would also want to not break the synaptic update process and be able to update to the next wine when it comes.

so this is the update for the moment.

Revision history for this message
Goksu (gun-goksu) said :
#6

I'll keep this thread as "solved" so that It does not get "in the way".
Also to prevent from double posting. I'll post the updates on this under the bug report for future reference.

thank you for the help. :)