#996329 pal prints glib error message

Package:
pal
Source:
pal
Description:
command-line calendar program that can keep track of events
Submitter:
Don Scott
Date:
2024-01-29 15:51:02 UTC
Severity:
normal
#996329#5
Date:
2021-10-13 03:07:59 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


*** /home/don/bug_reports/pal_glib
Greetings:

When I run my pal console date calendar on Debian 11, the following
error gets printed to standard output. This happens when I scroll the
dates in the events section back up a bit with the up arrow key, after
scrolling down with the down arrow key.

(process:605945): GLib-CRITICAL **: 20:39:37.773: g_date_add_days:
assertion 'ndays <= G_MAXUINT32 - d->julian_days' failed

(Process 605945 corresponded to pal.)

Otherwise, the app works well, reading from multiple .pal files, and
allowing itself to be scrolled far into the future.

A very similar bug was reported in 2019 as 945111.

Yours,
Don Scott

***>>>

don@hal2:~$ pal --version
pal 0.4.3
Compiled with prefix: /usr


System:
  Host: hal2 Kernel: 5.10.0-8-amd64 x86_64 bits: 64 Console: tty 3
  Distro: Debian GNU/Linux 11 (bullseye)
Machine:
  Type: Desktop Mobo: Gigabyte model: EG31M-S2 v: x.x
  serial: <superuser required> BIOS: Award v: FA date: 07/25/2008
Memory:
  RAM: total: 1.93 GiB used: 548.9 MiB (27.8%)
  RAM Report:
  permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Single Core model: Intel Celeron 430 bits: 64 type: MCP
  L2 cache: 512 KiB
  Speed: 1200 MHz min/max: N/A Core speed (MHz): 1: 1200
Graphics:
  Device-1: Intel 82G33/G31 Express Integrated Graphics driver: i915
  v: kernel
  Display: server: X.org 1.20.11 driver: loaded: intel
  unloaded: fbdev,modesetting,vesa tty: 80x32
  Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio
  driver: snd_hda_intel
  Sound Server: ALSA v: k5.10.0-8-amd64
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 00:1f:d0:d0:0d:5d
Drives:
  Local Storage: total: 298.09 GiB used: 65.53 GiB (22.0%)
  ID-1: /dev/sda vendor: Western Digital model: WD3200BEVT-22ZCT0
  size: 298.09 GiB
Partition:
  ID-1: / size: 36.67 GiB used: 9.72 GiB (26.5%) fs: ext2 dev: /dev/sda6
Swap:
  ID-1: swap-1 type: partition size: 3.72 GiB used: 0 KiB (0.0%)
  dev: /dev/sda7
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 133 Uptime: 26m Init: systemd runlevel: 5 Shell: Bash
  inxi: 3.3.01

#996329#10
Date:
2024-01-29 15:41:05 UTC
From:
To:
Actually appears to be the same bug as reported earlier. I don't think
it's important, the duplicate should be closed.

Interactive mode obviously got never fully implemented to put it mildly,
and what's left is aging badly. Not too surprising considering the
application is 20 years old, the current version about 15 and the
package is unmaintained. If the curses interface wasn't entirely useless
by now, its usefulness could still be doubted. It should have been left
out from the package, that would've also removed the ncurses
dependencies, perhaps glib's too. Pal is still doing its trick as a
simple command line utility, or what it originally was likely intented
to be. But that would probably call for a maintainer. At least it should
be made clear that the .pal files are supposed to be maintained
manually, it's easy to crash the whole thing from the TUI, not much
harder to garble your event files.

Regards,
Oliver