Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 15:25:21 +0800 (CST)
From:      clkao@CirX.ORG
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6434: mediatool in x11/kdelibs cause kwmsound core dumps
Message-ID:  <199804280725.PAA22123@host.cer.ntnu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         6434
>Category:       ports
>Synopsis:       mediatool in x11/kdelibs cause kwmsound core dumps
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 28 00:40:01 PDT 1998
>Last-Modified:
>Originator:     Chia-liang Kao
>Organization:
CirX, Inc.
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:
FreeBSD host.cer.ntnu.edu.tw 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Thu Nov 27 22:51:23 CST 1997     clive@host.cer.ntnu.edu.tw:/usr/src/sys/compile/HOST  i386
>Description:

	kwmsound cause SIGSEGV in class KAudio, method sync.

>How-To-Repeat:
	startkde, it would call kwmsound and just core dump.

>Fix:

	someone might want to put this simple patch in x11/kdelibs/patches.

--- mediatool/kaudio.cpp.orig	Tue Apr 28 14:43:32 1998
+++ mediatool/kaudio.cpp	Tue Apr 28 14:35:36 1998
@@ -187,7 +187,7 @@
 
 void KAudio::sync()
 {
-  while ( StatChunk->sync_id != KeysChunk->sync_id )
+  while ( StatChunk && StatChunk->sync_id != KeysChunk->sync_id )
     usleep(10*1000);
 }

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804280725.PAA22123>