Opened 6 years ago

Last modified 6 years ago

#12729 new Bugs

crash

Reported by: anonymous Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

I find a crash:

1.Operating system: Android 0.0.0 Linux 3.10.0

2.CPU: arm ARMv7 ARM part(0x4100c070) features: swp,half,thumb,fastmult,vfpv2,edsp,neon,vfpv3,tls,vfpv4,idiva,idivt 4 CPUs

3.code:

void my_thread_sleep(int millisec)

{ try{boost::thread::sleep(boost::get_system_time() + boost::posix_time::millisec(millisec));}

catch (boost::thread_interrupted& e){(void)e;} catch (...){}

}

thread do:

for(;;) { my_thread_sleep(5000); }

4.googlebreak dump: Thread 33 (crashed)

0 libc.so + 0x1d980

r0 = 0x586e21b8 r1 = 0x00000000 r2 = 0x00000000 r3 = 0x66ebd65c r4 = 0x66ebd65c r5 = 0x00000000 r6 = 0x66ebd65c r7 = 0x66ebd688 r8 = 0x586e21b8 r9 = 0x66ebd6b8 r10 = 0x0007ef31 r12 = 0xfffd0fa8 fp = 0x66ebda90 sp = 0x66ebd5b0 lr = 0x4007ba15 pc = 0x4007a980

Found by: given as instruction pointer in context

1 libc.so + 0x22ffe

sp = 0x66ebd5cc pc = 0x40080000

Found by: stack scanning

2 libc.so + 0x1ea13

sp = 0x66ebd5f0 pc = 0x4007ba15

Found by: stack scanning

3 libc.so + 0x1ebc5

sp = 0x66ebd608 pc = 0x4007bbc7

Found by: stack scanning

4 test.so!boost::date_time::microsec_clock<boost::posix_time::ptime>::create_time [microsec_time_clock.hpp : 117 + 0x15]

sp = 0x66ebd614 pc = 0x64a1102d

Found by: stack scanning

5 test.so!boost::date_time::c_time::gmtime [c_time.hpp : 85 + 0x3]

sp = 0x66ebd618 pc = 0x64a11041

Found by: stack scanning

6 test.so!boost::date_time::microsec_clock<boost::posix_time::ptime>::create_time [microsec_time_clock.hpp : 100 + 0x1]

sp = 0x66ebd638 pc = 0x64a10fa3

Found by: stack scanning

7 test.so!boost::condition_variable::do_wait_until [condition_variable.hpp : 112 + 0x3]

sp = 0x66ebd650 pc = 0x64af342d

Found by: stack scanning

8 test.so__gnu_ldivmod_helper [bpabi.c : 41 + 0x2]

sp = 0x66ebd680 pc = 0x64b9d29c

Found by: stack scanning

9 test.so__aeabi_ldivmod + 0x32

r3 = 0x00000000 r4 = 0x00000006 r5 = 0x586e21b8 r6 = 0x586e21b8 r7 = 0x0009e94d sp = 0x66ebd698 pc = 0x64b9d110

Found by: call frame info

10 0x26

r4 = 0x00000006 r5 = 0x586e21b8 r6 = 0x586e21b8 r7 = 0x0009e94d sp = 0x66ebd6a8 pc = 0x00000028

Found by: call frame info

11 test.so!my_thread_sleep [microsec_time_clock.hpp : 76 + 0x11]

Change History (1)

comment:1 by iewj@…, 6 years ago

asio,deadline_timer

arm android NDK14 gcc

crash every once in a while:

boost::date_time::microsec_clock<boost::posix_time::ptime>::create_time

Note: See TracTickets for help on using tickets.