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

FvwmButtons fails silently; Fvwm3 #60

Closed
ghost opened this issue May 3, 2020 · 7 comments
Closed

FvwmButtons fails silently; Fvwm3 #60

ghost opened this issue May 3, 2020 · 7 comments
Assignees
Labels
type:bug Something's broken!
Milestone

Comments

@ghost
Copy link

ghost commented May 3, 2020

On both Void and ArchLabs, kernel 5.6.x, FvwmButtons does not start.

With the default RightPanel configuration, there is a quick flash (FvwmPager, I think) and then just the wallpaper visible. Sometimes, FvwmIconMan or stalonetray will remain, but not both.

Fvwm3 is functional afterwards, I can start both FvwmPager and FvwmIconMan from FvwmConsole. If I try to start FvwmButtons from FvwmConsole (either the RightPanel or a simple test panel with just FvwmIconMan) no FvwmModule starts, and there is no message in FvwmConsole.

@ThomasAdam
Copy link
Member

Hi @PackRat-SC2018,

Thanks for the report. Do you have a core file left behind from FvwmButtons?

@ThomasAdam ThomasAdam self-assigned this May 3, 2020
@ThomasAdam ThomasAdam added the type:bug Something's broken! label May 3, 2020
@ThomasAdam ThomasAdam added this to the 1.0 milestone May 3, 2020
@ghost
Copy link
Author

ghost commented May 3, 2020

I don't think so. Where would it get dumped?

I started Fvwm again with "fvwm3 -D" - that the correct way to generate the file you need?

@ThomasAdam
Copy link
Member

Hi,

I don't think so. Where would it get dumped?

I started Fvwm again with "fvwm3 -D" - that the correct way to generate the file you need?

Ah, alas -D isn't going to help here.

First we need to compile FVWM3 so that we can get debug output from it, so something like:

make clean ; make CFLAGS="-O0 -ggdb" -j4 && sudo make install

As for corefiles, you should check that corefiles can be created:

ulimit

If that returns unlimited, we're all set. if not, you should add this to your shell profile:

ulimit -c unlimited

and restart X11.

Corefiles will usually be in the CWD for the program you're using, so check $HOME for that.

Then it's just a case of installing gdb and using it like so:

gdb /path/to/fvwm3 ./corefile
(gdb) bt full

If you're using systemd-coredump, you can use coredumpctl, which will plonk you inside gdb, where the command above (bt full) will work once more.

Then attach the output here.

@ghost
Copy link
Author

ghost commented May 3, 2020

Recompiled Fvwm3

ulimit returned unlimited. Not sure the gdb command worked as intended. Here is the terminal output:

`[doug@WILLOW-01 .fvwm]$ ls /usr/local/bin
dwm fvwm-bug fvwm-menu-desktop fvwm-perllib startdwm
fvwm FvwmCommand fvwm-menu-directory fvwm-root startyaxwm
fvwm2 fvwm-config fvwm-menu-headlines slstatus xpmroot
fvwm3 fvwm-convert-2.6 fvwm-menu-xlock st
[doug@WILLOW-01 .fvwm]$ gdb /usr/local/bin/fvwm3 ./corefile
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/fvwm3...
/home/doug/.fvwm/./corefile: No such file or directory.
(gdb) bt full
No stack.
(gdb)
`

@ThomasAdam
Copy link
Member

Hi @PackRat-SC2018,

That's because corefile doesn't exist. It's usually called core.

Kindly,
Thomas

@ghost
Copy link
Author

ghost commented May 8, 2020

Recompiled Fwm3 on a clean ArchLabs install, and on Void. Used the make command you provided above.

FvwmButtons working as expected on both systems.

@ThomasAdam
Copy link
Member

Thanks, @PackRat-SC2018! I'll close this for now then, but if you find anything else, feel free to file another issue, please.

@ThomasAdam ThomasAdam moved this to Done in FVWM3 Sep 18, 2022
@ThomasAdam ThomasAdam added this to FVWM3 Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something's broken!
Projects
Status: Done
Development

No branches or pull requests

1 participant