lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.26k stars 162 forks source link

Segmentation fault (core dumped) error when launching tilda #461

Closed vedaaaaaaant closed 3 years ago

vedaaaaaaant commented 3 years ago

Hi guys, Tilda isn't working for me anymore. I get the following error whenever I try to launch it from the terminal. I'm using Ubuntu 20.04.2 LTS x86_64

Problem parsing custom command: Text was empty (or contained only whitespace)
Launching default shell instead
zsh: segmentation fault (core dumped)  tilda
lanoxx commented 3 years ago

This occurs in https://github.com/lanoxx/tilda/blob/master/src/tilda_terminal.c#L491 when there is a problem in argv parsing returned by g_shell_parse_argv. If it worked before I am not sure if the behavior of that function recently changed. Do you have anything special in your custom command that could be causing this?

lanoxx commented 3 years ago

I wonder why tilda is crashing for you afterwards. Do you have a chance to compile the latest version of tilda and try with a debugger?

If you could capture a stacktrace that shows where tilda is crashing then we can likely fix this.

vedaaaaaaant commented 3 years ago

My apologies for the rather delayed response. I switched from ubuntu to arch during the last month. Tilda is working perfectly on archlinux. Thank you so much for creating and maintaining Tilda. Cheers!

elig0n commented 1 year ago

I have the same problem when command="" and run_command=true with tilda 1.5.4 on Manjaro Linux.

Problem parsing custom command: Text was empty (or contained only whitespace)
Launching default shell instead

(tilda:822217): VTE-CRITICAL **: 16:03:19.525: void vte_pty_spawn_with_fds_async(VtePty*, const char*, const char* const*, const char* const*, const int*, int, const int*, int, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, int, GCancellable*, GAsyncReadyCallback, gpointer): assertion 'envv == nullptr || _vte_pty_check_envv(envv)' failed
[1]    822217 segmentation fault (core dumped)  tilda