You are not logged in.

#1 2018-06-06 15:58:52

xdegaye
Member
Registered: 2013-12-05
Posts: 15

icewm crashes upon startup after update

After the following recent updates:

    xorg-server-1.20.0-5-x86_64.pkg.tar.xz
    xorg-server-common-1.20.0-5-x86_64.pkg.tar.xz
    icewm-1.3.8-5-x86_64.pkg.tar.xz

icewm fails to start and the icewm process repeatedly segfaults with a core dump (possibly using all disk space when core dumps are enabled) until the X server is shutdown.

Here is the backtrace:

Core was generated by `icewm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055e3d8d2926e in YPixmap::replicate(bool, bool) ()
(gdb) bt
#0  0x000055e3d8d2926e in YPixmap::replicate(bool, bool) ()
#1  0x000055e3d8cd1e02 in _ZL11initPixmapsv ()
#2  0x000055e3d8cd675e in YWMApp::YWMApp(int*, char***, char const*) ()
#3  0x000055e3d8caf044 in main ()

Offline

#2 2018-06-06 17:41:04

loqs
Member
Registered: 2014-03-06
Posts: 17,324

Re: icewm crashes upon startup after update

What package versions did you update from that were working?

Offline

#3 2018-06-06 18:27:22

xdegaye
Member
Registered: 2013-12-05
Posts: 15

Re: icewm crashes upon startup after update

> What package versions did you update from that were working?

xorg-server-1.20.0-2
xorg-server-common-1.20.0-2
icewm-1.3.8-4

Offline

#4 2018-06-06 18:29:00

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

I experienced the same thing in version 1.3.8-5, on 32-bit though.

Last edited by andreas_baumann (2018-06-06 18:31:22)

Offline

#5 2018-06-06 18:39:50

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

20      void YPixmap::replicate(bool horiz, bool copyMask) {
(gdb) bt
#0  0x004c11a2 in YPixmap::replicate(bool, bool) (this=0x0, horiz=true, copyMask=true) at ypixmap.cc:20

this=0x0 doesn't sound good somehow..

Offline

#6 2018-06-06 18:45:40

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

Sounds like pixmaps are not found (or a X resource path not set)..

Offline

#7 2018-06-06 19:16:10

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

So, from debugging I can tell, icewm loads the pixmaps:

Breakpoint 1, YResourcePaths::loadPixmap (this=0x52dc70, base=..., name=...) at ypaths.cc:125
125     ref<YPixmap> YResourcePaths::loadPixmap(upath base, upath name) const {
1: name.fPath.fStr[0] = {fRefCount = 1, fStr = 0x524be4 "titleAB.xpm"}

and crashes afterswards.

Offline

#8 2018-06-06 19:29:25

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

Ah, patching null ref's in wmapp.cc helps. At least I get a working wm again.
I'll provide a patch upstream..

Offline

#9 2018-06-06 19:47:23

andreas_baumann
Member
Registered: 2011-05-04
Posts: 25

Re: icewm crashes upon startup after update

Offline

#10 2018-06-06 21:49:29

loqs
Member
Registered: 2014-03-06
Posts: 17,324

Re: icewm crashes upon startup after update

Perhaps consider switching to the fork https://github.com/bbidulock/icewm.
@andreas_baumann if yours is the last post in a thread please edit that post instead of creating a new one or in this case five posts.

Offline

Board footer

Powered by FluxBB