robhagemans / pcbasic

PC-BASIC - A free, cross-platform emulator for the GW-BASIC family of interpreters
http://www.pc-basic.org
Other
393 stars 48 forks source link

Bug in PCBASIC 2.0.7 for Linux won't open due by DBUS error #228

Closed cesarmarcanove closed 11 months ago

cesarmarcanove commented 11 months ago

Bug encountered in PCBASIC v2.0.7 for Linux

PC BASIC doesn't open the app and appears says:

dbus[4005]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362. This is normally a bug in some application using the D-Bus library.

D-Bus not built with -rdynamic so unable to print a backtrace Abortado (`core' generado)

See image the bug bug-pcbasic207

Notes

PC-BASIC version: 2.0.7 Operating system version: Ubuntu / Debian 9+

robhagemans commented 11 months ago

How did you install pc-basic/which package did you use?

Not sure what days is or how it is being used. It may be related to the SDL interface. Is it possible to start in text mode? E.g. through pcbasic -b or pcbasic -n

Which distribution and version do you use? I.e. is it Debian or Ubuntu, as you mention both, and I don't recognise the version number 9+

On Sun, 3 Sep 2023, 02:12 cesar marcano, @.***> wrote:

Bug encountered in PCBASIC v2.0.7

PC BASIC doesn't open the app and appears says:

dbus[4005]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362. This is normally a bug in some application using the D-Bus library.

D-Bus not built with -rdynamic so unable to print a backtrace Abortado (`core' generado)

See image the bug [image: bug-pcbasic207] https://user-images.githubusercontent.com/279859/265237036-c25ea320-9e25-4d34-ae47-213c18914239.png

Notes

PC-BASIC version: 2.0.7 Operating system version: Ubuntu / Debian 9+

— Reply to this email directly, view it on GitHub https://github.com/robhagemans/pcbasic/issues/228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB25REQKN5XESGHI2QIXUSDXYPKQXANCNFSM6AAAAAA4I6J2WY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cesarmarcanove commented 11 months ago

Ubuntu 18.04 32 bits (also too newer Ubuntu inluded).

robhagemans commented 11 months ago

And how did you install? Could be through pip, through apt/Ubuntu software centre or through the .deb published on the pc basic web site.

Also please let me know if text mode works

On Sun, 3 Sep 2023, 23:01 cesar marcano, @.***> wrote:

Ubuntu 18.04 32 bits

— Reply to this email directly, view it on GitHub https://github.com/robhagemans/pcbasic/issues/228#issuecomment-1704416599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB25REUW4XHFNW7XNT54HHTXYT443ANCNFSM6AAAAAA4I6J2WY . You are receiving this because you commented.Message ID: @.***>

cesarmarcanove commented 11 months ago

I retried the reinstallation with the DEB and the app doesn't come out, and it quits silently due to the same error as in the command terminal (CLI).

The app doesn't respond, and maybe the app does respond using with the argument "-b" with version warning and "-n" without version warning.

robhagemans commented 11 months ago

Apologies but I am still very unclear as to what you're doing. What is "the DEB"? What is "a newer Ubuntu"? What do you mean "maybe the app does respond using with the argument "-b" with version warning and "-n" without version warning." Did you try runing this, and what happens?

Please be explicit and clear in the information you provide. I can only try to help you if I can reproduce your problem, and so far I can't. I am doing this in my spare time and can't be spending my limited time guessing for information that you have at hand. Thanks.

Marrin commented 11 months ago

@cesarmarcanove Does it work if you set the IBUS_ADDRESS environment variable to some bogus value before starting pcbasic? Like:

IBUS_ADDRESS=abcdef pcbasic
robhagemans commented 11 months ago

This seems to be an issue with SDL2 on 32-bit Ubuntu, see e.g. here. https://stackoverflow.com/questions/52702683/sdl-initsdl-init-video-generating-excpetion-dbus3856-about-dbus-library

This is not something I can resolve or work around in PC-BASIC, your best bet will be to file a bug report with Ubuntu on their SDL2 package.