Jump to content


Photo

Linux support

linux

  • Please log in to reply
35 replies to this topic

#21 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 26 December 2014 - 02:55 PM

That's what I meant.

Ok, was kinda unsure for a sec.



#22 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 26 December 2014 - 04:11 PM

 

I'm not certain any Bible software company is large enough to port to Linux. Bible software is already a niche market, and Bible software on Linux is a very tiny niche of the niche. It would just about have to be a community endeavor.

 

Personally, I'd like to see it done by the users. I've wanted for a while to get an inexpensive laptop to use as a Linux machine. If we ever got a setup that was fairly stable, I imagine we could link to it, but without giving it official support. 

Speaking of letting the community supporting it linux/wine side, what was changed between 10.4.2 and 10.4.3 that could break it? and will there be a 11 demo in the future, would help with getting it running under wine.

 

EDIT** by what is changed I mean the dependencies. not anything code wise.


Edited by salamanderrake, 26 December 2014 - 04:11 PM.


#23 R. Mansfield

R. Mansfield

    Platinum

  • Accordance
  • 1,254 posts
  • Gender:Male
  • Location:Kentucky
  • Accordance Version:11.x

Posted 26 December 2014 - 04:37 PM

Speaking of letting the community supporting it linux/wine side, what was changed between 10.4.2 and 10.4.3 that could break it? and will there be a 11 demo in the future, would help with getting it running under wine.

 

EDIT** by what is changed I mean the dependencies. not anything code wise.

 

 

I'm not certain what would break it, but a feature list between 10.4.2 and 10.4.3 can be viewed here:

http://www.accordanc...m/New-Since-10/

 

There will be a v. 11 demo made available soon.


Rick Mansfield

Technology Evangelist

Accordance Bible Software

 

 

Gear for running Accordance:

OS X

2012 15" MacBook Pro (retina) - 2.7 Ghz Core i7, 16 GB RAM, 750 GB SSD, Yosemite

Windows

2014 15.6" Acer R7-572 - 1.6 Ghz Core i5, 8 GB RAM, 256 GB mSATA, 1 TB HDD, Windows 8.1

2015 8" Toshiba Encore 2 Write - 1.33 Ghz Atom Z3735F, 2 GB RAM, 64 GB eMMC, Windows 8.1

iOS

2014 iPhone 6 Plus, 128 GB, Verizon

2013 iPad Air, 128 GB, Verizon

 


#24 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 26 December 2014 - 05:20 PM

 

 

I'm not certain what would break it, but a feature list between 10.4.2 and 10.4.3 can be viewed here:

http://www.accordanc...m/New-Since-10/

 

There will be a v. 11 demo made available soon.

I was looking more for what Accordence linked to when built, or its list of deps, like which version of Dot Net and/or which version of vcrun I would need to install.

 

EDIT** Aka what it needs installed inorder to run on a windows system.


Edited by salamanderrake, 26 December 2014 - 05:21 PM.


#25 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 26 December 2014 - 06:14 PM

I don't know who to send this to, but this seems like the error, which is app related. 

 

0009:Call advapi32.RegCreateKeyExW(80000001,00a145b0 L"Software\\Classes\\accord\\shell",00000000,00000000,00000000,000f003f,00000000,01affc90,00000000) ret=0043ce5d
0009:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=0043ce5d
0009:Call advapi32.RegSetValueExW(000000a8,00000000,00000000,00000001,00000000,00000004) ret=0043ce81
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7eb34776 ip=7eb34776 tid=0009
0009:trace:seh:raise_exception  info[0]=00000000
0009:trace:seh:raise_exception  info[1]=00000002
0009:trace:seh:raise_exception  eax=80000001 ebx=7eb6f000 ecx=00000004 edx=00000018 esi=00000000 edi=000000a8
0009:trace:seh:raise_exception  ebp=01affc18 esp=01affba0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210a92
0009:trace:seh:call_stack_handlers calling handler at 0x7bc98420 code=c0000005 flags=0
0009:Call KERNEL32.UnhandledExceptionFilter(01aff6f8) ret=7bc98465
0009:Call KERNEL32.ReadProcessMemory(ffffffff,7eb34776,01aff600,00000010,00000000) ret=00413181
0009:Ret  KERNEL32.ReadProcessMemory() retval=00000001 ret=00413181
0009:Ret  KERNEL32.UnhandledExceptionFilter() retval=ffffffff ret=7bc98465
0009:trace:seh:call_stack_handlers handler at 0x7bc98420 returned 0

In refrence

http://msdn.microsof...3(v=vs.85).aspx

 

I found out all this thanks to focht in #winehq on irc.freenode.net 

 

<focht> well it seems the app is bugged ... calls RegSetValueEx with NULL lpData but non-zero cbData

 

EDIT** This is with Accordance 11 from the download page. Accordance11.0.3.exe

EDIT** This is also with wine 1.7.33


Edited by salamanderrake, 30 December 2014 - 11:35 AM.


#26 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 30 December 2014 - 07:22 PM

I bought The starter kit and mounce study bundle and I can only download the mounce study bundle because the other one needs Accordance 11, is there any way to seperate the Accordance 11 only modules from the others so I can download them in parts?



#27 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,840 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 30 December 2014 - 10:36 PM

Interesting crash trace. Looks like the size parameter cbData is taken as indicating that there is data. It is in fairness documented as such, but the 11.0.3 code works on Windows. I checked and I have the key that I see in the create, HKEY_CURRENT_USER\Software\Classes\accord\shell and it's value is empty. So I wonder if the Windows implementation actually doesn't quite follow its own documentation if indeed this is the fault. Wine (1.7.33 code) does not appear to check the pointer and relies on the cbData value. I haven't found exactly where it blows up but it forms up a server request on the basis of the cbData value, so that sounds like a core dump coming as the lpData value is not checked in code I looked at. Of course one might be able to workaround the issue by patching Wine to violate the MS defined API contract in this case. Bit of a nasty thing to do and I wouldn't recommend it generally, but it might provide a hack w/a, though I don't know what the side-affects might be.

 

In any case, a quick check of the Accordance code manipulating this key would determine whether they have a fault. Of course Wine isn't Windows and the issue could easily be different/more complicated than this.

 

Regarding the immediate issue of the download I'm not exactly sure. I'm assuming you are talking about the 10.4 Easy Install. In that case I think options for selecting what to install were more limited but hopefully someone else can state it more definitively one way or the other.

 

Thx

D


Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#28 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 31 December 2014 - 01:02 AM

<slackner> salamanderrake: the correct solution is to write a wine test, to figure out if windows crashes in such a situation - if it doesn't, then wine can add such a pointer check into the crashing function
<slackner> salamanderrake: wine doesn't want to achieve compatibility with the MSDN description, but with the Windows implementation itself - so its perfectly fine if there are differences (as long as they are confirmed by tests)

So they will take a look at it and if the tests they make works out then the 'fix' can be added to wine. Also I filed a bug report with winehq, https://bugs.winehq....ug.cgi?id=37810



#29 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,840 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 31 December 2014 - 02:02 AM

Ok so if that is their approach then the hack above should be possible and it's of advantage to running Accordance on Wine. The testcase should be very simple.

 

Thx

D


Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#30 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 10 January 2015 - 06:07 PM

Ok so if that is their approach then the hack above should be possible and it's of advantage to running Accordance on Wine. The testcase should be very simple.

 

Thx

D

 

With the latest wine 1.7.34 it now starts Accordance 11 and you can sign in and download the modules(Thanks to the wine devs) , and if your like me and bought Accordance 11 you can install and download the modules for 11 then dowgrade to 10.4.5(yes 10.4.5 now runs and installs, but none of the 11.* features) and you can use your modules for 11. The main problem is they can only go as far as the 'needing an accordance program subscription( for lack of a better word )' so they don't see the crash I do(or some sort of focus/graphics fail). Is there an eta on the Accordance11 demo or some sort of dummy account to give a way to run the app (I know, dumb question but can't think of anything else). Right now I am just glad to be able to use all the modules from the Accordance 11 starter kit, I just don't like the hacky way to use it.

 

Comments from the wine dev regarding the initial crash.

Hello folks,

installs fine and shows some 'Setup Assistant' dialog which expects some login data.
I made some account with fake data and indeed it validates the credentials over SSL (giving wrong credentials results in error).
In the end it refuses to go further, stating "Accordance 11 not found in your account" so it's not reproducible.

--- quote ---
I had to install wininet and secru32 via winetricks to get it past a certain part,
--- quote ---

Don't do that. It makes the bug report potentially invalid since no one knows what "certain stage" means without detailed technical explanation or some other Wine bug reference (which would probably be a dupe anyway).

The crash from the provided log:

--- snip ---
...
0009:Call advapi32.RegCreateKeyExW(80000001,00a145b0 L"Software\\Classes\\accord\\shell",00000000,00000000,00000000,000f003f,00000000,01affc90,00000000) ret=0043ce5d
0009:Ret  advapi32.RegCreateKeyExW() retval=00000000 ret=0043ce5d
0009:Call advapi32.RegSetValueExW(000000a8,00000000,00000000,00000001,00000000,00000004) ret=0043ce81
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7eb34776 ip=7eb34776 tid=0009
0009:trace:seh:raise_exception  info[0]=00000000
0009:trace:seh:raise_exception  info[1]=00000002
0009:trace:seh:raise_exception  eax=80000001 ebx=7eb6f000 ecx=00000004 edx=00000018 esi=00000000 edi=000000a8
0009:trace:seh:raise_exception  ebp=01affc18 esp=01affba0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210a92
0009:trace:seh:call_stack_handlers calling handler at 0x7bc98420 code=c0000005 flags=0 
...
--- snip ---

The app calls 'RegSetValueEx' with NULL 'lpData' but non-zero 'cbData'

MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724923%28v=vs.85%29.aspx

--- quote ---
lpData [in]

    The data to be stored.

    For string-based types, such as REG_SZ, the string must be null-terminated. With the REG_MULTI_SZ data type, the string must be terminated with two null characters. String-literal values must be formatted using a backslash preceded by another backslash as an escape character. For example, specify "C:\\mydir\\myfile" to store the string "C:\mydir\myfile".

    Note  lpData indicating a null value is valid, however, if this is the case, cbData must be set to '0'.
...
--- quote ---

The bug was fixed here: http://source.winehq.org/git/wine.git/commit/ff0ee8f8a8faf35d148f00e4de2671feee051be (included in Wine 1.7.34).

Now you are continuing with something completely different (whatever it means, the info in the comment is not useful).

Don't do that. ONE problem per bug.

$ sha1sum Accordance11.0.3.exe 
3543428d45ae9258b14501cbfcbd83f4944896a6  Accordance11.0.3.exe

$ du -sh Accordance11.0.3.exe 
59M	Accordance11.0.3.exe

$ wine --version
wine-1.7.34

Regards



#31 Daniel Semler

Daniel Semler

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,840 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 10 January 2015 - 06:13 PM

Nice one. What OS and version are you using ? I think you had mentioned openSuse in the past.

 

Thx

D


Accordance Configurations :
 
Mac : 2009 27" iMac                 Windows : HP 4540s laptop
      Intel Core Duo                          Intel i5 Ivy Bridge
      12GB RAM                                8GB RAM
      Accordance 11.0.1                       Accordance 11.0.1
      OSX 10.9 (Mavericks)                    Win 7 Professional x64 SP1


#32 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 10 January 2015 - 06:51 PM

OpenSUSE 13.2 with wine 1.7.34



#33 Fabian

Fabian

    Gold

  • Active Members
  • PipPipPipPip
  • 329 posts
  • Gender:Male
  • Interests:www.internetkirche.com
    www.iglesia-del-internet.com
  • Accordance Version:11.x

Posted 11 January 2015 - 08:15 AM

Posted 09 January 2015 - 02:33 PM

I found the problem on XP.  You are right.  Acc 11 just quits after initial startup of the main app. This problem  is different than the Linux problem which I found as well.

 

Both are going to be fixed in the next build.  Thank you for reporting.

 

From the Topic http://www.accordanc...-install-in-xp/

 

Greetings

 

Fabian


  • Dan Francis likes this

Mac Air (13-inch, Mid 2013)

1,3 GHz Intel Core i5

4GB Ram

Next time: I'll buy only one with Retina, and hopefully without a glossy screen. A faster CPU and more RAM.

 

Yosemite 10.10.1

Accordance 11.0.4 and waiting on 11.1

 

iPhone 4S

iOS 8.1.2

iAccord 1.7.9 and waiting on 2.0


#34 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 11 January 2015 - 06:15 PM

Here is the wine bug report relating to the second issues, the invisible window. https://bugs.winehq....ug.cgi?id=37876its not necessarily an issue on your end it may be wine handling it wrong, but here is the info anyway.



#35 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 15 January 2015 - 02:13 AM

Here is the wine bug report relating to the second issues, the invisible window. https://bugs.winehq....ug.cgi?id=37876its not necessarily an issue on your end it may be wine handling it wrong, but here is the info anyway.

 

The Wine developers (namely Dmitry Timoshkov have a patch that seems to work, the window (accordance main app window) starts up visible and not invisible anymore. I don't know if the patch is in its final form and waiting for insertion into the next release of wine or if there may be some regression they need to work out with first. If your are apt at building wine, not for the light of heart, you can apply the patch to wine and compile it your self. If you have any issues with the patch please post them on the bug report page(the wine side of issues are what I mean) and feel free just to pop over there and thank them for their work while your at it. I would paste the patch here but there may be updates to it or a new patch so its better to get it from the bug report page.


  • Dan Francis likes this

#36 salamanderrake

salamanderrake

    Member

  • Active Members
  • Pip
  • 18 posts
  • Accordance Version:Non-user

Posted 23 January 2015 - 03:26 PM

New wine version 1.7.35 has fixes for Accordance 11 startup,  37810 Accordance 11 crashes on startup., but dose not have the invisible window fix in it yet.


Edited by salamanderrake, 23 January 2015 - 03:28 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users