WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Segmentation fault in Xdialog  (Read 158 times)

Offline karl52

  • Newbie
  • *
  • Posts: 5
Segmentation fault in Xdialog
« on: February 08, 2026, 05:37:08 PM »
I just installed Xdialog.tcz from the Apps menu, but it doesn't seem to work.
System: Core Plus 16.2
Extensions: the default preinstalled ones, dillo, Xdialog & dependencies

It also doesn't work when I run it with --help, it breaks while printing the output (see attachment)
« Last Edit: February 08, 2026, 05:38:58 PM by karl52 »
~karl52
also known as karl152 when karl52 was taken

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12561
Re: Segmentation fault in Xdialog
« Reply #1 on: February 08, 2026, 10:08:52 PM »
Hi karl52
Welcome to the forum.

I just tried Xdialog on TC16 x86 and x86_64 and it
worked correctly.

The error message suggests it can't find a font.

Does this command return a list of *.pcf.gz fonts:
Code: [Select]
ls -l /usr/lib/X11/fonts/misc/cl*
If it does, does this fix the problem:
Code: [Select]
xset fp rehash
Are all the dependencies installed and loaded?
If you run this:
Code: [Select]
tce-status -i | grep -E "gtk1|glib1|schum"
Are the following 3 items included in the result:
Code: [Select]
gtk1
glib1
schumacher-clean-fonts

Does this command list any missing dependencies:
Code: [Select]
ldd $(which Xdialog) | grep found
    [Edit]: Fixed typo. Changed usr/lib/X11/fonts/misc/cl* to /usr/lib/X11/fonts/misc/cl*.  Rich
« Last Edit: February 09, 2026, 09:37:36 PM by Rich »

Offline karl52

  • Newbie
  • *
  • Posts: 5
Re: Segmentation fault in Xdialog
« Reply #2 on: February 09, 2026, 10:58:25 AM »
Thanks for the reply.
I ran "Xdialog msgbox test 50 50" yesterday, I should have typed "Xdialog --msgbox test 50 50" instead, that works.
Only --help or a typo seems to trigger the issue (I verified that on both TinyCore x86 and x86_64). All mentioned dependencies are installed and the .pcf.gz fonts are there.
~karl52
also known as karl152 when karl52 was taken

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12561
Re: Segmentation fault in Xdialog
« Reply #3 on: February 09, 2026, 05:00:23 PM »
Hi karl52
I tried:
Code: [Select]
Xdialog msgbox test 50 50and:
Code: [Select]
Xdialog --help
Neither one produced a segfault.

Did you Install from an ISO?

If you did, run md5sum on your vmlinuz and core.gz boot files.
Compare the results to the values listed here:
http://tinycorelinux.net/16.x/x86/release/distribution_files/

Also, make sure your extensions are all up to date. Run:
Code: [Select]
update-everything

Offline karl52

  • Newbie
  • *
  • Posts: 5
Re: Segmentation fault in Xdialog
« Reply #4 on: February 09, 2026, 06:03:11 PM »
I did install TinyCore 16.2 x86 from an ISO, I only booted CorePure64 live.

x86:
md5sum /mnt/sda1/tce/boot/core.gz matches with http://tinycorelinux.net/16.x/x86/release/distribution_files/core.gz.md5.txt
md5sum /mnt/sda1/tce/boot/vmlinuz matches with http://tinycorelinux.net/16.x/x86/release/distribution_files/vmlinuz.md5.txt

x86_64:
md5sum /mnt/sr0/boot/vmlinuz64 matches with http://tinycorelinux.net/16.x/x86/release/distribution_files/vmlinuz64.md5.txt and http://tinycorelinux.net/16.x/x86_64/release/distribution_files/vmlinuz64.md5.txt
md5sum /mnt/sr0/boot/corepure64.gz matches with http://tinycorelinux.net/16.x/x86_64/release/distribution_files/corepure64.gz.md5.txt

All extensions are up to date.

ISOs I used:
Code: [Select]
http://tinycorelinux.net/16.x/x86/release/CorePlus-current.iso
http://tinycorelinux.net/16.x/x86_64/release/TinyCorePure64-16.2.iso
~karl52
also known as karl152 when karl52 was taken

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12561
Re: Segmentation fault in Xdialog
« Reply #5 on: February 09, 2026, 11:24:05 PM »
Hi karl52
I think I've isolated the what, but not the why.

I booted up a CD containing TinyCorePure64-16.2.iso.
I added the boot codes  base norestore  so it would not try to
access any  tce  directories or  mydata.tgz  files on my system.

I then used Apps to  Download + Load  Xdialog.tcz.

I was able to reproduce your segfault.

Since the error appears to be font related, I looked at the X11 font related
directories of the working systems and installed extensions to make the
failing system match. It did not solve the issue.

I then rebooted to start over. This time I exited to the system prompt and:
Code: [Select]
tce-load -wil Xorg-7.7 XdialogXdialog worked correctly.

I believe Xfbdev may be the issue. It's possible one of its options might
solve the issue. You can list them like this:
Code: [Select]
Xfbdev - help
These look like they might be useful:
Code: [Select]
-fc string             cursor font
-fn string             default font name
-fp string             default font path
Though I have no idea what to set them to.