Subject: mencoder on OS X
To: None <tech-pkg@netbsd.org>
From: David Hopper <dhop@nwlink.com>
List: tech-pkg
Date: 10/24/2005 19:43:23
Hi all,

When trying to compile mencoder on the latest pkgsrc on OS X Tiger, I  
get a crash on mplayer-conf-17328-6260.o during the configure stage  
(it hangs at "Checking for pthread ...").  It has corrupted my  
pkgsrc .dmg drive to the point where I had to start from scratch;  
kill the .dmg, reformat, repopulate pkgsrc, &c.  This happened some  
time ago with sources from a month back or so, and most recently on a  
brand-new pkgsrc tonight.

Here's the crash report:

Date/Time:      2005-10-24 19:23:21.359 -0700
OS Version:     10.4.2 (Build 8C46)
Report Version: 3

Command: mplayer-conf-17328-6260.o
Path:    /Volumes/NetBSD/pkgsrc/multimedia/mencoder/work/mplayer- 
conf-17328-6260.o
Parent:  sh [6260]

Version: ??? (???)

PID:    7023
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib             0x900037a8 malloc + 1020
1   libSystem.B.dylib             0x90110d08 localeconv_l + 104
2   libSystem.B.dylib             0x9000fbf0 __vfprintf + 64
3   libSystem.B.dylib             0x900fa088 vfprintf_l + 124
4   libSystem.B.dylib             0x900222f8 printf + 120
5   mplayer-conf-17328-6260.o     0x000023e8 main + 44

Thread 0 crashed with PPC Thread State 64:
   srr0: 0x00000000900037a8 srr1:  
0x000000000200f030                        vrsave: 0x0000000000000000
     cr: 0x42000022          xer: 0x0000000000000000   lr:  
0x00000000900033e4  ctr: 0x0000000090001700
     r0: 0x0000000000000002   r1: 0x00000000bfffdde8   r2:  
0x00000000a00133b4   r3: 0x0000000000003008
     r4: 0x0000000000004858   r5: 0x0000000000004858   r6:  
0x0000000000000000   r7: 0x0000000000000000
     r8: 0x00000000901909e3   r9: 0x0000000000000000  r10:  
0x0000000090001430  r11: 0x00000000a0006428
    r12: 0x0000000090001700  r13: 0x0000000000000000  r14:  
0x0000000000000000  r15: 0x0000000000000000
    r16: 0x00000000a0001c20  r17: 0x0000000000000000  r18:  
0x0000000000000000  r19: 0x0000000000000000
    r20: 0x0000000000000000  r21: 0x0000000000000000  r22:  
0x0000000000000000  r23: 0x0000000000000000
    r24: 0x0000000000000040  r25: 0x0000000000000000  r26:  
0x00000000bfffe624  r27: 0x0000000000002ec0
    r28: 0x00000000a0001fdc  r29: 0x00000000a0002408  r30:  
0x0000000000000000  r31: 0x00000000900033b4

Binary Images Description:
     0x1000 -     0x2fff mplayer-conf-17328-6260.o     /Volumes/ 
NetBSD/pkgsrc/multimedia/mencoder/work/mplayer-conf-17328-6260.o
0x8fe00000 - 0x8fe51fff dyld 43.1    /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib     /usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib     /usr/lib/system/ 
libmathCommon.A.dylib

Model: PowerBook5,2, BootROM 4.7.1f1, 1 processors, PowerPC G4   
(1.1), 1.25 GHz, 2 GB
Graphics: ATI Mobility Radeon 9600, ATY,RV350M10, AGP, 64 MB
Memory Module: SODIMM0/J25LOWER, 1 GB, DDR SDRAM, PC2700U-30330
Memory Module: SODIMM1/J25UPPER, 1 GB, DDR SDRAM, PC2700U-30330
AirPort: AirPort Extreme, 400.17 (3.90.34.0.p11)
Modem: LastDash, UCJ, V.92, 4.0, APPLE VERSION 2.6.6
Bluetooth: Version 1.6.0f2, 2 service, 1 devices, 0 incoming serial  
ports
Network Service: AirPort, AirPort, en1
Network Service: Built-in Ethernet, Ethernet, en0
PCI Card: TXN,PCIXXXX-00, cardbus, PC Card
Parallel ATA Device: MATSHITADVD-R   UJ-816,
Parallel ATA Device: FUJITSU MHT2080AT, 74.53 GB
USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA
FireWire Device: DLX-188 IDE Device 1, ADS  Technologies Inc., Up to  
400 Mb/sec

Thanks,
David