Rearranging modules

The place to discuss the Linux/Ubuntu edition
Post Reply
darrel_jw
Posts: 279
Joined: Sun Dec 13, 2015 3:38 am

Rearranging modules

Post by darrel_jw »

Tim,
I want to rearrange modules in BA 5.3 in PlayonLinux. I get the following error and BA quits:

Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0xf7c94790).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f7c94790 ESP:0032daa8 EBP:0032dac8 EFLAGS:00010202( R- -- I - - - )
EAX:00000000 EBX:7e90d000 ECX:0032dbac EDX:0bacf020
ESI:038d5ee8 EDI:0032dbac
Stack dump:
0x0032daa8: 7e90d000 7e8cdc7a 0bacf020 00000000
0x0032dab8: 0032dbac 7e8cdc64 0032dad4 038d5f30
0x0032dac8: 0032dd7c 016458e6 016458e6 0bacf020
0x0032dad8: 00000000 0032dbac 0032dc68 00000000
0x0032dae8: 015439d1 0032dbac 00000000 015994da
0x0032daf8: 0032db18 0032dbac 00000000 17571297
Backtrace:
=>0 0xf7c94790 in libc.so.6 (+0x146790) (0x0032dac8)
1 0x7e8cdc7a MSVCRT_memcpy+0x29() in msvcr90 (0x0032dac8)
2 0x016458e6 (0x0032dd7c)
3 0x1e111bbc in python27 (+0x111bbb) (0x0032dda8)
4 0x1e10f26b in python27 (+0x10f26a) (0x0032de28)
5 0x1e1102bc in python27 (+0x1102bb) (0x0032de74)
6 0x1e1115a3 in python27 (+0x1115a2) (0x0032deb4)
7 0x1e111452 in python27 (+0x111451) (0x0032dee4)
8 0x1e10f1bf in python27 (+0x10f1be) (0x0032df58)
9 0x1e1102bc in python27 (+0x1102bb) (0x0032dfa0)
10 0x1e0b5021 in python27 (+0xb5020) (0x0032dff0)
11 0x1e08e16c in python27 (+0x8e16b) (0x0032e00c)
12 0x1e09d927 in python27 (+0x9d926) (0x0032e240)
13 0x1e08e16c in python27 (+0x8e16b) (0x0032e25c)
14 0x1e110ff3 in python27 (+0x110ff2) (0x0032e27c)
15 0x10001dd7 (0x083ae990)
0xf7c94790: repe movq 0x0(%eax),%mm0
Modules:
Module Address Debug info Name (131 modules)
PE 400000- 460000 Deferred bibleanalyzer5
PE 1e000000-1e299000 Export python27
ELF 7b400000-7b7e9000 Deferred kernel32<elf>
\-PE 7b410000-7b7e9000 \ kernel32
ELF 7bc00000-7bcf9000 Deferred ntdll<elf>
\-PE 7bc10000-7bcf9000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7c2fb000-7c341000 Deferred usp10<elf>
\-PE 7c300000-7c341000 \ usp10
ELF 7c621000-7c649000 Deferred mpr<elf>
\-PE 7c630000-7c649000 \ mpr
ELF 7c649000-7c6c1000 Deferred wininet<elf>
\-PE 7c650000-7c6c1000 \ wininet
ELF 7c6c1000-7c75f000 Deferred urlmon<elf>
\-PE 7c6d0000-7c75f000 \ urlmon
ELF 7c8a9000-7c95f000 Deferred msvcrt<elf>
\-PE 7c8c0000-7c95f000 \ msvcrt
ELF 7c95f000-7ca2d000 Deferred crypt32<elf>
\-PE 7c970000-7ca2d000 \ crypt32
ELF 7ca2d000-7ca4a000 Deferred bcrypt<elf>
\-PE 7ca30000-7ca4a000 \ bcrypt
ELF 7ca4a000-7ca89000 Deferred rsaenh<elf>
\-PE 7ca50000-7ca89000 \ rsaenh
ELF 7ca89000-7ca9d000 Deferred msimg32<elf>
\-PE 7ca90000-7ca9d000 \ msimg32
ELF 7ca9d000-7cacd000 Deferred netapi32<elf>
\-PE 7caa0000-7cacd000 \ netapi32
ELF 7cacd000-7cb01000 Deferred secur32<elf>
\-PE 7cad0000-7cb01000 \ secur32
ELF 7cb01000-7cb2c000 Deferred msacm32<elf>
\-PE 7cb10000-7cb2c000 \ msacm32
ELF 7cb2c000-7cbe5000 Deferred winmm<elf>
\-PE 7cb30000-7cbe5000 \ winmm
ELF 7cbe5000-7cd17000 Deferred oleaut32<elf>
\-PE 7cc00000-7cd17000 \ oleaut32
ELF 7ce17000-7ce2f000 Deferred libgpg-error.so.0
ELF 7ce2f000-7cf10000 Deferred libgcrypt.so.20
ELF 7cf10000-7cf26000 Deferred liblz4.so.1
ELF 7cf26000-7cf52000 Deferred liblzma.so.5
ELF 7cf52000-7cfe2000 Deferred libsystemd.so.0
ELF 7cfe2000-7d03d000 Deferred libdbus-1.so.3
ELF 7d03d000-7d1be000 Deferred libunistring.so.2
ELF 7d24a000-7d253000 Deferred libffi.so.6
ELF 7d253000-7d26b000 Deferred libresolv.so.2
ELF 7d26b000-7d270000 Deferred libkeyutils.so.1
ELF 7d270000-7d2fb000 Deferred libgmp.so.10
ELF 7d2fb000-7d331000 Deferred libhogweed.so.4
ELF 7d331000-7d36d000 Deferred libnettle.so.6
ELF 7d36d000-7d382000 Deferred libtasn1.so.6
ELF 7d382000-7d3a0000 Deferred libidn2.so.0
ELF 7d3a0000-7d4ee000 Deferred libp11-kit.so.0
ELF 7d4ee000-7d523000 Deferred libk5crypto.so.3
ELF 7d523000-7d5ff000 Deferred libkrb5.so.3
ELF 7d5ff000-7d613000 Deferred libavahi-client.so.3
ELF 7d613000-7d7a9000 Deferred libgnutls.so.30
ELF 7d7a9000-7d7fd000 Deferred libgssapi_krb5.so.2
ELF 7d7fd000-7d88f000 Deferred libcups.so.2
ELF 7d89a000-7d8b1000 Deferred powrprof<elf>
\-PE 7d8a0000-7d8b1000 \ powrprof
ELF 7d8b1000-7d8e9000 Deferred uxtheme<elf>
\-PE 7d8c0000-7d8e9000 \ uxtheme
ELF 7d8e9000-7d8f0000 Deferred libxfixes.so.3
ELF 7d8f0000-7d8fc000 Deferred libxcursor.so.1
ELF 7d8fc000-7d90f000 Deferred libxi.so.6
ELF 7d90f000-7d913000 Deferred libxcomposite.so.1
ELF 7d913000-7d920000 Deferred libxrandr.so.2
ELF 7d920000-7d92c000 Deferred libxrender.so.1
ELF 7d92c000-7d933000 Deferred libxxf86vm.so.1
ELF 7d933000-7d937000 Deferred libxinerama.so.1
ELF 7d937000-7d941000 Deferred librt.so.1
ELF 7d941000-7d95c000 Deferred libbsd.so.0
ELF 7d95c000-7d963000 Deferred libxdmcp.so.6
ELF 7d963000-7d967000 Deferred libxau.so.6
ELF 7d967000-7d993000 Deferred libxcb.so.1
ELF 7d993000-7dadd000 Deferred libx11.so.6
ELF 7dadd000-7daf2000 Deferred libxext.so.6
ELF 7daf2000-7daff000 Deferred libkrb5support.so.0
ELF 7daff000-7db04000 Deferred libcom_err.so.2
ELF 7db04000-7db12000 Deferred libavahi-common.so.3
ELF 7db14000-7dba1000 Deferred winex11<elf>
\-PE 7db20000-7dba1000 \ winex11
ELF 7dba1000-7dbe1000 Deferred winspool<elf>
\-PE 7dbb0000-7dbe1000 \ winspool
ELF 7dbe1000-7dcfe000 Deferred comctl32<elf>
\-PE 7dbf0000-7dcfe000 \ comctl32
ELF 7dcfe000-7dde9000 Deferred comdlg32<elf>
\-PE 7dd00000-7dde9000 \ comdlg32
ELF 7dde9000-7de13000 Deferred iphlpapi<elf>
\-PE 7ddf0000-7de13000 \ iphlpapi
ELF 7de13000-7de4d000 Deferred ws2_32<elf>
\-PE 7de20000-7de4d000 \ ws2_32
ELF 7de4d000-7de67000 Deferred wsock32<elf>
\-PE 7de50000-7de67000 \ wsock32
ELF 7de67000-7dfbc000 Deferred msvcp90<elf>
\-PE 7dea0000-7dfbc000 \ msvcp90
ELF 7dfbc000-7e03d000 Deferred rpcrt4<elf>
\-PE 7dfd0000-7e03d000 \ rpcrt4
ELF 7e03d000-7e197000 Deferred ole32<elf>
\-PE 7e050000-7e197000 \ ole32
ELF 7e197000-7e20d000 Deferred shlwapi<elf>
\-PE 7e1a0000-7e20d000 \ shlwapi
ELF 7e20d000-7e45f000 Deferred shell32<elf>
\-PE 7e220000-7e45f000 \ shell32
ELF 7e45f000-7e483000 Deferred imm32<elf>
\-PE 7e470000-7e483000 \ imm32
ELF 7e6a3000-7e6d5000 Deferred libexpat.so.1
ELF 7e6d5000-7e720000 Deferred libfontconfig.so.1
ELF 7e720000-7e73f000 Deferred libz.so.1
ELF 7e73f000-7e779000 Deferred libpng16.so.16
ELF 7e779000-7e836000 Deferred libfreetype.so.6
ELF 7e858000-7e919000 Dwarf msvcr90<elf>
\-PE 7e870000-7e919000 \ msvcr90
ELF 7e919000-7e991000 Deferred advapi32<elf>
\-PE 7e930000-7e991000 \ advapi32
ELF 7e991000-7eabf000 Deferred gdi32<elf>
\-PE 7e9a0000-7eabf000 \ gdi32
ELF 7eabf000-7ec9f000 Deferred user32<elf>
\-PE 7ead0000-7ec9f000 \ user32
ELF 7ee9f000-7eeb3000 Deferred libnss_files.so.2
ELF 7eeb3000-7eece000 Deferred libnsl.so.1
ELF 7eece000-7eedc000 Deferred libnss_nis.so.2
ELF 7eedc000-7efde000 Deferred libm.so.6
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7b49000-f7b4e000 Deferred libdl.so.2
ELF f7b4e000-f7d2a000 Dwarf libc.so.6
ELF f7d2a000-f7d49000 Deferred libpthread.so.0
ELF f7d61000-f7d6b000 Deferred libnss_compat.so.2
ELF f7d6b000-f7f21000 Dwarf libwine.so.1
ELF f7f23000-f7f4b000 Deferred ld-linux.so.2
ELF f7f4e000-f7f50000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Bible Analyzer 5\BibleAnalyzer5.exe
0000002e 0
0000002d 0
00000009 0 <==
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
00000027 0
00000024 0
00000023 0
00000021 0
00000028 explorer.exe
0000002c 0
0000002b 0
0000002a 0
00000029 0
System information:
Wine build: wine-3.0.3
Platform: i386
Version: Windows 7
Host system: Linux
Host version: 4.15.0-36-generic

Tim
Site Admin
Posts: 1454
Joined: Sun Dec 07, 2008 1:14 pm

Re: Rearranging modules

Post by Tim »

It's hard to tell what caused the crash. Each flavor of Linux has its own quirks and peculiarities. I have never tried PlayOnLinux.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)

RobertRathbone
Posts: 42
Joined: Mon Jul 07, 2014 6:40 pm

Re: Rearranging modules

Post by RobertRathbone »

Tim wrote:It's hard to tell what caused the crash. Each flavor of Linux has its own quirks and peculiarities. I have never tried PlayOnLinux.
PlayOnLinux is framework intended to help run Windows software in Linux under Wine, so this crash probably isn't specifically a Linux issue but a Wine issue. It's emulation of Windows is still imperfect and Darrel probably was running the Windows version of BA under Wine and encountered a WinAPI call that Wine didn't handle exactly right.

Robert

darrel_jw
Posts: 279
Joined: Sun Dec 13, 2015 3:38 am

Re: Rearranging modules

Post by darrel_jw »

Hi Robert,
I run the latest version of Wine, and a number of Windows programs. BA is the only one that has "issues" running in either Wine or PlayonLinux. I was trying the Windows version of BA to see if I could work around several Linux BA "issues", namely RTL not working on anything based on Ubuntu 18.04. And again, BA is the only Linux program that does not display RTL Hebrew text.

I run Windows programs theWord and DAVAR4. I also run Linux program XIPHOS. I also run a number of other non-Bible Windows programs and they also just work.

So I don't understand why the above programs work and BA does not. I realize various libraries behave differently than others, but maybe it is time to investigate changing some modules? Just a thought.

Darrel

RobertRathbone
Posts: 42
Joined: Mon Jul 07, 2014 6:40 pm

Re: Rearranging modules

Post by RobertRathbone »

Sorry, just now saw your reply...

Maybe the problem with the RTL display of Hebrew text is due to the way the wxWidgets library that Tim uses in BibleAnalyzer handles RTL fonts. Not being familiar with wxWidgets or how RTL fonts are handled in the Windows API, I'm not able to competently comment on this other than to speculate. I think Wine does support using genuine Windows DLLs, but knowing which one's to replace would take some research and perhaps some trial and error.

I'm not familiar with "DAVAR4" and just now found it with Google's help. I'll have to take a look at this, although it is a shame that it's also not available natively for Linux. Have you taken a look at BibleTime? It's available for Linux and I prefer it to Xiphos. One shortcoming with these SWORD based Bible study programs (it seems to me) is the lack of modules available. I believe the only modules I've found are those allowed by copyright holders or are public domain. I like free stuff but sometimes there are things that you have to spend a few bucks on. :D

Robert

Post Reply