Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed at ../../../swlibs/newpci/pcilib/fxpci.c line 506: 0 #14

Closed
BenCollver opened this issue Oct 5, 2020 · 8 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@BenCollver
Copy link

When running exampl1.js using DOjS 1.2.0 on DOSBox 0.74-3, it crashes with the following backtrace:

Assertion failed at ../../../swlibs/newpci/pcilib/fxpci.c line 506: 0
Shutting down Allegro
Exiting due to signal SIGABRT
Raised at eip=0017c90c
eax=002d4964 ebx=00000120 ecx=00000017 edx=00000000 esi=000001ff edi=002d4b1c
ebp=002d4bd8 esp=002d4950 program=C:\BEN\DOJS\DOJS.EXE
cs: sel=00a7  base=00400000  limit=ffffffff
ds: sel=00af  base=00400000  limit=ffffffff
es: sel=00af  base=00400000  limit=ffffffff
fs: sel=00bf  base=00000000  limit=0010ffff
gs: sel=00bf  base=00000000  limit=0010ffff
ss: sel=00af  base=00400000  limit=ffffffff
App stack: [002d4c48..00254c48]  Exceptn stack: [00254684..00252744]

Call frame traceback EIPs:
  0x00185185
@SuperIlu
Copy link
Owner

SuperIlu commented Oct 7, 2020

Hi Ben,
I'll try to reproduce that on my side.
Can you give me the exact command line (there is no exampl1.js in examples, just exampl.js)?
Have you tried running other examples? Does the same happen there?
Thanks Ilu

@BenCollver
Copy link
Author

Hi Superllu,

Thanks for the quick response. The exact command line was:
C:\BEN\DOJS> dojs -r examples\exampl.js

That "exampl1.js" was a typo on my end.

I have tried running other examples. The same error happens there.

Below is more information about my host system:

[ben@samtosha ~]$ cat /etc/fedora-release 
Fedora release 32 (Thirty Two)

[ben@samtosha ~]$ uname -a
Linux samtosha 5.8.11-200.fc32.x86_64 #1 SMP Wed Sep 23 13:51:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[ben@samtosha ~]$ rpm -q dosbox
dosbox-0.74.3-5.fc32.x86_64

@SuperIlu
Copy link
Owner

SuperIlu commented Oct 7, 2020

Thanks, I'll try to get the DOSBox version you mentioned and check what happens on my system.
I usually use real hardware and/or DOSBox-X on a Windows 10 host.

@SuperIlu SuperIlu self-assigned this Oct 7, 2020
@SuperIlu SuperIlu added the bug Something isn't working label Oct 7, 2020
@SuperIlu
Copy link
Owner

SuperIlu commented Oct 7, 2020

Hi Ben,

I was able to reproduce the problem with DOSBox in Windows.

It seems the 3dfx PCI detection does not work as expected on DOSBox and an assertion $someone put there for that case exits the program.
I'll try to fix that in the upcoming V1.3.0, sadly I can give you no specific date for that as there are still some unfinished features....

If you want you can try using https://dosbox-x.com/ instead of DOSBox.
I'm currently using V0.82.24 of DOSBox-X because more recent releases were not working reliably for me.

Cheers Ilu

Update: DOSBox-X 0.83.6 works fine for me if I use the default config from the distribution. Seems like my old config file is not compatible with the new version...

@SuperIlu
Copy link
Owner

SuperIlu commented Oct 7, 2020

recompiling GLIDE with SuperIlu/glide@f50ae7f fixes this for me on DOSBox...

@SuperIlu
Copy link
Owner

SuperIlu commented Oct 7, 2020

Ben, you can try to replace GLIDE3X.DXE with the version I attached. That might work as a hotfix or crash as well :)

GLIDE3X.zip

@BenCollver
Copy link
Author

Hi Superllu, i confirmed that your attached GLIDE3X.DXE resolves the crash for me. That was quick. Thank you!

SuperIlu added a commit that referenced this issue Oct 8, 2020
@SuperIlu
Copy link
Owner

SuperIlu commented Oct 8, 2020

@SuperIlu SuperIlu closed this as completed Oct 8, 2020
SuperIlu added a commit that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants