Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10924: mythlogserver segfault when ending

 

 

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Aug 26, 2013, 12:03 AM

Post #26 of 32 (457 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------
Changes (by jyavenard):

* status: closed => new
* resolution: fixed =>


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924#comment:24>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 26, 2013, 4:07 PM

Post #27 of 32 (456 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------

Comment (by jonny.dee@…):

I looked at the sources you pointed out, but I couldn't find any ZMQ
related problems. Also I reviewed my nzmqt code and couldn't find any
problematic code either. However, the crash report looks like the
PollingZMQContext instance is not correctly initialized in memory. In
loggingserver.cpp (line 60) there is a global variable definition
"LogServerThread *logServerThread = NULL;". And in logging.cpp (line 307)
this variable is accessed for obtaining a ZMQContext instance.
I don't know how the whole thing is bootstrapped, but if we assume this
variable has never been initialized with a correct pointer to a ZMQContext
instance it might contain some non-null value until it is actually
initialized with NULL according to loggingserver.cpp, line 60. As the
initialization order of static/global variables is not guaranteed, could
it be that for some reason logging.cpp accesses variable "logServerThread"
**before** it is ever initialized to NULL? Because in this case the NULL-
check in logging.cpp (line 315) would pass and createSocket() method would
be called on an invalid ZMQContext instance pointer.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924#comment:25>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 1, 2013, 9:10 AM

Post #28 of 32 (449 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------
Changes (by airdrummer):

Attachment "mythlogserver.crashlog" added

http://code.mythtv.org/trac/raw-attachment/ticket/10924/mythlogserver.crashlog

mythlogserver.crashlog

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 1, 2013, 9:12 AM

Post #29 of 32 (450 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------

Comment (by air_drummer@…):

i just installed mythtv on my network (backend on linux, frontend on mac)
but it's unusable: the mythlogserver crashes as soon as the f/e launches
it, EVERY 6 SECS!-P

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924#comment:26>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 1, 2013, 10:13 AM

Post #30 of 32 (446 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------

Comment (by air_drummer@…):

workaround: start mythlogserver b4 f/e

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924#comment:27>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 12, 2013, 3:59 AM

Post #31 of 32 (430 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------

Comment (by jonny.dee@…):

regaring nzmqt: I've changed code executed if 'ZMQContext' and 'ZMQSocket'
instances are deleted a bit. Additionally, I've add (succeeding) unit
tests for PUB-SUB, REQ-REP, and PUSH-PULL protocols. Furthermore, nzmqt
can now be built as static/shared lib (see
[https://github.com/jonnydee/nzmqt/blob/branch-2.x/doc/Software.md#setup-
your-own-project-to-use-nzmqt documentation] for more details).

I don't really know what causes the crash(s) but please make sure that, if
several threads are sharing the same 'ZMCContext' instance, the
'ZMQSocket' instances are created in the same thread as the 'ZMQContext'
instance itself (0MQ requirement). After creation, use
'QObject::moveToThread(QThread*)' method to move the socket instances to
their corresponding threads and give them a reference to their socket
instances (Qt requirement). You can see how this is exactly done in
nzmqt's unit test source code.

HTH?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10924#comment:28>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 30, 2014, 12:36 AM

Post #32 of 32 (188 views)
Permalink
Re: Ticket #10924: mythlogserver segfault when ending [In reply to]

#10924: mythlogserver segfault when ending
------------------------------------+-----------------------------
Reporter: jyavenard | Owner: natanojl
Type: Bug Report - Crash | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Mythlogserver | Version: Master Head
Severity: medium | Resolution: Won't Fix
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------
Changes (by jyavenard):

* status: new => closed
* resolution: => Won't Fix


Comment:

mythlogserver is not used on mac bundle any more by default

--
Ticket URL: <https://code.mythtv.org/trac/ticket/10924#comment:29>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.