I've encountered a couple of crashes, while using this wonderful software. Being a programmer myself, I've managed to fix them.
1) I had some crashes with triggers with empty actions.
Found in trogger.c
parse_commands(world, trigger->action, strlen(trigger->action));
trigger->action was NULL
Fixed that with if(trigger->action) checking
2) Long lines and triggers
While long lines are usually split very nicely, a trigger, that rewrites a string can create a buffer overflow issue and crash the programm.
I don't know how to fix it right, but buffer size >100000 fixed it for me
3) Ctrl+C crash
On Ubuntu 10.10 copying a text from the main windows crashed the programm.
in src/mainwindow.c in menu_copy_activate_cb
display = gtk_widget_get_display(GTK_WIDGET(widget));
"widget" is not a widget, but action. I think it's GTK issue
I added some additional checks, now it works
Log in to post a comment.