Comment 0 for bug 1964449

Revision history for this message
Mukesh Kumar (theserpent) wrote :

Hi Team,

While trying to explore features/bugs in recordmydesktop application, I have come across a situation where the Application is crashing and showing the message "Segmentation Fault". I tried to debug the issue, but for some reason couldn't figure it out. The crash is very simple to reproduce. Please find below all the information:

recordmydesktop version: recordMyDesktop v0.4.0
OS used: Kali linux 2020.3 Vbox

Steps to repro:

1. Start the recording using default command with default options "recordmyscreen"
2. Once, the recording is started and it shows "Capturing", press "CTRL+ C" twice pretty fast.
3. Once, the 2nd CTRL+C is pressed, it will show the error "Please wait...
Output file: out-16.ogv
[5%] ^CSegmentation fault
"
4. Also, there won't be any recording saved as well.

I have pasted the entire transaction below and attached a screenshot as well:

kali@kali:~$ recordmydesktop
Initial recording window is set to:
X:0 Y:0 Width:1920 Height:940
Adjusted recording window is set to:
X:0 Y:6 Width:1920 Height:928
Your window manager appears to be Xfwm4

Detected compositing window manager.
Reverting to full screen capture at every frame.
To disable this check run with --no-wm-check
(though that is not advised, since it will probably produce faulty results).

Initializing...
Buffer size adjusted to 4096 from 4096 frames.
Opened PCM device default
Recording on device default is set to:
1 channels at 22050Hz
Capturing!
^C
*********************************************

Cached 2 MB, from 122 MB that were received.
Average cache compression ratio: 97.8 %

*********************************************
Saved 18 frames in a total of 17 requests
Shutting down.....
STATE:ENCODING
Encoding started!
This may take several minutes.
Pressing Ctrl-C will cancel the procedure (resuming will not be possible, but
any portion of the video, which is already encoded won't be deleted).
Please wait...
Output file: out-16.ogv
[5%] ^CSegmentation fault