I found a couple of temporary solutions:
1. rmmod pcspkr
2. Another one is without having to remove pcspkr module: In console I can do : setterm -blength 0. There is some other command for xterms. Anyways, that doesn't solve it for GUI applications that may send beeps I think. Anyways, what I meant is, even if I keep pcspkr, but set the terminal not to beep, then when an application run in the terminal send a '\a' it won't cause a crash. I tested that by writing a program that beeps in a continuous loop. The program is attached with this comment.
Hello,
I found a couple of temporary solutions:
1. rmmod pcspkr
2. Another one is without having to remove pcspkr module: In console I can do : setterm -blength 0. There is some other command for xterms. Anyways, that doesn't solve it for GUI applications that may send beeps I think. Anyways, what I meant is, even if I keep pcspkr, but set the terminal not to beep, then when an application run in the terminal send a '\a' it won't cause a crash. I tested that by writing a program that beeps in a continuous loop. The program is attached with this comment.