pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48405: audio/pulseaudio - padsp dumps core on NetBSD 6.1.1



>Number:         48405
>Category:       pkg
>Synopsis:       audio/pulseaudio - padsp dumps core on NetBSD 6.1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 09:50:00 +0000 2013
>Originator:     Nat Sloss
>Release:        pkgsrc-2013Q2
>Organization:
>Environment:
NetBSD beast 6.1.1_PATCH NetBSD 6.1.1_PATCH (PCIPAE) #22: Thu Nov 21 23:13:25 
EST 2013  build@microrusty:/usr/src/sys/arch/i386/compile/obj/PCIPAE i386
>Description:
padsp does not work it dumps the core of the binary called with it.

The problem is that there are recursive calls to stat arising out of the use of 
__stat30.  Under NetBSD 6.1.1 using __stat50 seems to solve the issue.
>How-To-Repeat:
Type in the following:
padsp less

You will find that this produces a core dump, it will do so for any program not 
just audio ones.
>Fix:
Apply this patch:

Index: pkgsrc/audio/pulseaudio/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/audio/pulseaudio/patches/patch-aa,v
retrieving revision 1.13
diff -u -r1.13 patch-aa
--- pkgsrc/audio/pulseaudio/patches/patch-aa    3 Nov 2012 01:54:55 -0000       
1.13
+++ pkgsrc/audio/pulseaudio/patches/patch-aa    24 Nov 2013 12:15:25 -0000
@@ -59,7 +59,7 @@
  } while(0)
  
 +#ifdef __NetBSD__
-+#define STAT_FUNC "__stat30"
++#define STAT_FUNC "__stat50"
 +#else
 +#define STAT_FUNC "stat"
 +#endif

Regards,

Nat.



Home | Main Index | Thread Index | Old Index