Crash under Linux Wine when more than 1 tab

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ZeroPaper
User
Posts: 19
Joined: Fri Apr 25, 2008 10:37 pm

Crash under Linux Wine when more than 1 tab

Post by ZeroPaper »

Hi,

Using Xubuntu 13.04 x64, wine-1.5.31 32 bits. XChange Viewer 2.5.210 32 bits.

XChange Viewer working OK with only 1 tab. When there is more then 1 tab. As soon as I click on another tab, the program crashes. This happens actually since may be a year ago. I didn't remember when it started crashing but I am sure it worked OK before. I just switched to Evince the native Linux PDF viewer. I survived OK with Evince in spite of its much reduced features compared to XChange Viewer. However, there is one feature in that makes XChange Viewer indispensable for me: it is possible to change the color background. Somehow, I have less eye-strain when the paper background is light gray. Evince can only allow black or white.

I have followed every tricks I found on the Internet to fix the XChange Viewer crash (re-install win, force 32 bits mode, replace PDFXCview.exe by the portable version, etc.) NONE of these trick worked. The crash is stystematically reproducible. I have seen in this forum someone running XChange Viewer in a Windows XP VM. This is of course a solution but it is overkilled. I still prefer either using XChange with 1 tab or even using Evince.

I understand that Tracker software may deem Linux as not worth an investment effort. However, I hope you'd consider to improve your presence in the Linux world. Because the application is almost working. So far with only 1 tab.

In case you need the debug info, here is the debug details returned by wine:

Code: Select all

Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x007d3f72).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:007d3f72 ESP:0033552c EBP:00000016 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:00000001 EBX:00000704 ECX:00000000 EDX:00000000
 ESI:0273d128 EDI:0273cca4
Stack dump:
0x0033552c:  0273cca4 003355b4 00000704 00000000
0x0033553c:  00000001 0b3131f0 00000001 00e60121
0x0033554c:  01a11114 003355a4 00cfbbf8 ffffffff
0x0033555c:  007c8b40 01a110fc 00000704 01a1115c
0x0033556c:  01a110fc 00000704 000005f4 00000395
0x0033557c:  00a17a51 000dce24 000dcb58 0278ab40
Backtrace:
=>0 0x007d3f72 in pdfxcview (+0x3d3f72) (0x00000016)
0x007d3f72: cmpl	$0,0x4(%ecx)
Modules:
Module	Address			Debug info	Name (114 modules)
PE	  400000- 1237000	Export          pdfxcview
ELF	7ac00000-7ac60000	Deferred        riched20<elf>
  \-PE	7ac10000-7ac60000	\               riched20
ELF	7b800000-7ba45000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba45000	\               kernel32
ELF	7bc00000-7bcd9000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcd9000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d0cb000-7d0e8000	Deferred        libgcc_s.so.1
ELF	7d262000-7d281000	Deferred        wintab32<elf>
  \-PE	7d270000-7d281000	\               wintab32
ELF	7d2f1000-7d315000	Deferred        imm32<elf>
  \-PE	7d300000-7d315000	\               imm32
ELF	7d415000-7d44b000	Deferred        uxtheme<elf>
  \-PE	7d420000-7d44b000	\               uxtheme
ELF	7d44b000-7d450000	Deferred        libgpg-error.so.0
ELF	7d450000-7d467000	Deferred        libresolv.so.2
ELF	7d467000-7d46b000	Deferred        libkeyutils.so.1
ELF	7d46b000-7d4b5000	Deferred        libdbus-1.so.3
ELF	7d4b5000-7d4c9000	Deferred        libp11-kit.so.0
ELF	7d4c9000-7d4db000	Deferred        libtasn1.so.3
ELF	7d4db000-7d55f000	Deferred        libgcrypt.so.11
ELF	7d55f000-7d568000	Deferred        libkrb5support.so.0
ELF	7d568000-7d590000	Deferred        libk5crypto.so.3
ELF	7d590000-7d65e000	Deferred        libkrb5.so.3
ELF	7d65e000-7d670000	Deferred        libavahi-client.so.3
ELF	7d670000-7d735000	Deferred        libgnutls.so.26
ELF	7d735000-7d772000	Deferred        libgssapi_krb5.so.2
ELF	7d772000-7d7d1000	Deferred        libcups.so.2
ELF	7d7e9000-7d7f0000	Deferred        libxfixes.so.3
ELF	7d7f0000-7d7fb000	Deferred        libxcursor.so.1
ELF	7d7fb000-7d80b000	Deferred        libxi.so.6
ELF	7d80b000-7d80f000	Deferred        libxcomposite.so.1
ELF	7d80f000-7d81a000	Deferred        libxrandr.so.2
ELF	7d81a000-7d824000	Deferred        libxrender.so.1
ELF	7d824000-7d82a000	Deferred        libxxf86vm.so.1
ELF	7d82a000-7d82e000	Deferred        libxinerama.so.1
ELF	7d82e000-7d835000	Deferred        libxdmcp.so.6
ELF	7d835000-7d839000	Deferred        libxau.so.6
ELF	7d839000-7d85b000	Deferred        libxcb.so.1
ELF	7d85b000-7d861000	Deferred        libuuid.so.1
ELF	7d861000-7d87b000	Deferred        libice.so.6
ELF	7d87b000-7d9b2000	Deferred        libx11.so.6
ELF	7d9b2000-7d9c4000	Deferred        libxext.so.6
ELF	7d9c4000-7d9cd000	Deferred        libsm.so.6
ELF	7d9d0000-7d9d5000	Deferred        libcom_err.so.2
ELF	7d9d5000-7d9e3000	Deferred        libavahi-common.so.3
ELF	7d9e5000-7da77000	Deferred        winex11<elf>
  \-PE	7d9f0000-7da77000	\               winex11
ELF	7dbd7000-7dbff000	Deferred        libexpat.so.1
ELF	7dbff000-7dc38000	Deferred        libfontconfig.so.1
ELF	7dc38000-7dcd3000	Deferred        libfreetype.so.6
ELF	7dcd3000-7dd15000	Deferred        usp10<elf>
  \-PE	7dce0000-7dd15000	\               usp10
ELF	7dd15000-7ddb7000	Deferred        urlmon<elf>
  \-PE	7dd20000-7ddb7000	\               urlmon
ELF	7ddb7000-7dded000	Deferred        wintrust<elf>
  \-PE	7ddc0000-7dded000	\               wintrust
ELF	7dded000-7deb6000	Deferred        crypt32<elf>
  \-PE	7de00000-7deb6000	\               crypt32
ELF	7deb6000-7dedd000	Deferred        mpr<elf>
  \-PE	7dec0000-7dedd000	\               mpr
ELF	7dedd000-7def6000	Deferred        libz.so.1
ELF	7def6000-7df70000	Deferred        wininet<elf>
  \-PE	7df00000-7df70000	\               wininet
ELF	7dfa9000-7dfbd000	Deferred        psapi<elf>
  \-PE	7dfb0000-7dfbd000	\               psapi
ELF	7dfbd000-7dff3000	Deferred        ws2_32<elf>
  \-PE	7dfc0000-7dff3000	\               ws2_32
ELF	7dff3000-7e02c000	Deferred        liblcms.so.1
ELF	7e02c000-7e04d000	Deferred        mscms<elf>
  \-PE	7e030000-7e04d000	\               mscms
ELF	7e04d000-7e186000	Deferred        oleaut32<elf>
  \-PE	7e060000-7e186000	\               oleaut32
ELF	7e186000-7e28e000	Deferred        comctl32<elf>
  \-PE	7e190000-7e28e000	\               comctl32
ELF	7e28e000-7e307000	Deferred        shlwapi<elf>
  \-PE	7e2a0000-7e307000	\               shlwapi
ELF	7e307000-7e536000	Deferred        shell32<elf>
  \-PE	7e310000-7e536000	\               shell32
ELF	7e536000-7e61d000	Deferred        comdlg32<elf>
  \-PE	7e540000-7e61d000	\               comdlg32
ELF	7e61d000-7e65d000	Deferred        winspool<elf>
  \-PE	7e620000-7e65d000	\               winspool
ELF	7e65d000-7e688000	Deferred        msacm32<elf>
  \-PE	7e660000-7e688000	\               msacm32
ELF	7e688000-7e709000	Deferred        rpcrt4<elf>
  \-PE	7e690000-7e709000	\               rpcrt4
ELF	7e709000-7e845000	Deferred        ole32<elf>
  \-PE	7e720000-7e845000	\               ole32
ELF	7e845000-7e85f000	Deferred        version<elf>
  \-PE	7e850000-7e85f000	\               version
ELF	7e85f000-7e8ce000	Deferred        advapi32<elf>
  \-PE	7e870000-7e8ce000	\               advapi32
ELF	7e8ce000-7e9ea000	Deferred        gdi32<elf>
  \-PE	7e8e0000-7e9ea000	\               gdi32
ELF	7e9ea000-7eb45000	Deferred        user32<elf>
  \-PE	7ea00000-7eb45000	\               user32
ELF	7eb45000-7ebfa000	Deferred        winmm<elf>
  \-PE	7eb50000-7ebfa000	\               winmm
ELF	7ef6a000-7ef77000	Deferred        libnss_files.so.2
ELF	7ef77000-7ef83000	Deferred        libnss_nis.so.2
ELF	7ef83000-7ef9c000	Deferred        libnsl.so.1
ELF	7ef9c000-7efa5000	Deferred        libnss_compat.so.2
ELF	7efa5000-7efe8000	Deferred        libm.so.6
ELF	7efec000-7f000000	Deferred        msimg32<elf>
  \-PE	7eff0000-7f000000	\               msimg32
ELF	f7410000-f7419000	Deferred        librt.so.1
ELF	f741a000-f741f000	Deferred        libdl.so.2
ELF	f741f000-f75d2000	Deferred        libc.so.6
ELF	f75d3000-f75ee000	Deferred        libpthread.so.0
ELF	f7606000-f774a000	Dwarf           libwine.so.1
ELF	f774c000-f776e000	Deferred        ld-linux.so.2
ELF	f776e000-f776f000	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
	00000017    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001f    0
	0000001b    0
00000016 (D) C:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe
	00000033    0
	0000000d   -1
	00000047   -1
	00000045   -1
	00000046   -1
	0000002e    1
	0000002d    0
	00000026    0
	00000018    0 <==
00000023 explorer.exe
	00000030    0
System information:
    Wine build: wine-1.5.31
    Platform: i386
    Host system: Linux
    Host version: 3.8.0-23-generic
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Crash under Linux Wine when more than 1 tab

Post by Paul - PDF-XChange »

Hi ZeroPaper,

thanks for the post. We will definitely take a look at this. As you point out Linux/Wine isn't a high priority for us, especially at the moment where all efforts are on bringing the new Editor up to speed, however we`ll see if we can reproduce the issue here on a matching system. It may be a while I must warn you though.

Have you tried the PDF-XChange Editor? It will eventually replace the Viewer and if the issue is not present there then it may be a case of leaving the Viewer unfixed.

Can I get you to do that and let us know if tabs work in your Xubuntu? Get the Editor here https://www.pdf-xchange.com/product/downloads

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
ZeroPaper
User
Posts: 19
Joined: Fri Apr 25, 2008 10:37 pm

Re: Crash under Linux Wine when more than 1 tab

Post by ZeroPaper »

Paul - Tracker Supp wrote:Have you tried the PDF-XChange Editor? It will eventually replace the Viewer and if the issue is not present there then it may be a case of leaving the Viewer unfixed.

Can I get you to do that and let us know if tabs work in your Xubuntu? Get the Editor here https://www.pdf-xchange.com/product/downloads
Installed PDF-XChange Editor 3.0.302 32 bits. It doesn't even open. Error: Unable to load the PDFEditCore.x86.dll module. Please re-install the application.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Crash under Linux Wine when more than 1 tab

Post by Paul - PDF-XChange »

OK - I'm downloading xubuntu now. We'll set up a test environment and see what we can find out. Look back here mid next week and we should have something.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
ZeroPaper
User
Posts: 19
Joined: Fri Apr 25, 2008 10:37 pm

Re: Crash under Linux Wine when more than 1 tab

Post by ZeroPaper »

Hi,

Juat to make sure we use same version of wine. Can you please install it by:

Code: Select all

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
Instructions excerpted from http://www.winehq.org/download/ubuntu
Using the method "Alternative Command Line Instructions for Installing Wine" (listed at the bottom of the page)
With that you will have the 64 bits version of wine installed.

If you need to force wine into 32bits mode:

Code: Select all

# delete completely your current wine installation
rm -R ~/.wine
# re-configure wine in 32 bits
WINEARCH=win32 winecfg
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Crash under Linux Wine when more than 1 tab

Post by Paul - PDF-XChange »

Hi thanks for that ZeroPaper,

I had already installed the current stable wine through the GUI which according to winehq is 1.4.1. and I saw the same behaviour. I could open a second file in a second tab but as soon as I tried switching between tabs it crashed.

We will investigate this but as I mentioned earlier, there are a number of higher priorities on the table right now. We'll keep you posted here as to any updates.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com