Author Topic: beta6: NULL pointer dereference on 64-bit windows  (Read 2478 times)

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
beta6: NULL pointer dereference on 64-bit windows
« on: October 16, 2014, 01:10:16 PM »
Hi!

Opened a workspace for the first time in v19 beta 6 (64-bit windows build) and it started the background tagging.  I used the workspace last week in v18. While jumping around the code, thread #1 crashes with the following registers and stack. The messsage field shows "Tagging (677 remanining): \\path\to\confidential\source\file".

0:001> r
rax=000000005dea4248 rbx=0000000000000000 rcx=000000000f97a470
rdx=0000000000000000 rsi=000000000f97a4b8 rdi=000000000eb5fad8
rip=000000005dd24e75 rsp=000000000eb5f420 rbp=0000000000000000
 r8=0000000000000000  r9=00000000129ead10 r10=00000000129eab80
r11=000000000eb5f980 r12=0000000000000000 r13=000000000eb5fad8
r14=00000000129ead08 r15=00000000129ead10
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010244
vsapi!vsFileDelTree+0x31b35:
00000000`5dd24e75 488b5238        mov     rdx,qword ptr [rdx+38h] ds:00000000`00000038=? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

0:001> k
Child-SP          RetAddr           Call Site
00000000`0eb5f420 00000000`5dd353f4 vsapi!vsFileDelTree+0x31b35
00000000`0eb5f900 00000000`5dd358b2 vsapi!vsFileDelTree+0x420b4
00000000`0eb5f9a0 00000000`5dcdfe70 vsapi!vsFileDelTree+0x42572
00000000`0eb5faa0 00000000`5dc3518b vsapi!vsStrTranslate+0x27770
00000000`0eb5fb10 00000000`5aa36a82 vsapi!vsFileLoad+0x2b
00000000`0eb5fb60 00000000`5aa426dd tagsdb!tag_restart_async_tagging+0xd82
00000000`0eb5fba0 00000000`5aace4b8 tagsdb!slickedit::SEListTagsTarget::doGenericListTags+0x83d
00000000`0eb5fc70 00007ff9`292e16ad tagsdb!cmEnv::operator=+0x668
00000000`0eb5fca0 00007ff9`29cd34a5 KERNEL32!BaseThreadInitThunk+0xd
00000000`0eb5fcd0 00000000`00000000 ntdll!RtlUserThreadStart+0x1d
0:001> lmm vsapi
start             end                 module name
00000000`5da50000 00000000`5e692000   vsapi      (export symbols)       C:\Program Files\SlickEditV19.0.0 x64 Beta6\win\vsapi.dll
0:001> lmm tagsdb
start             end                 module name
00000000`5aa30000 00000000`5b075000   tagsdb   C (export symbols)       C:\Program Files\SlickEditV19.0.0 x64 Beta6\win\tagsdb.dll


I have saved a dump file, but due to the confidential nature of the workspace I cannot share it. Of course, I'll do my best to dig out any information you wish from the dump.

Kind Regards,
 bird.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: beta6: NULL pointer dereference on 64-bit windows
« Reply #1 on: October 16, 2014, 01:20:01 PM »
What kind of files are being tagged in the workspace, C/C++ or some other language?  And are the files on a network or remote share?  Would there be a zip or jar file in the project?
« Last Edit: October 16, 2014, 01:22:31 PM by Lee »

os2bird

  • Senior Community Member
  • Posts: 114
  • Hero Points: 13
Re: beta6: NULL pointer dereference on 64-bit windows
« Reply #2 on: October 16, 2014, 01:39:38 PM »
Mostly C with some C++, assembly (masm) and resource files. No jar files, but a handful of zip files are present in the project file.
Yes, the files are on a remote share (freebsd samba server, zfs volume).
-bird

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: beta6: NULL pointer dereference on 64-bit windows
« Reply #3 on: October 17, 2014, 11:03:04 AM »
So this was only a one time crash, it's not repeatable?  That location is definitely doing something with a zip file, but I am not sure exactly the circumstance that is causing the crash there.  If it is repeatable or happens again let me know.