[mythtv-users] mythfrontend on mac segfault

brad dreisbach bradd at ameri.ca
Tue Feb 5 16:02:42 UTC 2013


On Sun, Jan 13, 2013 at 09:01:54AM -0500, brad dreisbach wrote:
> 
> On Jan 13, 2013, at 8:00 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> 
> > On 5 January 2013 03:55, brad dreisbach <bradd at ameri.ca> wrote:
> >> I am a bit behind reading mythtv-dev, are there any known issues related to running a master fronted on mac(wasn't
> >> able to turn up anything searching trac)?
> >> 
> >> I seems to dump a core when started up with upnp enabled on the frontend.  when i start it using --noupnp
> >> it will "work" to a certain extent, but segfaults exiting watching a recording.  i am compiling using osx-packager-qtsdk.pl.
> >> 
> >> figured id ask if this is a known issue before digging deeper…
> >> 
> > 
> > add --loglevel debug
> > 
> > to see what's going on...
> 
> the ipv4 thing may be a red herring after all.  tcpdump shows that the FE is communicating with the BE
> over the public ipv4 address, so I'm not quite sure what is going on.  
> 

Is anyone sucessfully running a 0.27/master frontend on mac os x? 
I am still having issues with it crashing everytime its started with UPnP.

> 
> 2013-01-13 08:48:54.779717 I  Starting mythlogserver
> 2013-01-13 08:48:54.850590 I  Added logging to mythlogserver at TCP:35327
> 2013-01-13 08:48:54.907174 I  UDPListener: Enabling
> 2013-01-13 08:48:54.938654 D  Adding link-local 'FE80::1%lo0' to address list.
> 2013-01-13 08:48:54.938763 D  Adding IPv4 loopback to address list.
> 2013-01-13 08:48:54.938772 D  Adding IPv6 loopback to address list.
> 2013-01-13 08:48:54.938818 D  Adding link-local 'FE80::9227:E4FF:FEE9:6647%en1' to address list.
> 2013-01-13 08:48:54.938838 D  Adding '[2001:XXX:YYYY::ZZZ]' to address list.
> 2013-01-13 08:48:54.938870 D  Skipping non-private address during IPv4 autoselection: AAA.BBB.CCC.DDD
> 2013-01-13 08:48:54.938880 D  Adding '192.168.1.168' to address list.
> 2013-01-13 08:48:54.945100 I  Binding to UDP 127.0.0.1:6948
> 2013-01-13 08:48:54.945315 I  Binding to UDP 192.168.1.168:6948
> 2013-01-13 08:48:54.945531 I  Binding to UDP [fe80::1%lo0]:6948
> 2013-01-13 08:48:54.945711 I  Binding to UDP [::1]:6948
> 2013-01-13 08:48:54.945841 I  Binding to UDP [fe80::9227:e4ff:fee9:6647%en1]:6948
> 2013-01-13 08:48:54.945985 I  Binding to UDP [2001:XXX:YYYY::ZZZ]:6948
> 2013-01-13 08:48:54.946113 I  Binding to UDP 192.168.1.255:6948
> 2013-01-13 08:48:55.342069 N  Desktop video mode: 1680x1050 60.000 Hz
> 2013-01-13 08:48:55.477137 I  Listening on TCP 127.0.0.1:6547
> 2013-01-13 08:48:55.477332 I  Listening on TCP 192.168.1.168:6547
> 2013-01-13 08:48:55.477505 I  Listening on TCP [fe80::1%lo0]:6547
> 2013-01-13 08:48:55.477661 I  Listening on TCP [::1]:6547
> 2013-01-13 08:48:55.477823 I  Listening on TCP [fe80::9227:e4ff:fee9:6647%en1]:6547
> 2013-01-13 08:48:55.477991 I  Listening on TCP [2001:XXX:YYYY::ZZZ]:6547
> 2013-01-13 08:48:57.277261 D  MMulticastSocketDevice(239.255.255.250:68): setsockopt - IP_DROP_MEMBERSHIP 
> 			eno: Invalid argument (22)
> 2013-01-13 08:48:57.281863 E  Socket readBlock error 0
> 2013-01-13 08:48:57.292118 E  Socket readBlock error 1
> 2013-01-13 08:48:57.292142 E  Socket readBlock error 0
> 2013-01-13 08:48:57.296590 E  Socket readBlock error 1
> 2013-01-13 08:48:57.305803 E  Socket readBlock error 1
> 2013-01-13 08:48:57.307794 E  Socket readBlock error 1
> 2013-01-13 08:48:57.310666 E  Socket readBlock error 1
> 2013-01-13 08:48:57.382901 E  Socket readBlock error 1
> 2013-01-13 08:48:57.383043 E  Socket readBlock error 1
> 2013-01-13 08:48:57.383279 E  Socket readBlock error 1
> 2013-01-13 08:48:57.470169 E  Socket readBlock error 1
> MythFrontend(1707,0x110c81000) malloc: *** error for object 0x108622f88: incorrect checksum for freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug
> 2013-01-13 08:48:57.496059 E  Socket readBlock error 1
> 2013-01-13 08:48:57.502469 E  Socket readBlock error 0
> 2013-01-13 08:48:57.502762 E  Socket readBlock error 1
> 2013-01-13 08:48:57.504627 E  Socket readBlock error 1
> Handling Abort trap: 6
> Abort (core dumped)
> 
> and from the crash report:
> 
> Process:         MythFrontend [1796]
> Path:            /Applications/MythFrontend-old.app/Contents/MacOS/MythFrontend
> Identifier:      org.osx-bundler.MythFrontend
> Version:         v0.27-pre2-437-gf685449 (1.0)
> Code Type:       X86-64 (Native)
> Parent Process:  tcsh [1783]
> User ID:         501
> 
> Date/Time:       2013-01-13 09:00:45.859 -0500
> OS Version:      Mac OS X 10.8.2 (12C60)
> Report Version:  10
> 
> Interval Since Last Report:          1618500 sec
> Crashes Since Last Report:           117
> Per-App Interval Since Last Report:  461 sec
> Per-App Crashes Since Last Report:   18
> Anonymous UUID:                      1973E95B-E7B4-F4AA-A5B7-05DA831859FA
> 
> Crashed Thread:  20
> 
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> 
> Application Specific Information:
> *** error for object 0x1085331b8: incorrect checksum for freed object - object was probably modified after being freed.
> 
> ...
> 
> Thread 20 Crashed:
> 0   libsystem_kernel.dylib        	0x00007fff90244212 __pthread_kill + 10
> 1   libsystem_c.dylib             	0x00007fff8a6c1af4 pthread_kill + 90
> 2   libsystem_c.dylib             	0x00007fff8a705e9e __abort + 159
> 3   libsystem_c.dylib             	0x00007fff8a705dff abort + 192
> 4   libsystem_c.dylib             	0x00007fff8a6e18a5 szone_error + 580
> 5   libsystem_c.dylib             	0x00007fff8a6e638d tiny_malloc_from_free_list + 629
> 6   libsystem_c.dylib             	0x00007fff8a6e6ad8 szone_malloc_should_clear + 971
> 7   libsystem_c.dylib             	0x00007fff8a6dd455 szone_realloc + 1954
> 8   libsystem_c.dylib             	0x00007fff8a6d954a malloc_zone_realloc + 79
> 9   libsystem_c.dylib             	0x00007fff8a6d9cac realloc + 157
> 10  QtCore                        	0x0000000105ffa64d QListData::realloc(int) + 45
> 11  QtCore                        	0x0000000105ffa823 QListData::append(int) + 211
> 12  QtCore                        	0x0000000105fba116 QList<QString>::append(QString const&) + 102
> 13  QtCore                        	0x0000000106038be1 QString::split(QString const&, QString::SplitBehavior, Qt::CaseSensitivity) const + 97
> 14  mythupnp                      	0x00000001027cf7ce SSDP::ProcessData(MSocketDevice*) + 1854
> 15  mythupnp                      	0x00000001027cf009 SSDP::run() + 825
> 16  mythbase                      	0x000000010293c893 MThreadInternal::run() + 19
> 17  QtCore                        	0x0000000105fdb5ba QThreadPrivate::start(void*) + 298
> 18  libsystem_c.dylib             	0x00007fff8a6c0742 _pthread_start + 327
> 19  libsystem_c.dylib             	0x00007fff8a6ad181 thread_start + 13
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list