Author Topic: v21 hang on xubuntu 16.04  (Read 788 times)

IkerAriz

  • Senior Community Member
  • Posts: 148
  • Hero Points: 6
v21 hang on xubuntu 16.04
« on: August 25, 2016, 09:38:09 pm »
Hello all,

Getting periodic hangs on xubuntu 16.04 with one vs process pegging the CPU. Missed the chance to get a stack dump (which only occurred to me right after I killed vs) but I did get the output of "perf top" for that process:

Code: [Select]
  15.22%  libpthread-2.23.so  [.] pthread_mutex_lock                                                                                                             
  14.47%  libpthread-2.23.so  [.] pthread_mutex_unlock                                                                                                           
   4.55%  vs_exe              [.] cmAllocator::deallocate
   3.41%  vs_exe              [.] cmAllocator::allocate
   3.19%  vs_exe              [.] run_proc
   3.14%  vs_exe              [.] sireduceexpstack
   2.70%  vs_exe              [.] pcompare_op
   2.49%  vs_exe              [.] readpvar
   2.14%  vs_exe              [.] ppushref_op
   2.14%  vs_exe              [.] cmAllocator::allocateSegmentFromFreeList
   1.98%  vs_exe              [.] siadd
   1.48%  vs_exe              [.] tlgeti64
   1.48%  vs_exe              [.] hsireplaceb
   1.46%  vs_exe              [.] hsirealloclstr
   1.22%  vs_exe              [.] hsifree
   1.20%  vs_exe              [.] pushint
   1.17%  vs_exe              [.] popvar
   1.16%  libc-2.23.so        [.] __memmove_avx_unaligned
   1.14%  vs_exe              [.] call_proc_or_command
   1.11%  vs_exe              [.] cmAllocator::addSegmentToFreeList
   1.10%  vs_exe              [.] cmStrFindEngine::initFindTables
   1.05%  vs_exe              [.] sival
   0.98%  vs_exe              [.] cmStrFindEngine::findStrCaseSensitive
   0.91%  vs_exe              [.] cmAllocator::splitSegment
   0.91%  vs_exe              [.] ppushbytevnumref_op
   0.88%  vs_exe              [.] ppushs_op
   0.66%  vs_exe              [.] poplstr2
   0.65%  libX11.so.6.3.0     [.] XKeysymToKeycode
   0.65%  vs_exe              [.] bval64
   0.64%  vs_exe              [.] tlgetlstr
   0.60%  vs_exe              [.] xxreturn
   0.59%  vs_exe              [.] pthread_mutex_unlock@plt
   0.57%  vs_exe              [.] pthread_mutex_lock@plt
   0.53%  vs_exe              [.] pconcat_op
   0.51%  vs_exe              [.] passign_op
   0.45%  vs_exe              [.] readbytepvar
   0.43%  vs_exe              [.] verify_dbcs
   0.42%  vs_exe              [.] kb_break
   0.42%  vs_exe              [.] pushbstring
   0.41%  vs_exe              [.] typelessval
   0.38%  vs_exe              [.] decode_lstr

Regards,
Iker

IkerAriz

  • Senior Community Member
  • Posts: 148
  • Hero Points: 6
Re: v21 hang on xubuntu 16.04
« Reply #1 on: August 25, 2016, 09:51:12 pm »
Hit it again. Unfortunately by install of gdb is misbehaving so no stack trace. However, I can reproduce the issue. The file I'm working on has this line:

Code: [Select]
self.trace.oam("metrics", "cgi-response | status: %s | size: %s | ctype: %s | exec_t: %.3f | rc: %s" % (status, len(body), ctype, exec_t, rc))

Hovering over the "rc" at the end causes the hang every time. Clicking or hovering anywhere else is OK. If I change the "rc" to "prc" the problem goes away. If I change it back to "rc" and hover... hang :)

Iker

           

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4929
  • Hero Points: 402
Re: v21 hang on xubuntu 16.04
« Reply #2 on: August 25, 2016, 10:01:08 pm »
This is fixed in beta 4