[Openais] checkpoint assert

Muni Bajpai muni.osdl at gmail.com
Wed Aug 16 09:05:59 PDT 2006


Fabien,

Please try the test with DEBUG Logs.

Thanks

Muni
----- Original Message ----- 
From: "Fabien THOMAS" <fabien.thomas at netasq.com>
To: <openais at lists.osdl.org>
Sent: Wednesday, August 16, 2006 10:46 AM
Subject: [Openais] checkpoint assert


i've updated my test program with openais 0.8 and i've had a crash of  
aisexec on an assert in ckpt.c.
maybe someone will known the problem?

fabien

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `aisexec'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.2...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x280e04ab in pthread_testcancel () from /usr/lib/libpthread.so.2
[New Thread 0x83ad400 (runnable)]
[New Thread 0x83ad200 (runnable)]
[New Thread 0x8260c00 (runnable)]
[New Thread 0x8260a00 (LWP 100056)]
[New Thread 0x825d000 (LWP 100059)]
(gdb) frame
#0  0x280e04ab in pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) quit
F200XA105910400601>gdb aisexec /log/crash/aisexec.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `aisexec'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.2...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x280e04ab in pthread_testcancel () from /usr/lib/libpthread.so.2
[New Thread 0x83ad400 (runnable)]
[New Thread 0x83ad200 (runnable)]
[New Thread 0x8260c00 (runnable)]
[New Thread 0x8260a00 (LWP 100056)]
[New Thread 0x825d000 (LWP 100059)]
(gdb) bt
#0  0x280e04ab in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x280cf80e in sigaction () from /usr/lib/libpthread.so.2
#2  0x280c9839 in pthread_kill () from /usr/lib/libpthread.so.2
#3  0x280c9202 in raise () from /usr/lib/libpthread.so.2
#4  0x2819a014 in abort () from /lib/libc.so.6
#5  0x28177f98 in __assert () from /lib/libc.so.6
#6  0x0806dafd in message_handler_req_exec_ckpt_checkpointclose (
     message=0x82ac009, nodeid=100729354) at ckpt.c:2346
#7  0x0805fc7f in deliver_fn (nodeid=100729354, iovec=0x3fbfc5b0,  
iov_len=1,
     endian_conversion_required=0) at main.c:360
#8  0x0805a6fd in app_deliver_fn (nodeid=100729354, iovec=0x809e1e8,
     iov_len=1, endian_conversion_required=0) at totempg.c:393
#9  0x0805a50f in totempg_deliver_fn (nodeid=100729354, iovec=0x826cad4,
     iov_len=1, endian_conversion_required=0) at totempg.c:551
#10 0x08059931 in totemmrp_deliver_fn (nodeid=100729354,  
iovec=0x826cad4,
     iov_len=1, endian_conversion_required=0) at totemmrp.c:81
#11 0x080575f9 in messages_deliver_to_app (instance=0x826f000, skip=0,
     end_point=63) at totemsrp.c:3410
#12 0x080579a3 in message_handler_mcast (instance=0x826f000,  
msg=0x829d650,
     msg_len=417, endian_conversion_needed=0) at totemsrp.c:3548
#13 0x0805979e in main_deliver_fn (context=0x826f000, msg=0x829d650,
     msg_len=417) at totemsrp.c:3985
#14 0x0804e5d6 in none_mcast_recv (rrp_instance=0x8255f00, iface_no=0,
     context=0x826f000, msg=0x829d650, msg_len=417) at totemrrp.c:476
---Type <return> to continue, or q <return> to quit---
#15 0x0804fef7 in rrp_deliver_fn (context=0x8256b40, msg=0x829d650,
     msg_len=417) at totemrrp.c:1319
#16 0x0804c965 in net_deliver_fn (handle=0, fd=5, revents=1,  
data=0x829d000)
     at totemnet.c:678
#17 0x0804b147 in poll_run (handle=0) at aispoll.c:402
#18 0x0806047a in main (argc=1, argv=0x3fbfee88) at main.c:567
(gdb) frame 6
#6  0x0806dafd in message_handler_req_exec_ckpt_checkpointclose (
     message=0x82ac009, nodeid=100729354) at ckpt.c:2346
2346    ckpt.c: No such file or directory.
         in ckpt.c
(gdb) print checkpoint->referenceCount
$1 = 0
(gdb) print *checkpoint
$2 = {list = {next = 0x85b5000, prev = 0x85be000}, name = {length = 5,
     value = "stat", '\0' <repeats 251 times>}, ckpt_id = 3,
   checkpoint_creation_attributes = {creation_flags = 1,
     checkpoint_size = 1600000, retention_duration = 3600000000000,
     max_sections = 16, max_section_size = 100000,  
max_section_id_size = 32},
   sections_list_head = {next = 0x8261840, prev = 0x8261840},
   referenceCount = 0, unlinked = 0, retention_timer = 0x82548e0,  
expired = 0,
   active_replica_set = 1, sectionCount = 1, ckpt_refcnt = {{count = 0,
       nodeid = 117506570}, {count = 0, nodeid = 0} <repeats 383  
times>}}
(gdb)

_______________________________________________
Openais mailing list
Openais at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/openais



More information about the Openais mailing list