Opened 14 years ago
Closed 14 years ago
#9894 closed Bug Report - General (fixed)
Backend SIGSEGV processing flags
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Version: v0.25pre-2556-gc12e7d7-dirty
I get SIGSEGV due to gCoreContext->HasGUI() called with null gCoreContext. I only see this with the patch in #9893 applied.
A simple fix is to test for gCoreContext non-null. A patch is supplied. With this patch, AND the patch in #9893 applied, mythbackend starts reliably. I'm not necessarilly climing that this is the right fix. Maybe gCoreContext should be established earlier.
Attachments (2)
Change History (5)
Changed 14 years ago by
Attachment: | mythsystem.cpp.diff added |
---|
comment:1 Changed 14 years ago by
Owner: | set to beirdo |
---|---|
Status: | new → assigned |
Please follow the same steps as #9893, and report back.
comment:2 Changed 14 years ago by
Status: | assigned → infoneeded |
---|
comment:3 Changed 14 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | infoneeded → closed |
Setup http proxy after the gCoreContext is initialized
The setHttpProxy() uses myth_system to ping the proxy. However, myth_system requires that gCoreContext be valid for proper use. Therefore, move the proxy setup to after where we setup the context.
Branch: master Changeset: df8b987413106d47701a6c8ff04185b411d1a5b5
Patch to not dereference NULL gCoreContext