1364 double free error

Case number:845829-2003690
Topic:Crash/Hang
Opened by:actiasluna
Status:Open
Type:Bug
Opened on:Wednesday, April 12, 2017 - 10:37
Last modified:Monday, April 17, 2017 - 11:40

reproducible, excerpt and crash log attached.
Log.txt as well.

Thread 3 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00000003 ecx: 0xb0d370ec edx: 0x00000000
edi: 0xb0d3a000 esi: 0x00000006 ebp: 0xb0d37118 esp: 0xb0d370ec
ss: 0x00000023 efl: 0x00000292 eip: 0x9f8b749a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0xa5326320

Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132
'hread 3 Crashed:
0 libsystem_kernel.dylib 0x9f8b749a __pthread_kill + 10
1 libsystem_pthread.dylib 0x9f99aec3 pthread_kill + 90
2 libsystem_c.dylib 0x9f817a44 abort + 141
3 libsystem_malloc.dylib 0x9f9192ae szone_error + 448
4 libsystem_malloc.dylib 0x9f922650 free_tiny_botch + 100
5 libsystem_malloc.dylib 0x9f9225cd free_tiny + 653
6 libsystem_malloc.dylib 0x9f90ec70 szone_free_definite_size + 127
7 libsystem_malloc.dylib 0x9f91bd08 default_zone_free_definite_size + 62
8 libsystem_malloc.dylib 0x9f90e85d free + 391
9 libc++.1.dylib 0x9e667589 std::__1::basic_string, std::__1::allocator >::__grow_by(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) + 187
10 libc++.1.dylib 0x9e667233 std::__1::basic_string, std::__1::allocator >::push_back(char) + 57
11 game_library.dylib 0x02fc85de std::__1::basic_stringbuf, std::__1::allocator >::overflow(int) + 110
12 game_library.dylib 0x02dcc426 std::__1::basic_streambuf >::xsputn(char const*, int) + 86
13 libc++.1.dylib 0x9e645d0b std::__1::ostreambuf_iterator > std::__1::__pad_and_output >(std::__1::ostreambuf_iterator >, char const*, char const*, char const*, std::__1::ios_base&, char) + 181
14 libc++.1.dylib 0x9e646013 std::__1::num_put > >::do_put(std::__1::ostreambuf_iterator >, std::__1::ios_base&, char, unsigned long) const + 321
15 game_library.dylib 0x030fb465 std::__1::basic_ostream >::operator<<(unsigned long) + 261
16 game_library.dylib 0x00c9f410 core::scoring::dssp::StrandPairing::show_internals(std::__1::basic_ostream >&) const + 292
17 game_library.dylib 0x00c9dc5e core::scoring::dssp::StrandPairing::extend(unsigned long, unsigned long, bool, unsigned long) + 2398
18 game_library.dylib 0x00c9ab0a core::scoring::dssp::StrandPairingSet::add_pairing(unsigned long, unsigned long, bool, unsigned long) + 74
19 game_library.dylib 0x00c9a936 core::scoring::dssp::StrandPairingSet::compute(ObjexxFCL::FArray2 const&, float, core::pose::Pose const&) + 404
20 game_library.dylib 0x00c9a9bd core::scoring::dssp::StrandPairingSet::StrandPairingSet(ObjexxFCL::FArray2 const&, float, core::pose::Pose const&) + 81
21 game_library.dylib 0x00c95f03 core::scoring::dssp::Dssp::compute(core::pose::Pose const&) + 1213
22 game_library.dylib 0x00c95976 core::scoring::dssp::Dssp::Dssp(core::pose::Pose const&, bool) + 98
23 game_library.dylib 0x00c9682a core::scoring::dssp::Dssp::Dssp(core::pose::Pose const&, bool) + 22
24 game_library.dylib 0x02b21719 interactive::application::appposeview::ResidueBurialComposite::calculate_residues() + 357
25 game_library.dylib 0x02b21d8d interactive::application::appposeview::ResidueBurialComposite::ResidueBurialThread::operator()() + 145
26 game_library.dylib 0x02d1b925 interactive::util::Thread::thread_entry_func() + 31
27 game_library.dylib 0x02d1b581 interactive::util::Thread::pthread_startup_helper(void*) + 17
28 libsystem_pthread.dylib 0x9f99810b _pthread_body + 184
29 libsystem_pthread.dylib 0x9f998053 _pthread_start + 243
30 libsystem_pthread.dylib 0x9f99790e thread_start + 34

SYSTEM log excerpt:

pr 11 23:40:43 Kathleens-iMac game_dynamic[31964]: game_dynamic(31964,0xb0d3a000) malloc: *** error for object 0x8485d8e0: double free
*** set a breakpoint in malloc_error_break to debug
Apr 11 23:40:43 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.ReportCrash[33723]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Apr 11 23:40:51 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:41:21 --- last message repeated 2 times ---
Apr 11 23:41:21 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:41:51 --- last message repeated 2 times ---
Apr 11 23:41:51 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:42:21 --- last message repeated 2 times ---
Apr 11 23:42:21 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:42:52 --- last message repeated 2 times ---
Apr 11 23:42:52 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:42:58 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb81139e0, 3, 0)
Apr 11 23:42:58 Kathleens-iMac logd[65]: _volume_contains_cached_data(is /private/var/db/diagnostics/ in /) - YES
Apr 11 23:42:58 Kathleens-iMac logd[65]: 144962432 bytes of purgeable space from log files
Apr 11 23:42:58 Kathleens-iMac logd[65]: _purge_uuidtext only runs at urgency 0 (3)
Apr 11 23:42:58 Kathleens-iMac logd[65]: 0 bytes of purgeable space from uuidtext files
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb8329ca0, 3, 0)
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb5f39c00, 3, 0)
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb5e1f7f0, 3, 0)
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb5e14d90, 3, 0)
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb5d42a30, 3, 0)
Apr 11 23:42:58 Kathleens-iMac LogViewer[33765]: assertion failed: 16D32: libxpc.dylib + 74307 [65E41BB6-EBD5-3D93-B0BE-B190CEE4DD93]: 0x89
Apr 11 23:42:58 Kathleens-iMac logd[65]: _handle_cache_delete_with_urgency(0x7fbfb5e1e300, 3, 0)
Apr 11 23:43:02 Kathleens-iMac com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Apr 11 23:43:04 Kathleens-iMac LogViewer[33765]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked

(Wed, 04/12/2017 - 10:37  |  7 comments)


actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

And again this morning running Helix Twister. I have not added or cut any segments from this puzzle, if that makes any difference. I think that if the developers can track down this error lots of problems might be solved (both on Mac and Windows as I suspect at least for the monomer puzzles it's similar... Segmentation Fault 11 and Double Free are the new main crash causes I can see.)

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

And again this afternoon.
(am going back to separate, unique clients from the Automator way to see if it makes any difference.)

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

(the above two after reopening one that quit with the same error earlier.)

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters
Topic: General » Crash/Hang
Type: Suggestion » Bug

Less frequent, but still happening. I am now running separate Mac clients (foldit-1, foldit-2, foldit-3, foldit-4) and ran without incident since yesterday. (also changed the topic... didn't notice that I hadn't put it in the right category)

Just now, running Helix Twister, encountered the double free error and crashed the client.
I have sent several log files with this one.... the mac crash log, the system log at the time of the crash, and log.txt and the script log.

Next move: I am going to go ahead and update to the latest Sierra OS and see if that changes things. (likely it will break something else, but somebody has to do it... as those with new macs will likely have the latest OS... I'll see if I can do it "nondestructively")

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

Several more double frees and Thread 11 crashes on 1364... running innocuous recipes like worm.
Attached System log as well as all the crashlogs.

I hope that all these help narrow down what is going on.

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

One more comment... consistent with crashing prior to the recent updates, these appear more frequently the longer the puzzle has been played (closed, reopened, restarted, played, repeated)... and as the score goes higher.

actiasluna's picture
User offline. Last seen 17 hours 26 min ago. Offline
Joined: 03/05/2015
Groups: Gargleblasters

And I have had no crashes on the non-monomer puzzles. Not a one. Was expecting on the ED puzzle but haven't had one on a solution I ran two days (or longer) straight. Never happened.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Microsoft, Adobe, RosettaCommons