[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gambas 3.20.0 on debian i386 problem





gbWilly

Gambas3 for Debian/Ubuntu

Sent with Proton Mail secure email.

On Sunday, January 12th, 2025 at 17:01, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 12/01/2025 à 16:53, gbWilly a écrit :
> 
> > Hello all,
> > 
> > Yesterday (or actually last night) I packaged gambas 3.20.0 for debian
> > and ubuntu. Tested all installs on the ubuntu's (only amd64 builds) and
> > on debian amd64. All installed just fine and run smoothly.
> > 
> > Today I tested the i386 builds for Debian 11 and 12. They are build with
> > same recipe as their amd64 counterpart and on a clean cloned vm. The
> > installation started on debian 11 and went just fine, but when staring
> > gambas it gave an error. So I started again, but this time from terminal
> > to get some more info.
> > 
> > This is what I got returned on debian 11 - i386:
> > ----
> > $ gambas3
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.408:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.408:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.414:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.418:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.418:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.6254:6254): GLib-GIO-CRITICAL **: 16:14:07.418:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > [gb.gui.base].Splitter.DoLayout.239: #26: Division by zero
> > [gb.gui.base].Splitter.DoLayout.239
> > [gb.gui.base].Splitter.Layout_Write.338
> > [gb.gui.base].Splitter.MinSize_Write.525 FDebugInfo._new.57
> > FSearch._new.44 FMain._new.65 Project.Main.484 ?
> > ----
> > 
> > I was kind of surprised as all run so smoothly on debian 11 amd64, so I
> > used meld to compare the build logs. There where no notable differences
> > other that architecture mentions.
> > 
> > I decided to try debian 12 - i386. The install went smooth but when
> > starting, same error:
> > ----
> > $gambas3
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.142:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.143:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.148:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.153:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.153:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > 
> > (org.gambas.20797:20797): GLib-GIO-CRITICAL **: 16:25:34.154:
> > g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION
> > (connection)' failed
> > [gb.gui.base].Splitter.DoLayout.239: #26: Division by zero
> > [gb.gui.base].Splitter.DoLayout.239
> > [gb.gui.base].Splitter.Layout_Write.338
> > [gb.gui.base].Splitter.MinSize_Write.525 FDebugInfo._new.57
> > FSearch._new.44 FMain._new.65 Project.Main.484 ?
> > ----
> > 
> > So, gambas 3.20.0 somehow causes 'division by zero trouble' on i386 that
> > does NOT happen on amd64. Maybe above makes sense to Benoit, what might
> > be the cause.
> > 
> > To be clear this is in my own i386 builds, so NOT in what is on OSB. On
> > OSB only amd64 and arm64 are build for debian, so no i386 available there.
> > amd64 builds here run fine, I tested both my own and OSB version. I have
> > no idea how the OSB arm64 builds behave and if they have the same
> > problem as on i386.
> > 
> > Note that the problem was NOT in 3.19.6. For the debian12 i386 test I
> > upgraded a 3.19.6 installed version that run just fine to 3.20.0. On
> > debian11 I did a fresh install (no upgrade) of gambas 3.20.0.
> > Both systems debian 11 and 12 are running a standard installed Mate
> > desktop. I also added gambas3 to panel so I could test starting with
> > gtk3, qt5 to see if it made a difference, but nope.
> > 
> > gbWilly
> > 
> > Gambas3 for Debian/Ubuntu <https://gitlab.com/gbWilly/gambas3-debian-
> > repository>
> > 
> > Sent with Proton Mail https://proton.me/mail/home secure email.
> 
> 
> The problem can be anywhere, for sure some bug in the interpreter. I
> didn't run a 32 bits system for years now.
> 
> Can you try to run the tests in the 'gambas3-selftest' project on your
> i386 system and see if every test pass?


I'm willing to try if I know how to exactly initiate a selftest. Never been there before.
Is the idea to make an executable from selftest and then on i386 run it from terminal to get some output?

gbWilly


Follow-Ups:
Re: gambas 3.20.0 on debian i386 problemBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
gambas 3.20.0 on debian i386 problemgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gambas 3.20.0 on debian i386 problemBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>