qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-583) Random segmentation fault
Date Fri, 02 Dec 2016 21:42:58 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716606#comment-15716606
] 

ASF GitHub Bot commented on DISPATCH-583:
-----------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/119

    DISPATCH-583 - Fixed lifecycle management of proton links and session…

    …s. These are now freed after the collector is done with all the events

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/119.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #119
    
----
commit 2df6e5af9e276372b51843eab68ef0b57fad2ef8
Author: Ganesh Murthy <gmurthy@redhat.com>
Date:   2016-12-02T21:39:22Z

    DISPATCH-583 - Fixed lifecycle management of proton links and sessions. These are now
freed after the collector is done with all the events

----


> Random segmentation fault
> -------------------------
>
>                 Key: DISPATCH-583
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-583
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Paolo Patierno
>            Assignee: Ganesh Murthy
>             Fix For: 0.8.0
>
>         Attachments: qdrouterd.conf
>
>
> Hello,
> working with the following project :
> https://github.com/EnMasseProject/mqtt-frontend
> using the router, I have random "segmentation fault" errors when the SubscribeTest is
executed. It happens running the test 3-4 times ... or 20 times ... totally random.
> You can reproduce it, cloning the above repo and running :
> mvn -Dtest=SubscribeTest test
> I used the route built from the repo source code (about 2 weeks ago) but applying the
patch for message annotations on that.
> I got the backtrace of one of the crash :
> #0  0x0000000f00747369 in ?? ()
> #1  0x00007f0eceddcf69 in pn_class_equals (clazz=<optimized out>, a=<optimized
out>, b=b@entry=0x7f0eb800bd90) at /qpid-proton-0.15.0/proton-c/src/object/object.c:169
> #2  0x00007f0eceddd466 in pn_list_index (list=list@entry=0x7f0eb802c0c0, value=value@entry=0x7f0eb800bd90)
at /qpid-proton-0.15.0/proton-c/src/object/list.c:88
> #3  0x00007f0eceddd559 in pn_list_remove (list=0x7f0eb802c0c0, value=value@entry=0x7f0eb800bd90)
at /qpid-proton-0.15.0/proton-c/src/object/list.c:99
> #4  0x00007f0ecede82ea in pn_link_finalize (object=0x7f0eb800bd90) at /qpid-proton-0.15.0/proton-c/src/engine/engine.c:1129
> #5  0x00007f0eceddce19 in pn_class_decref (clazz=0x7f0ecf013480 <clazz>, object=0x7f0eb800bd90)
at /qpid-proton-0.15.0/proton-c/src/object/object.c:95
> #6  0x00007f0ecedeadb0 in pn_event_finalize (event=0x7f0eb802a580) at /qpid-proton-0.15.0/proton-c/src/events/event.c:212
> #7  pn_event_finalize_cast (object=0x7f0eb802a580) at /qpid-proton-0.15.0/proton-c/src/events/event.c:257
> #8  0x00007f0eceddce19 in pn_class_decref (clazz=0x7f0ecf013600 <clazz>, clazz@entry=0x7f0ecf012f00
<PN_OBJECT>, object=0x7f0eb802a580) at /qpid-proton-0.15.0/proton-c/src/object/object.c:95
> #9  0x00007f0eceddd02f in pn_decref (object=<optimized out>) at /qpid-proton-0.15.0/proton-c/src/object/object.c:253
> #10 0x00007f0ecedeb0a2 in pn_collector_pop (collector=collector@entry=0x7f0eb8036450)
at /qpid-proton-0.15.0/proton-c/src/events/event.c:189
> #11 0x00007f0ecf055d43 in process_connector (cxtr=0x7f0eb8002f90, qd_server=0x2517e70)
at /qpid-dispatch/src/server.c:851
> #12 thread_run (arg=<optimized out>) at /qpid-dispatch/src/server.c:1075
> #13 0x00007f0ecebb45ba in start_thread () from /lib64/libpthread.so.0
> #14 0x00007f0ece1037cd in clone () from /lib64/libc.so.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message