Login Page - Create Account

Support Board


Date/Time: Sun, 09 Aug 2020 04:51:37 +0000



SC version 2022 and later crash under wine64 on OSX, while SC version 2021 runs fine

[2019-12-29 02:03:10]
user01283102 - Posts: 142 | Ending Date: 2021-02-24
Something must have changed to make SierraChart start not working under wine64.

OSX 10.13.6
Wine64 version wine-4.5 staging

1. running SC version 2007 starts without crashing:

~/.wine/drive_c/SierraChart2007 $ wine64 ./SierraChart_64.exe
Wine cannot find the ncurses library (libncurses.5.4.dylib).
0058:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f9e4, 0x22fa00 0x22f9e0
0058:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f9e4 0x22fa00 0x22f9e0) returning a dummy value (current locale)
005e:fixme:ver:GetCurrentPackageId (0x50fdf0 0x0): stub
005f:fixme:ver:GetCurrentPackageId (0x61fdf0 0x0): stub
005e:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
005e:fixme:winsock:WS_setsockopt SO_SNDBUF ignoring request to disable send buffering
~/.wine/drive_c/SierraChart2007 $ wine64 --version # shutdown after clicking close; was fine.
wine64 --version
wine-4.5 (Staging)
~/.wine/drive_c/SierraChart2007 $

2. Running the latest SierraChart, version 2028 installs okay but when run, crashes before getting to the login screen.


$ wine64 ./SierraChart_64.exe
wine64 ./SierraChart_64.exe
Wine cannot find the ncurses library (libncurses.5.4.dylib).
0070:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f9f4, 0x22fa10 0x22f9f0
0070:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f9f4 0x22fa10 0x22f9f0) returning a dummy value (current locale)
wine: Unhandled page fault on read access to 0x00000020 at address 0x140d2de42 (thread 0076), starting debugger...


with the following debugger backtrace generated:


Unhandled exception: page fault on read access to 0x00000020 in 64-bit code (0x0000000140d2de42).
Register dump:
rip:0000000140d2de42 rsp:000000000061fdc0 rbp:000000000061ffd0 eflags:00010246 ( R- -- I Z- -P- )
rax:0000000000000000 rbx:0000000000000001 rcx:0000000000000000 rdx:000000014130e448
rsi:0000000000000000 rdi:000000000061fe68 r8:0000000141331130 r9:000000000061fd80 r10:0000585ce918b7b4
r11:0000000000000000 r12:0000000000000000 r13:0000000000000000 r14:000000000037b140 r15:0000000000000000
Stack dump:
0x000000000061fdc0: 0000000000000000 0000000000000000
0x000000000061fdd0: 0000000000000005 0000000000000005
0x000000000061fde0: 000000000037b140 0000000140d15326
0x000000000061fdf0: 0000000000000000 0000000000000000
0x000000000061fe00: 0000000000000000 0000000000000000
0x000000000061fe10: 0000000140d152f8 000000007bc96642
0x000000000061fe20: 0000000000000000 0000000000000000
0x000000000061fe30: 0000000000000000 0000000000000000
0x000000000061fe40: 0000000000000000 ffffffffffffffff
0x000000000061fe50: 000000007bcbc450 000000007bc4aec0
0x000000000061fe60: 0000000000000000 0000000140d152f8
0x000000000061fe70: 000000000061ffd0 000000000061fe20
Backtrace:
=>0 0x0000000140d2de42 EntryPoint+0x10004435a() in sierrachart_64 (0x000000000061ffd0)
1 0x0000000140d15326 EntryPoint+0x10002b83d() in sierrachart_64 (0x000000000061ffd0)
0x0000000140d2de42 EntryPoint+0x10004435a in sierrachart_64: movq  0x0000000000000020(%rax),%rcx
Modules:
Module  Address          Debug info  Name (40 modules)
PE   681d0000- 681d3000  Deferred wow64cpu
PE   681f0000- 681f4000  Deferred msimg32
PE   6a180000- 6a18c000  Deferred gdi32
PE   6a320000- 6a32b000  Deferred advapi32
PE   6a3b0000- 6a404000  Deferred comctl32
PE   6a530000- 6a621000  Deferred user32
PE   6a790000- 6a795000  Deferred version
PE   6a7b0000- 6a7b4000  Deferred usp10
PE   6d190000- 6d196000  Deferred imm32
PE   6d1c0000- 6d1c6000  Deferred ws2_32
PE   6d200000- 6d27b000  Deferred winmm
PE   6d2d0000- 6d379000  Deferred comdlg32
PE   6d3f0000- 6dce8000  Deferred shell32
PE   6de50000- 6de5f000  Deferred shlwapi
PE   6def0000- 6def5000  Deferred shcore
PE   6df20000- 6df4c000  Deferred ole32
PE   6e0d0000- 6e0db000  Deferred rpcrt4
PE   6e180000- 6e18a000  Deferred aclui
PE   6e1a0000- 6e1ad000  Deferred winspool
PE   6e1f0000- 6e1f5000  Deferred uxtheme
PE   6e230000- 6e23d000  Deferred oleaut32
PE   6e3c0000- 6e3c7000  Deferred wsock32
PE   6e3e0000- 6e3e6000  Deferred iphlpapi
PE   6e410000- 6e41c000  Deferred gdiplus
PE   6e4d0000- 6e4d5000  Deferred bcrypt
PE   6e4f0000- 6e507000  Deferred oleacc
PE   6e560000- 6e5a6000  Deferred crypt32
PE   6e660000- 6e667000  Deferred winemac
PE   6ebe0000- 6ebe4000  Deferred api-ms-win-core-synch-l1-2-0
PE   6ebf0000- 6ebf4000  Deferred api-ms-win-core-fibers-l1-1-1
PE   6ec10000- 6ec14000  Deferred api-ms-win-core-localization-l1-2-1
PE   6ed60000- 6ed64000  Deferred api-ms-win-core-string-l1-1-0
PE   6ed70000- 6ed74000  Deferred api-ms-win-core-datetime-l1-1-1
PE   6ed80000- 6ed84000  Deferred api-ms-win-core-localization-obsolete-l1-2-0
PE   6eda0000- 6eda4000  Deferred api-ms-win-core-sysinfo-l1-2-1
PE   7a810000- 7a818000  Deferred opengl32
PE   7b410000- 7b5d0000  Deferred kernel32
PE   7bc10000- 7bc23000  Deferred ntdll
ELF   7c400000- 7c405000  Deferred <wine-loader>
PE   140000000- 141465000  Export sierrachart_64
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
  [C:\windows\system32\services.exe]
  00000022 0
  0000001d 0
  00000015 0
  00000010 0
  0000000f 0
00000011 winedevice.exe
  [C:\windows\system32\winedevice.exe]
  0000001a 0
  00000019 0
  00000018 0
  00000012 0
0000001b plugplay.exe
  [C:\windows\system32\plugplay.exe]
  0000001f 0
  0000001e 0
  0000001c 0
00000020 winedevice.exe
  [C:\windows\system32\winedevice.exe]
  00000025 0
  00000024 0
  00000023 0
  00000021 0
00000041 explorer.exe
  [C:\windows\system32\explorer.exe /desktop]
  00000045 0
  00000044 0
  00000043 0
  00000042 0
0000006f (D) C:\SierraChart2028\SierraChart_64.exe
  [C:\SierraChart2028\SierraChart_64.exe]
  0000007a 0
  00000079 0
  00000078 0
  00000077 0 <==
  00000076 0
  00000070 0
00000071 explorer.exe
  [C:\windows\system32\explorer.exe /desktop]
  00000075 0
  00000074 0
  00000073 0
  00000072 0
System information:
Wine build: wine-4.5 (Staging)
Platform: x86_64
Version: Windows 7
Host system: Darwin
Host version: 17.7.0


[2019-12-29 02:19:45]
user01283102 - Posts: 142 | Ending Date: 2021-02-24
bisecting...

SierraChart_64.exe version 2017 starts fine. Gets to login page.

version 2030 pre-release crashes before login. (same segfault on reading 0x20 as above)

version 2023 crashes before login.

version 2020 starts fine and gets to login.

version 2021 starts fine and gets to login.

version 2022 crashes before login. (same Unhandled exception: page fault on read access to 0x00000020 in 64-bit code (0x0000000140d41e42).

So something between SC version 2021 and SC version 2022 changed to introduce a segfault under wine64/OSX.
Date Time Of Last Edit: 2019-12-29 02:20:40
[2019-12-29 03:57:47]
Sierra Chart Engineering - Posts: 88452 | Ending Date: 2021-04-05
We cannot help with this. There is nothing wrong in the Sierra Chart side.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2020-05-23 04:23:29]
Tony - Posts: 49 | Ending Date: 2020-10-18
I have the same issue with both Wine and Crossover, I vaguely remember there was an announcement says that 32-bit would not be supported started early 2020, but I just noticed that Version 2109 (May 21, 2020) still has "SierraChart.exe", I thought I try it, and it works fine. I just had to re-compile custom studies. I think Linux+Wine is the best option for Mac users.
[2020-05-31 16:55:45]
UnixManiac - Posts: 10 | Ending Date: 2020-09-25
Same here. I tried most of the obvious stuff, compiling 64 bit only wine etc. nothing worked. As I am using CrossOver, I sent a support request to CodeWeavers, they replied

"...we can hopefully have a fix included in the next CrossOver update..."

Date Time Of Last Edit: 2020-05-31 16:58:03
[2020-07-02 21:28:15]
ertrader - Posts: 304 | Ending Date: 2020-09-21
This is still happening on my system. I have filed a bug report with WineHQ Bug 49485 and included logs.

SierraChart Version 2128 64 bit and has been continuing to happen on at least the last 5 SC releases
wine 5.0 (Ubuntu 5.0.3ubuntul) Installed from software manager
Mint Linux 20
Kernel 5.4.0-40 generic
OpenGL (happens with or without using OpenGL)
AMD Ryzen 7 3800X
AMD video card (Radeon HD 7730/8730) Same video card
Dual Monitors
Date Time Of Last Edit: 2020-07-02 21:30:58
[2020-07-03 17:11:16]
ertrader - Posts: 304 | Ending Date: 2020-09-21
Please check out the end of the Linux thread. Let me know if this solves your problem.

https://www.sierrachart.com/SupportBoard.php?ThreadID=29998

To post a message in this thread, you need to login with your Sierra Chart account:

Login

Login Page - Create Account