Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another problem on tracing (ARM) chrome #721

Open
honggyukim opened this issue Apr 9, 2019 · 5 comments
Open

Another problem on tracing (ARM) chrome #721

honggyukim opened this issue Apr 9, 2019 · 5 comments

Comments

@honggyukim
Copy link
Collaborator

honggyukim commented Apr 9, 2019

After resolving #714 by skipping dlsym, I got another problem.

T1. tracing prebuilt chrome with --force without --nest-libcall

  • I tested to navigate some web pages and scroll up and down. It works fine.

T2. tracing prebuilt chrome with --nest-libcall
It runs more than before, but got stuck during launching chrome.

# DURATION     TID     FUNCTION
  11.041 us [  3603] | getenv();
  37.656 us [  3603] | extensions::ShellMainDelegate::ShellMainDelegate();
            [  3603] | content::ContentMain() {
            [  3603] |   content::ContentMainRunner::Create() {
            [  3603] |     operator new() {
   1.250 us [  3603] |       __libc_malloc();
   3.698 us [  3603] |     } /* operator new */
  29.479 us [  3603] |     content::ContentClient::ContentClient();
  58.177 us [  3603] |   } /* content::ContentMainRunner::Create */
            [  3603] |   base::EnableTerminationOnOutOfMemory() {
   6.979 us [  3603] |     std::set_new_handler();
   3.802 us [  3603] |     base::allocator::SetCallNewHandlerOnMallocFailure();
  72.343 us [  3603] |   } /* base::EnableTerminationOnOutOfMemory */
            [  3603] |   base::GlobalDescriptors::GetInstance() {
            [  3603] |     operator new() {
   0.937 us [  3603] |       __libc_malloc();
   2.343 us [  3603] |     } /* operator new */
  30.677 us [  3603] |     base::GlobalDescriptors::GlobalDescriptors();
  43.541 us [  3603] |   } /* base::GlobalDescriptors::GetInstance */
...
            [  3630] | wl_display_flush() {
   0.782 us [  3630] |   pthread_mutex_lock();
   0.729 us [  3630] |   pthread_mutex_unlock();
   5.781 us [  3630] | } /* wl_display_flush */
            [  3630] | base::WaitableEvent::IsSignaled() {
   0.781 us [  3630] |   pthread_mutex_lock();
   0.729 us [  3630] |   pthread_mutex_unlock();
   5.625 us [  3630] | } /* base::WaitableEvent::IsSignaled */
            [  3630] | wl_display_prepare_read() {
            [  3630] |   wl_display_prepare_read_queue() {
   0.729 us [  3630] |     pthread_mutex_lock();
   0.677 us [  3630] |     wl_list_empty();
   0.729 us [  3630] |     pthread_mutex_unlock();
   8.229 us [  3630] |   } /* wl_display_prepare_read_queue */
  10.469 us [  3630] | } /* wl_display_prepare_read */
            [  3620] |   /* linux:task-exit */
            [  3616] |     /* linux:task-exit */
            [  3619] |   /* linux:task-exit */
            [  3617] |   /* linux:task-exit */
            [  3618] |   /* linux:task-exit */
            [  3621] |   /* linux:task-exit */
            [  3629] |   /* linux:task-exit */

uftrace stopped tracing with remaining functions
================================================
task: 3603
[3] g_main_context_iteration
[2] base::RunLoop::Run
[1] content::BrowserMainLoop::RunMainMessageLoopParts
[0] content::ContentMain

task: 3616
[1] base::Thread::Run
[0] content::BrowserThreadImpl::DBThreadRun

task: 3617
[0] content::BrowserThreadImpl::FileThreadRun

task: 3618
[0] content::BrowserThreadImpl::FileUserBlockingThreadRun

task: 3619
[0] content::BrowserThreadImpl::ProcessLauncherThreadRun

task: 3620
[0] content::BrowserThreadImpl::CacheThreadRun

task: 3621
[0] content::BrowserThreadImpl::IOThreadRun

task: 3629
[0] base::SequencedWorkerPool::Inner::ThreadLoop

task: 3632
[10] _Uarm_step
[9] blink::ThreadHeap::enterSafePoint
[8] blink::ThreadState::enterSafePoint
[7] blink::ThreadState::addInterruptor
[6] blink::Platform::initialize
[5] blink::initialize
[4] content::RenderThreadImpl::InitializeWebKit
[3] content::RenderThreadImpl::Init
[2] content::RenderThreadImpl::RenderThreadImpl
[1] content::RenderThreadImpl::Create
[0] content::ContentMain

T3. tracing -pg compiled chrome with --nest-libcall (replayed only master thread)
It gets finished unexpectedly and its trace result is as follows:

# DURATION     TID     FUNCTION
            [  3675] | main() {
  30.208 us [  3675] |   getenv();
            [  3675] |   extensions::ShellMainDelegate::ShellMainDelegate() {
   5.781 us [  3675] |     extensions::ShellMainDelegate::ShellMainDelegate();
  34.831 ms [  3675] |   } /* extensions::ShellMainDelegate::ShellMainDelegate */
            [  3675] |   content::ContentMain() {
            [  3675] |     content::ContentMain() {
            [  3675] |       content::ContentMainRunner::Create() {
            [  3675] |         content::ContentMainRunner::Create() {
            [  3675] |           operator new() {
            [  3675] |             ShimCppNew() {
            [  3675] |               _GLOBAL__N_1::GlibcMalloc() {
   3.906 us [  3675] |                 __libc_malloc();
  57.604 us [  3675] |               } /* _GLOBAL__N_1::GlibcMalloc */
  63.854 us [  3675] |             } /* ShimCppNew */
  77.343 us [  3675] |           } /* operator new */
            [  3675] |           content::ContentClient::ContentClient() {
   5.989 us [  3675] |             content::ContentClient::ContentClient();
   6.134 ms [  3675] |           } /* content::ContentClient::ContentClient */
...
            [  3675] |                                                 ui::CursorLoaderOzone::LoadImageCursor() {
            [  3675] |                                                   SkBitmap::SkBitmap() {
            [  3675] |                                                     SkBitmap::SkBitmap() {
   2.344 us [  3675] |                                                       memset();
  50.728 us [  3675] |                                                     } /* SkBitmap::SkBitmap */
  69.374 us [  3675] |                                                   } /* SkBitmap::SkBitmap */
            [  3675] |                                                   ui::GetImageCursorBitmap() {
            [  3675] |                                                     ui::ResourceBundle::GetSharedInstance() {
   0.833 us [  3675] |                                                       ui::ResourceBundle::GetSharedInstance();
   8.125 us [  3675] |                                                     } /* ui::ResourceBundle::GetSharedInstance */
            [  3675] |                                                     ui::ResourceBundle::GetImageSkiaNamed() {
            [  3675] |                                                       ui::ResourceBundle::GetImageSkiaNamed() {
            [  3675] |                                                         ui::ResourceBundle::GetImageNamed() {
            [  3675] |                                                           ui::ResourceBundle::GetImageNamed() {
            [  3675] |                                                             base::internal::LockImpl::Lock() {
            [  3675] |                                                               base::internal::LockImpl::Lock() {
   1.719 us [  3675] |                                                                 pthread_mutex_lock();
  49.166 us [  3675] |                                                               } /* base::internal::LockImpl::Lock */
  55.885 us [  3675] |                                                             } /* base::internal::LockImpl::Lock */
...
            [  3675] |                                                                                           wk_png_process_some_data() {
            [  3675] |                                                                                             wk_png_push_read_chunk() {
            [  3675] |                                                                                               wk_png_push_fill_buffer() {
   1.354 us [  3675] |                                                                                                 memcpy();
  48.385 us [  3675] |                                                                                               } /* wk_png_push_fill_buffer */
   0.677 us [  3675] |                                                                                               wk_png_get_uint_31();
            [  3675] |                                                                                               wk_png_reset_crc() {
   0.677 us [  3675] |                                                                                                 MOZ_Z_crc32();
   5.938 us [  3675] |                                                                                               } /* wk_png_reset_crc */
            [  3675] |                                                                                               wk_png_crc_read() {
            [  3675] |                                                                                                 wk_png_read_data() {
            [  3675] |                                                                                                   wk_png_push_fill_buffer() {
   1.302 us [  3675] |                                                                                                     memcpy();
  47.344 us [  3675] |                                                                                                   } /* wk_png_push_fill_buffer */
  51.874 us [  3675] |                                                                                                 } /* wk_png_read_data */
            [  3675] |                                                                                                 wk_png_calculate_crc() {
            [  3675] |                                                                                                   MOZ_Z_crc32() {
   1.198 us [  3675] |                                                                                                     crc32_little();
   6.249 us [  3675] |                                                                                                   } /* MOZ_Z_crc32 */
  11.406 us [  3675] |                                                                                                 } /* wk_png_calculate_crc */
  72.134 us [  3675] |                                                                                               } /* wk_png_crc_read */
   0.781 us [  3675] |                                                                                               wk_png_check_chunk_name();
            [  3675] |                                                                                               wk_png_chunk_unknown_handling() {
   0.677 us [  3675] |                                                                                                 wk_png_handle_as_unknown.part.4();
  12.708 us [  3675] |                                                                                               } /* wk_png_chunk_unknown_handling */
            [  3675] |                                                                                               gfx::_GLOBAL__N_1::DecodeInfoCallback() {
   0.677 us [  3675] |                                                                                                 wk_png_get_io_ptr();
            [  3675] |                                                                                                 wk_png_get_IHDR() {
   0.781 us [  3675] |                                                                                                   wk_png_check_IHDR();
   5.781 us [  3675] |                                                                                                 } /* wk_png_get_IHDR */
   0.729 us [  3675] |                                                                                                 wk_png_get_valid();
            [  3675] |                                                                                                 wk_png_set_gray_to_rgb() {
   0.677 us [  3675] |                                                                                                   png_rtran_ok();
   0.677 us [  3675] |                                                                                                   png_rtran_ok();
  12.291 us [  3675] |                                                                                                 } /* wk_png_set_gray_to_rgb */
   1.041 us [  3675] |                                                                                                 wk_png_get_gAMA();
            [  3675] |                                                                                                 wk_png_set_gamma() {
            [  3675] |                                                                                                   convert_gamma_value() {
   2.396 us [  3675] |                                                                                                     floor();
  87.603 us [  3675] |                                                                                                   } /* convert_gamma_value */
            [  3675] |                                                                                                   convert_gamma_value() {
   1.302 us [  3675] |                                                                                                     floor();
  47.916 us [  3675] |                                                                                                   } /* convert_gamma_value */
            [  3675] |                                                                                                   wk_png_set_gamma_fixed() {
   0.729 us [  3675] |                                                                                                     png_rtran_ok();
            [  3675] |                                                                                                     /* linux:task-exit */

uftrace stopped tracing with remaining functions
================================================
task: 3675
[49] wk_png_set_gamma_fixed
[48] wk_png_set_gamma
[47] gfx::_GLOBAL__N_1::DecodeInfoCallback
[46] wk_png_push_read_chunk
[45] wk_png_process_some_data
[44] wk_png_process_data
[43] gfx::PNGCodec::Decode
[42] gfx::PNGCodec::Decode
[41] ui::ResourceBundle::DecodePNG
[40] ui::ResourceBundle::DecodePNG
[39] ui::ResourceBundle::LoadBitmap
[38] ui::ResourceBundle::LoadBitmap
[37] ui::ResourceBundle::LoadBitmap
[36] ui::ResourceBundle::LoadBitmap
[35] ui::ResourceBundle::ResourceBundleImageSource::GetImageForScale
[34] gfx::internal::ImageSkiaStorage::FindRepresentation
[33] gfx::internal::ImageSkiaStorage::FindRepresentation
[32] gfx::internal::ImageSkiaStorage::ImageSkiaStorage
[31] gfx::ImageSkia::ImageSkia
[30] gfx::ImageSkia::ImageSkia
[29] ui::ResourceBundle::GetImageNamed
[28] ui::ResourceBundle::GetImageNamed
[27] ui::ResourceBundle::GetImageSkiaNamed
[26] ui::ResourceBundle::GetImageSkiaNamed
[25] ui::GetImageCursorBitmap
[24] ui::CursorLoaderOzone::LoadImageCursor
[23] ui::ImageCursors::ReloadCursors
[22] ui::ImageCursors::ReloadCursors
[21] ui::ImageCursors::SetDisplay
[20] ui::ImageCursors::SetDisplay
[19] extensions::_GLOBAL__N_1::ShellNativeCursorManager::SetDisplay
[18] wm::CursorManager::SetDisplay
[17] extensions::ShellDesktopControllerAura::InitWindowManager
[16] extensions::ShellDesktopControllerAura::CreateRootWindow
[15] extensions::ShellDesktopControllerAura::ShellDesktopControllerAura
[14] extensions::DefaultShellBrowserMainDelegate::CreateDesktopController
[13] extensions::ShellBrowserMainParts::PreMainMessageLoopRun
[12] content::BrowserMainLoop::PreMainMessageLoopRun
[11] base::internal::Invoker::Run
[10] content::StartupTaskRunner::RunAllTasksNow
[9] content::StartupTaskRunner::RunAllTasksNow
[8] content::BrowserMainLoop::CreateStartupTasks
[7] content::BrowserMainLoop::CreateStartupTasks
[6] content::BrowserMainRunnerImpl::Initialize
[5] content::BrowserMain
[4] content::RunNamedProcessTypeMain
[3] content::ContentMainRunnerImpl::Run
[2] content::ContentMain
[1] content::ContentMain
[0] main

Here is the debug message.

    ...
plthook: [idx: 2077] enter 71240530: floor@plt (mod: 76f85f40)
plthook: [idx: 2077] exit  7202df41: floor     (resolved addr: 700f348c)
plthook: /usr/src/debug/uftrace/0.9.2-r0/git/libmcount/plthook.c:927:plthook_exit
 ERROR: <52> invalid dynsym idx: -269488145
plthook: [idx:   16] enter 4de6c: __libc_calloc@plt (mod: 76f88958)
plthook: [idx:   16] exit  76f4a2a4: __libc_calloc     (resolved addr: 6fffb364)
    ...
@honggyukim
Copy link
Collaborator Author

honggyukim commented Apr 9, 2019

$ cat src/third_party/libpng/pngrtran.c
    ...
void PNGFAPI
png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma,
   png_fixed_point file_gamma)
{
   png_debug(1, "in png_set_gamma_fixed");

   if (png_rtran_ok(png_ptr, 0) == 0)
      return;

   scrn_gamma = translate_gamma_flags(png_ptr, scrn_gamma, 1/*screen*/);
   file_gamma = translate_gamma_flags(png_ptr, file_gamma, 0/*file*/);

   if (file_gamma <= 0)
      png_error(png_ptr, "invalid file gamma in png_set_gamma");

   if (scrn_gamma <= 0)
      png_error(png_ptr, "invalid screen gamma in png_set_gamma");

   png_ptr->colorspace.gamma = file_gamma;
   png_ptr->colorspace.flags |= PNG_COLORSPACE_HAVE_GAMMA;
   png_ptr->screen_gamma = scrn_gamma;
}
    ...
static int
png_rtran_ok(png_structrp png_ptr, int need_IHDR)
{
   if (png_ptr != NULL)
   {
      if ((png_ptr->flags & PNG_FLAG_ROW_INIT) != 0)
         png_app_error(png_ptr, "invalid after png_start_read_image or png_read_update_info");
      else if (need_IHDR && (png_ptr->mode & PNG_HAVE_IHDR) == 0)
         png_app_error(png_ptr, "invalid before the PNG header has been read");
      else
      {
         png_ptr->flags |= PNG_FLAG_DETECT_UNINITIALIZED;
         return 1; /* Ok */
      }
   }
   return 0; /* no png_error possible! */
}

@honggyukim
Copy link
Collaborator Author

$ uftrace replay --tid 3675 -f addr,module_addr -F gfx::_GLOBAL__N_1::DecodeInfoCallback
#   ADDRESS    MODULE ADDR   FUNCTION
     71fde75f      1c9475f | gfx::_GLOBAL__N_1::DecodeInfoCallback() {
     720268c3      1cdc8c3 |   wk_png_get_io_ptr();
     7202906b      1cdf06b |   wk_png_get_IHDR() {
     720272e1      1cdd2e1 |     wk_png_check_IHDR();
     7202906b      1cdf06b |   } /* wk_png_get_IHDR */
     72028ac7      1cdeac7 |   wk_png_get_valid();
     7202e4eb      1ce44eb |   wk_png_set_gray_to_rgb() {
     7202decb      1ce3ecb |     png_rtran_ok();
     7202decb      1ce3ecb |     png_rtran_ok();
     7202e4eb      1ce44eb |   } /* wk_png_set_gray_to_rgb */
     72028f7b      1cdef7b |   wk_png_get_gAMA();
     7202e42f      1ce442f |   wk_png_set_gamma() {
     7202df1b      1ce3f1b |     convert_gamma_value() {
     71240530       ef6530 |       floor();
     7202df1b      1ce3f1b |     } /* convert_gamma_value */
     7202df1b      1ce3f1b |     convert_gamma_value() {
     71240530       ef6530 |       floor();
     7202df1b      1ce3f1b |     } /* convert_gamma_value */
     7202e357      1ce4357 |     wk_png_set_gamma_fixed() {
     7202decb      1ce3ecb |       png_rtran_ok();
                           |       /* linux:task-exit */

uftrace stopped tracing with remaining functions
================================================
task: 3675
[49] wk_png_set_gamma_fixed
[48] wk_png_set_gamma
[47] gfx::_GLOBAL__N_1::DecodeInfoCallback
[46] wk_png_push_read_chunk
[45] wk_png_process_some_data
[44] wk_png_process_data
[43] gfx::PNGCodec::Decode
...

@honggyukim
Copy link
Collaborator Author

honggyukim commented Apr 9, 2019

01ce434c <wk_png_set_gamma_fixed>:
 1ce434c:       b5f8            push    {r3, r4, r5, r6, r7, lr}
 1ce434e:       af00            add     r7, sp, #0
 1ce4350:       b500            push    {lr}
 1ce4352:       f60c c04c       blx     ef03ec <__gnu_mcount_nc@plt>
 1ce4356:       460d            mov     r5, r1
 1ce4358:       2100            movs    r1, #0
 1ce435a:       4616            mov     r6, r2
 1ce435c:       4604            mov     r4, r0
 1ce435e:       f7ff fdaf       bl      1ce3ec0 <png_rtran_ok>
 1ce4362:       b378            cbz     r0, 1ce43c4 <wk_png_set_gamma_fixed+0x78>
 1ce4364:       f647 1360       movw    r3, #31072      ; 0x7960
 1ce4368:       f6cf 73fe       movt    r3, #65534      ; 0xfffe
 1ce436c:       429d            cmp     r5, r3
 1ce436e:       bf18            it      ne
 1ce4370:       f1b5 3fff       cmpne.w r5, #4294967295 ; 0xffffffff
 1ce4374:       d127            bne.n   1ce43c6 <wk_png_set_gamma_fixed+0x7a>
 1ce4376:       f645 3560       movw    r5, #23392      ; 0x5b60
 1ce437a:       f8d4 31c0       ldr.w   r3, [r4, #448]  ; 0x1c0
 1ce437e:       f2c0 0503       movt    r5, #3
 1ce4382:       f443 5380       orr.w   r3, r3, #4096   ; 0x1000
 1ce4386:       f8c4 31c0       str.w   r3, [r4, #448]  ; 0x1c0
 1ce438a:       f647 1360       movw    r3, #31072      ; 0x7960
 1ce438e:       f6cf 73fe       movt    r3, #65534      ; 0xfffe
 1ce4392:       429e            cmp     r6, r3
 1ce4394:       bf18            it      ne
 1ce4396:       f1b6 3fff       cmpne.w r6, #4294967295 ; 0xffffffff
 1ce439a:       d123            bne.n   1ce43e4 <wk_png_set_gamma_fixed+0x98>
 1ce439c:       f24b 168f       movw    r6, #45455      ; 0xb18f
 1ce43a0:       f8d4 31c0       ldr.w   r3, [r4, #448]  ; 0x1c0
 1ce43a4:       f443 5380       orr.w   r3, r3, #4096   ; 0x1000
 1ce43a8:       f8c4 31c0       str.w   r3, [r4, #448]  ; 0x1c0
 1ce43ac:       2d00            cmp     r5, #0

 1ce43ae:       dd2e            ble.n   1ce440e <wk_png_set_gamma_fixed+0xc2>

 1ce43b0:       f8b4 340e       ldrh.w  r3, [r4, #1038] ; 0x40e
 1ce43b4:       f8c4 63c4       str.w   r6, [r4, #964]  ; 0x3c4
 1ce43b8:       f043 0301       orr.w   r3, r3, #1
 1ce43bc:       f8c4 52cc       str.w   r5, [r4, #716]  ; 0x2cc
 1ce43c0:       f8a4 340e       strh.w  r3, [r4, #1038] ; 0x40e
 1ce43c4:       bdf8            pop     {r3, r4, r5, r6, r7, pc}
 1ce43c6:       f643 42b0       movw    r2, #15536      ; 0x3cb0
 1ce43ca:       f245 03ac       movw    r3, #20652      ; 0x50ac
 1ce43ce:       f6cf 72ff       movt    r2, #65535      ; 0xffff
 1ce43d2:       f115 0f02       cmn.w   r5, #2
 1ce43d6:       bf18            it      ne
 1ce43d8:       4295            cmpne   r5, r2
 1ce43da:       f2c0 0302       movt    r3, #2
 1ce43de:       bf08            it      eq
 1ce43e0:       461d            moveq   r5, r3
 1ce43e2:       e7d2            b.n     1ce438a <wk_png_set_gamma_fixed+0x3e>
 1ce43e4:       f643 43b0       movw    r3, #15536      ; 0x3cb0
 1ce43e8:       f6cf 73ff       movt    r3, #65535      ; 0xffff
 1ce43ec:       f116 0f02       cmn.w   r6, #2
 1ce43f0:       bf18            it      ne
 1ce43f2:       429e            cmpne   r6, r3
 1ce43f4:       bf04            itt     eq
 1ce43f6:       f240 1675       movweq  r6, #373        ; 0x175
 1ce43fa:       f2c0 0601       movteq  r6, #1
 1ce43fe:       d0d5            beq.n   1ce43ac <wk_png_set_gamma_fixed+0x60>
 1ce4400:       2e00            cmp     r6, #0
 1ce4402:       dcd3            bgt.n   1ce43ac <wk_png_set_gamma_fixed+0x60>
 1ce4404:       4904            ldr     r1, [pc, #16]   ; (1ce4418 <wk_png_set_gamma_fixed+0xcc>)
 1ce4406:       4620            mov     r0, r4
 1ce4408:       4479            add     r1, pc
 1ce440a:       f7fa f99f       bl      1cde74c <wk_png_error>
 1ce440e:       4903            ldr     r1, [pc, #12]   ; (1ce441c <wk_png_set_gamma_fixed+0xd0>)
 1ce4410:       4620            mov     r0, r4
 1ce4412:       4479            add     r1, pc
 1ce4414:       f7fa f99a       bl      1cde74c <wk_png_error>

 1ce4418:       03f97d08        .word   0x03f97d08
 1ce441c:       03f97d22        .word   0x03f97d22

@honggyukim
Copy link
Collaborator Author

After trying to use --debug-domain mcount:3 --debug-domain plthook:3, it is crashed as follows:

terminate called after throwing an instance of 'std::bad_alloc'
terminate called recursively
process crashed by signal 6: Aborted (si_code: -6)
Backtrace from uftrace:
=====================================
[15] (abort[70175f98] <= __gnu_cxx::__verbose_terminate_handler[7017e7a9])
[14] (std::terminate[70175cc8] <= plthook_return[76ef3320])
[13] (std::__throw_bad_alloc[711e3920] <= plthook_return[76ef3320])
[12] (std::__detail::_Hashtable_alloc::_M_allocate_buckets[7138299b] <= std::_Hashtable::_M_rehash[7187dfab])
[11] (std::_Hashtable::_M_rehash[7187df8d] <= std::_Hashtable::_M_insert_unique_node[7187e065])
[10] (std::_Hashtable::_M_insert_unique_node[7187e037] <= std::__detail::_Map_base::operator[][7187e13b])
[9] (std::__detail::_Map_base::operator[][7187e0e9] <= base::PathService::Get[7189e88b])
[8] (base::PathService::Get[7189e6f3] <= base::PathProvider[718728bd])
[7] (base::PathProvider[718727d7] <= base::PathService::Get[7189e83f])
[6] (base::PathService::Get[7189e6f3] <= plthook_return[76ef3320])
[5] (base::PathService::Get[711e3548] <= extensions::ShellMainDelegate::BasicStartupComplete[71686797])
[4] (extensions::ShellMainDelegate::BasicStartupComplete[71686773] <= content::ContentMainRunnerImpl::Initialize[7168539f])
[3] (content::ContentMainRunnerImpl::Initialize[716852ff] <= content::ContentMain[71684d57])
[2] (content::ContentMain[71684d47] <= plthook_return[76ef3320])
[1] (content::ContentMain[4ddf4] <= main[4ea83])
[0] (main[4ea59] <= __libc_start_main[6ff4a680])
child terminated by signal: 11: Segmentation fault

@honggyukim
Copy link
Collaborator Author

It looks normal until std::_Hashtable::_M_rehash tries to allocates memory, but it shows plthook_return, then it throws std::__throw_bad_alloc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant