[Pacemaker] crm_mon segment fault con fedora 20

emmanuel segura emi2fast at gmail.com
Mon Nov 11 20:23:50 UTC 2013


you can find the two files in the attachment

Thanks


2013/11/11 Andrew Beekhof <andrew at beekhof.net>

>
> On 9 Nov 2013, at 8:56 am, emmanuel segura <emi2fast at gmail.com> wrote:
>
> > Hello Andrew,
> >
> > You can the file in the attachment.
>
> It would be very useful to know what is NULL at:
>
> 1196                node_name = g_strdup_printf("%s:%s",
> node->details->uname, node->details->remote_rsc->container->id);
>
> ie.
>
> p *node
> p *node->details
> p *node->details->remote_rsc
> p *node->details->remote_rsc->container
>
> Also, if you have the actual XML, that may be useful.  The tools can't
> read the crmsh syntax.
>
> >
> >
> > 2013/11/8 Andrew Beekhof <andrew at beekhof.net>
> >
> > On 6 Nov 2013, at 9:36 am, emmanuel segura <emi2fast at gmail.com> wrote:
> >
> > > Hello everybody,
> > >
> > > On Fedora 20 i got a crm_mon segment fault with the following
> configuration http://ur1.ca/fzndq maybe my configuration is wrong, but in
> any case the is what i saw with gdb http://ur1.ca/fznf2
> >
> > Best to include it in the email. That link has already timed out.
> >
> > >
> > > [root at pcs1 ~]# rpm -qa | grep pacemaker
> > > pacemaker-remote-1.1.9-3.fc20.2.x86_64
> > > pacemaker-cli-1.1.9-3.fc20.2.x86_64
> > > pacemaker-libs-1.1.9-3.fc20.2.x86_64
> > > pacemaker-cluster-libs-1.1.9-3.fc20.2.x86_64
> > > pacemaker-cts-1.1.9-3.fc20.2.x86_64
> > > pacemaker-libs-devel-1.1.9-3.fc20.2.x86_64
> > > pacemaker-debuginfo-1.1.9-3.fc20.2.x86_64
> > > pacemaker-1.1.9-3.fc20.2.x86_64
> > >
> > > Thanks
> > >
> > > --
> > > esta es mi vida e me la vivo hasta que dios quiera
> > > _______________________________________________
> > > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > >
> > > Project Home: http://www.clusterlabs.org
> > > Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > > Bugs: http://bugs.clusterlabs.org
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> >
> >
> >
> > --
> > esta es mi vida e me la vivo hasta que dios quiera
> >
> <gdb_crm_mon><pacemaker.xml>_______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>



-- 
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131111/99e0e5fd/attachment.htm>
-------------- next part --------------
gdb) p *node->details
$3 = {id = 0x856fa0 "fedora1", uname = 0x856fa0 "fedora1", online = 0, standby = 0, standby_onfail = 0, pending = 0, unclean = 0, shutdown = 0, expected_up = 0, is_dc = 0, 
  num_resources = 0, running_rsc = 0x0, allocated_rsc = 0x0, remote_rsc = 0x88b650, attrs = 0x815400, type = node_remote, utilization = 0x815460, digest_cache = 0x8154c0}
(gdb) p *node->details->remote_rsc
$4 = {id = 0x88b940 "fedora1", clone_name = 0x0, xml = 0x8659b0, orig_xml = 0x0, ops_xml = 0x0, parent = 0x0, variant_opaque = 0x88bb60, variant = pe_native, 
  fns = 0x312d833620 <resource_class_functions>, cmds = 0x0, recovery_type = recovery_stop_start, restart_type = pe_restart_ignore, priority = 0, stickiness = 0, 
  sort_index = 0, failure_timeout = 0, effective_priority = 0, migration_threshold = 3, is_remote_node = 1, flags = 262434, rsc_cons_lhs = 0x0, rsc_cons = 0x0, 
  rsc_location = 0x0, actions = 0x0, rsc_tickets = 0x0, allocated_to = 0x0, running_on = 0x0, known_on = 0x8890c0 = {[0x863520] = 0x88e4f0, [0x8629b0] = 0x8919b0}, 
  allowed_nodes = 0x889060 = {[0x856fa0] = 0x88bb80, [0x863520] = 0x88c090, [0x8629b0] = 0x88c070}, role = RSC_ROLE_STOPPED, next_role = RSC_ROLE_UNKNOWN, meta = 0x889000 = {
    [0x88b980] = 0x88b960, [0x88ba90] = 0x88ba70, [0x88ba10] = 0x88b9f0, [0x88ba50] = 0x88ba30, [0x88bb00] = 0x88bae0}, parameters = 0x888f60, utilization = 0x889120, 
  children = 0x0, dangling_migrations = 0x0, partial_migration_target = 0x0, partial_migration_source = 0x0, container = 0x0, fillers = 0x850080}
(gdb) p *node->details->remote_rsc->container
Cannot access memory at address 0x0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: text/xml
Size: 8960 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131111/99e0e5fd/attachment-0004.xml>


More information about the Pacemaker mailing list