Opened 11 years ago

Closed 11 years ago

#9005 closed defect (Fixed)

mythbackend segfault

Reported by: Free Denizen <freedenizen@…> Owned by: beirdo
Priority: critical Milestone: 0.24
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by beirdo)

I'm not sure of the trigger for the crash, it seems to happen randomly, but it does not occur when running under gdb. Attaching backtrace from a core dump. Running trunk rev 26497 The only thing I see in the logs are:

*** glibc detected *** /usr/local/bin/mythbackend: corrupted double-linked list: 0xa5e19e10 ***
======= Backtrace: =========

Followed by the memory map, please let me know if that would be useful to attach. I'm also seeing previewgen segfaulting as well. It is possible that this is just an error on my machine but if so I've been unable to locate the cause.

Attachments (1)

mythtv_backtrace.txt (20.6 KB) - added by Free Denizen <freedenizen@…> 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Free Denizen <freedenizen@…>

Attachment: mythtv_backtrace.txt added

comment:1 Changed 11 years ago by robertm

Owner: set to beirdo
Status: newassigned

comment:2 Changed 11 years ago by beirdo

Description: modified (diff)

comment:3 Changed 11 years ago by Free Denizen <freedenizen@…>

As a note, I noticed #9024 was closed as a dupe of this, I am running gentoo as was the reporter in that ticket as well. Although I'm not running any gentoo specific patches, perhaps this is YAGSE (Yet Another Gentoo Specific Error)?

comment:4 Changed 11 years ago by beirdo

Milestone: unknown0.24
Priority: minorcritical

comment:5 Changed 11 years ago by beirdo

(In [26586]) In DeleteUPnP, always cleanup the UPnP structure unless it was passed in to a call to Init(), in which case, it is the caller's responsibility. At worst, this is just a minor memory leak. At best, it will fix the strange SSDP crashes. Refs #9005.

I will let this soak for a bit to see if it is the sum total of the issue.

comment:6 Changed 11 years ago by beirdo

Resolution: Fixed
Status: assignedclosed

I am going to close this ticket at this time. It seems to be working now. If this particular crash, or the other one (likely related) in the KickDatabase? rears its ugly head again, please re-open and add a new backtrace of the issue.

Note: See TracTickets for help on using tickets.