Project

General

Profile

Actions

Bug #2113

closed

segfault crash on pause

Added by vdruser almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
02/22/2015
Due date:
% Done:

0%

Estimated time:

Description

Pausing playback when playing media causes a segfault after some seconds. The WAF is suffering badly from this bug! :) The following patch (from Louis) stops the crashing but isn't a permanent solution:

diff -pruN skindesigner-0.2.2-git.f3ad2763-orig/displayreplay.c skindesigner-0.2.2-git.f3ad2763/displayreplay.c
--- skindesigner-0.2.2-git.f3ad2763-orig/displayreplay.c        2015-02-22 08:12:31.885520004 -0800
+++ skindesigner-0.2.2-git.f3ad2763/displayreplay.c     2015-02-22 08:13:22.443775888 -0800
@@ -40,11 +40,13 @@ void cSDDisplayReplay::SetTitle(const ch
 void cSDDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
     if (!doOutput)
         return;
+/*
     if (!Play && Speed < 0) {
         replayView->DrawOnPause(modeOnly);
     } else {
         replayView->ClearOnPause();
     }
+*/
     replayView->DrawControlIcons(Play, Forward, Speed, modeOnly);
 }


Files

skincrash1.txt (15.2 KB) skincrash1.txt vdruser, 02/22/2015 05:15 PM
Actions

Also available in: Atom PDF