id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 8640,Locking problems in remotefile.cpp,chr,cpinkham,"Hi! Running mythtv0.23-fixes on a ppc-osx box I got this random crash: {{{ Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 [Switching to process 16413 thread 0xd0e3] 0x0054b93c in RemoteFile::Read (this=0x8ee8700, data=0x15f19001, size=32768) at remotefile.cpp:528 528 if (sock->bytesAvailable() > 0) (gdb) p sock $1 = (class MythSocket *) 0x0 DOH! }}} The locking is broken in the whole Class. I commented out *getSocket(void) because you are playing with fire and that function isn't used. While lurking through the code, I found another possible bug in Ringbuffer.cpp, see patch Also looks like that actual trunk needs these patches, too. ",defect,closed,minor,0.24,MythTV - General,Master Head,medium,fixed,,,0