Gedit segfaults when using external tools

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
javra
Level 1
Level 1
Posts: 2
Joined: Fri Jan 27, 2017 1:57 pm

Gedit segfaults when using external tools

Post by javra » Mon Mar 25, 2019 2:41 pm

I'm using gedit with an external tool defined like this:

Code: Select all

#!/bin/sh
xelatex -interaction=batchmode --shell-escape main.tex
Every once in a while, gedit suddenly crashes with the following output:

Code: Select all

sys:1: Warning: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid().
Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument;
either behavior can break applications that use g_child_watch_add()/g_spawn_sync()
either directly or indirectly. Segmentation fault
Does anyone know what could be the cause of it? Is the "bug" on gedit's or on xelatex's side?

Post Reply

Return to “Software & Applications”