linuxmint / linuxmint/cinnamon-session

ICE connection problems

Open
#73 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
31
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Currently I am trying to figure out why my application crashes when the machine is rebooted from terminal (actually it just does exit(1) somewhere without cleanup). The latter will make systemd send SIGTERM to all processes. I am currently debugging my system by manually killing cinnamon-session and trying to figure out what exactly happens. By stracing my application I found out that the app writes

read(7, "", 8)                          = 0
write(2, "ICE default IO error handler doi"..., 68) = 68

and the does exit(1). I have no clue what csm is doing but somehow if I logout by button everything is fine. Is this an issue with the session manager?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the difference between terminal reboot or manually killing cinnamon-session and logging out through the button, then trace the ICE default IO error handler and the exit(1) path. The issue is resolved when the cause of the unclean exit is identified and the shutdown behavior is verified against both scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.