Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Douglas R. Reno via blfs-dev


On 4/12/21 5:18 AM, Tim Tassonis via blfs-dev wrote:



On 4/12/21 11:53 AM, Tim Tassonis via blfs-dev wrote:



On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:

On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:

MESA-LOADER: failed to open bochs-drm:
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
such file or directory (search paths /opt/X11/lib/dri)
failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
with older glib (2.66.8) this is no problem.

A downgrade to glib 2.66.8 does actually fix the problem, so glib 
2.68.0
really seems to be the problem here. I will try to investigate 
further,
but for the moment, I would advise people to stay away from glib 
2.68.0,

at least on qemu vm's running X.


Just to be sure: the VM has been updated, but the host has not been 
touched (no

upgrade of glib2/qemu/whatever on host).



So, the problem really seems to be glib 2.68.0, and thankfully 2.68.1 
seems to have a fix for that:


https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2010

Overview of changes in GLib 2.68.1
==

* Fix a crash in `GKeyFile` when parsing a file which contains 
translations
   using a `GKeyFile` instance which has loaded another file 
previously (#2361)



So, I'm giving that a try in a minute.


Can confirm that glib 2.68.1 fixes the problem. Already updated the 
glib page.


Bye
Tim


Bumped the patch in git at eb174e76

- Doug

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Tim Tassonis via blfs-dev



On 4/12/21 11:53 AM, Tim Tassonis via blfs-dev wrote:



On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:

On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:

MESA-LOADER: failed to open bochs-drm:
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
such file or directory (search paths /opt/X11/lib/dri)
failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
with older glib (2.66.8) this is no problem.

A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0
really seems to be the problem here. I will try to investigate further,
but for the moment, I would advise people to stay away from glib 2.68.0,
at least on qemu vm's running X.


Just to be sure: the VM has been updated, but the host has not been 
touched (no

upgrade of glib2/qemu/whatever on host).



So, the problem really seems to be glib 2.68.0, and thankfully 2.68.1 
seems to have a fix for that:


https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2010

Overview of changes in GLib 2.68.1
==

* Fix a crash in `GKeyFile` when parsing a file which contains translations
   using a `GKeyFile` instance which has loaded another file previously 
(#2361)



So, I'm giving that a try in a minute.


Can confirm that glib 2.68.1 fixes the problem. Already updated the glib 
page.


Bye
Tim

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Xi Ruoyao via blfs-dev
On 2021-04-12 11:43 +0200, Tim Tassonis via blfs-dev wrote:
> 
> 
> On 4/12/21 11:35 AM, Tim Tassonis via blfs-dev wrote:
> > 
> > 
> > On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:
> > > On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:
> > > > Hi all
> > > > 
> > > > I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
> > > > lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:
> > > > 
> > > > MESA-LOADER: failed to open bochs-drm:
> > > > /opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
> > > > such file or directory (search paths /opt/X11/lib/dri)
> > > > failed to load driver: bochs-drm
> > > > 
> > > > 
> > > > The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
> > > > with older glib (2.66.8) this is no problem.
> > > > 
> > > > A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0
> > > > really seems to be the problem here. I will try to investigate further,
> > > > but for the moment, I would advise people to stay away from glib 2.68.0,
> > > > at least on qemu vm's running X.
> > > 
> > > Just to be sure: the VM has been updated, but the host has not been 
> > > touched (no
> > > upgrade of glib2/qemu/whatever on host).
> > 
> > 
> > Correct. I now read a bit about that bochs thingy, it seems to get 
> > triggered by
> > 
> > qemu -vga std
> > 
> > 
> > I now switched to
> > 
> > qemu -vga virtio
> > 
> > which makes the message disappear. However, lxdm still fails to start. 
> > dmesg now shows:
> > 
> > 
> > [    9.140449] lxdm-greeter-gt[2868]: segfault at 0 ip 7f0b73b4c73d 
> > sp 7ffefc16b600 error 4 in libglib-2.0.so.0.6800.0[7f0b73b21000+87000]
> > [    9.140460] Code: 49 8a 02 00 49 89 c6 48 85 c0 0f 84 0e 03 00 00 f6 
> > 43 2c 02 75 48 8b 53 30 48 8b 43 38 85 d2 75 09 48 85 c0 0f 84 e4 03 00 
> > 00 <48> 8b 38 48 85 ff 0f 84 f9 02 00 00 bd 08 00 00 00 eb 15 48 8b 43
> > 
> > 
> > So, there seems to be an incompatibility with glib 2.68.0 and lxdm. I 
> > try to re-build lxdm with glib 2.68.0 and see if that fixes the problem. 
> > If not, I have to revert back to 2.66.8 again.
> 
> 
> 
> I re-built lxdm with glib 2.68.0, it didn't help, so the problem clearly 
> lies with lxdm/latest glib, tne bochs thing probably just was a warning 
> and not the cause of the error. I assume therefore, it is not related to 
> qemu at all, but only to lxdm. I try to find out something on lxdm 
> forums or whatever, maybe there's a patch.

Maybe there is a bug in glib-2.68.0.  Try 2.68.1?
-- 
Xi Ruoyao 
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Tim Tassonis via blfs-dev



On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:

On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:

MESA-LOADER: failed to open bochs-drm:
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
such file or directory (search paths /opt/X11/lib/dri)
failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
with older glib (2.66.8) this is no problem.

A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0
really seems to be the problem here. I will try to investigate further,
but for the moment, I would advise people to stay away from glib 2.68.0,
at least on qemu vm's running X.


Just to be sure: the VM has been updated, but the host has not been touched (no
upgrade of glib2/qemu/whatever on host).



So, the problem really seems to be glib 2.68.0, and thankfully 2.68.1 
seems to have a fix for that:


https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2010

Overview of changes in GLib 2.68.1
==

* Fix a crash in `GKeyFile` when parsing a file which contains translations
  using a `GKeyFile` instance which has loaded another file previously 
(#2361)



So, I'm giving that a try in a minute.



Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Tim Tassonis via blfs-dev



On 4/12/21 11:35 AM, Tim Tassonis via blfs-dev wrote:



On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:

On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:

MESA-LOADER: failed to open bochs-drm:
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
such file or directory (search paths /opt/X11/lib/dri)
failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
with older glib (2.66.8) this is no problem.

A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0
really seems to be the problem here. I will try to investigate further,
but for the moment, I would advise people to stay away from glib 2.68.0,
at least on qemu vm's running X.


Just to be sure: the VM has been updated, but the host has not been 
touched (no

upgrade of glib2/qemu/whatever on host).



Correct. I now read a bit about that bochs thingy, it seems to get 
triggered by


qemu -vga std


I now switched to

qemu -vga virtio

which makes the message disappear. However, lxdm still fails to start. 
dmesg now shows:



[    9.140449] lxdm-greeter-gt[2868]: segfault at 0 ip 7f0b73b4c73d 
sp 7ffefc16b600 error 4 in libglib-2.0.so.0.6800.0[7f0b73b21000+87000]
[    9.140460] Code: 49 8a 02 00 49 89 c6 48 85 c0 0f 84 0e 03 00 00 f6 
43 2c 02 75 48 8b 53 30 48 8b 43 38 85 d2 75 09 48 85 c0 0f 84 e4 03 00 
00 <48> 8b 38 48 85 ff 0f 84 f9 02 00 00 bd 08 00 00 00 eb 15 48 8b 43



So, there seems to be an incompatibility with glib 2.68.0 and lxdm. I 
try to re-build lxdm with glib 2.68.0 and see if that fixes the problem. 
If not, I have to revert back to 2.66.8 again.




I re-built lxdm with glib 2.68.0, it didn't help, so the problem clearly 
lies with lxdm/latest glib, tne bochs thing probably just was a warning 
and not the cause of the error. I assume therefore, it is not related to 
qemu at all, but only to lxdm. I try to find out something on lxdm 
forums or whatever, maybe there's a patch.



Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Tim Tassonis via blfs-dev



On 4/12/21 11:16 AM, Pierre Labastie via blfs-dev wrote:

On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:

MESA-LOADER: failed to open bochs-drm:
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No
such file or directory (search paths /opt/X11/lib/dri)
failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but
with older glib (2.66.8) this is no problem.

A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0
really seems to be the problem here. I will try to investigate further,
but for the moment, I would advise people to stay away from glib 2.68.0,
at least on qemu vm's running X.


Just to be sure: the VM has been updated, but the host has not been touched (no
upgrade of glib2/qemu/whatever on host).



Correct. I now read a bit about that bochs thingy, it seems to get 
triggered by


qemu -vga std


I now switched to

qemu -vga virtio

which makes the message disappear. However, lxdm still fails to start. 
dmesg now shows:



[9.140449] lxdm-greeter-gt[2868]: segfault at 0 ip 7f0b73b4c73d 
sp 7ffefc16b600 error 4 in libglib-2.0.so.0.6800.0[7f0b73b21000+87000]
[9.140460] Code: 49 8a 02 00 49 89 c6 48 85 c0 0f 84 0e 03 00 00 f6 
43 2c 02 75 48 8b 53 30 48 8b 43 38 85 d2 75 09 48 85 c0 0f 84 e4 03 00 
00 <48> 8b 38 48 85 ff 0f 84 f9 02 00 00 bd 08 00 00 00 eb 15 48 8b 43



So, there seems to be an incompatibility with glib 2.68.0 and lxdm. I 
try to re-build lxdm with glib 2.68.0 and see if that fixes the problem. 
If not, I have to revert back to 2.66.8 again.




Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Pierre Labastie via blfs-dev
On Mon, 2021-04-12 at 09:46 +0200, Tim Tassonis via blfs-dev wrote:
> Hi all
> 
> I just tried to upgrade my qemu virtual machine to glib 2.68.0, which 
> lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:
> 
> MESA-LOADER: failed to open bochs-drm: 
> /opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No 
> such file or directory (search paths /opt/X11/lib/dri)
> failed to load driver: bochs-drm
> 
> 
> The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but 
> with older glib (2.66.8) this is no problem.
> 
> A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0 
> really seems to be the problem here. I will try to investigate further, 
> but for the moment, I would advise people to stay away from glib 2.68.0, 
> at least on qemu vm's running X.

Just to be sure: the VM has been updated, but the host has not been touched (no
upgrade of glib2/qemu/whatever on host).

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-dev] Failure starting X/lxdm with glib 2.68.0

2021-04-12 Thread Tim Tassonis via blfs-dev

Hi all

I just tried to upgrade my qemu virtual machine to glib 2.68.0, which 
lead to lxdm/X not starting anymore. /var/log/lxdm.log reports:


MESA-LOADER: failed to open bochs-drm: 
/opt/X11/lib/dri/bochs-drm_dri.so: cannot open shared object file: No 
such file or directory (search paths /opt/X11/lib/dri)

failed to load driver: bochs-drm


The file /opt/X11/lib/dri/bochs-drm_dri.so really does not exist, but 
with older glib (2.66.8) this is no problem.


A downgrade to glib 2.66.8 does actually fix the problem, so glib 2.68.0 
really seems to be the problem here. I will try to investigate further, 
but for the moment, I would advise people to stay away from glib 2.68.0, 
at least on qemu vm's running X.




Bye
Tim

--
decentral.ch - IT Stuff
Tim Tassonis
Hohlstrasse 400
c/o Baubüro Insitu
8048 Zürich

st...@decentral.ch
+41 79 229 36 17
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page