SlickEdit Community

Archived Read Only Forums => SlickEdit 2016 v21 Beta Discussion => Topic started by: b on July 18, 2016, 04:38:17 pm

Title: Installation Failure
Post by: b on July 18, 2016, 04:38:17 pm
Tried this morning to install the new beta (Ubuntu 14.04 x86_64) and got a stack dump when it launched the license manager:

[Edit]
After trying to finish the installation, it now just gives me a fault:
bjkurlex@bullwinkle ~ $ vs -sc foo
Segmentation fault (core dumped)
Title: Re: Installation Failure
Post by: Mike on July 18, 2016, 09:28:31 pm
We want to get this working, and it will help if we can test it locally with your configuration files.

Please compress your configuration directory for v20.0.3, so we can try migrating it to v21 beta.
(We just need the files, not the subdirectories.)

The compression command should be something like:  tar -czf ubuntu-config.tar.gz .slickedit/20.0.3

Then please go to the following URL and enter 13509 (community topic id) for the case number -> http://support.slickedit.com
and choose the ubuntu-config.tar.gz to upload. Once it is uploaded, please reply to this message and let us know.
Title: Re: Installation Failure
Post by: b on July 18, 2016, 09:43:19 pm
Done.
Title: Re: Installation Failure
Post by: Clark on July 18, 2016, 10:29:05 pm
I'm not reproducing all the problems your seeing. What I am seeing is that when the license manager dialog is run by the installation program, the upgrade of your configuration isn't done correctly (end up not in VI emulation).

Here's what I did to work around the problem:

cd ~/.slickedit
rm -rf 21.0.0

Now start SlickEdit as you normally would (don't run vsinst). Even if SlickEdit prompts you for a license file, it should still upgrade your configuration correctly.

This issue should not be a problem on Windows or Mac because there is no "vsinst" program which can potentially upgrade your configuration.

We will fix this. Thanks for the post
Title: Re: Installation Failure
Post by: b on July 19, 2016, 04:40:45 pm
Following your steps, I'm still seeing some nasty slickc stack dumps.

Steps Taken:
(From a working 20.0.3 installation):
cd se_21000002_linux64_beta1
./vsinst
(/home/bjkurlex/slickedit)
Aforementioned scrambled pop ups and slickc stacks encountered.
Get to license menu and cancel.

rm -rf ~/.slickedit/21.0.0
vs &
Now I see the following windows to wade through:

(Forum has a 4 image restriction), but I'll then see that it won't switch to vim emulation, and finally registration, which I enter.

If after this I again remove the 21.0.0 configuration and do this again, it's rinse, repeat on the errors (only the garbage in the pop up error windows appear to change to protect the guilty).

After exiting and restarting, it appears not to further complain, but I'm very leary of trusting it with all the errors encountered.   (Usually I'll blow away both my ~/slickedit and ~/.slickedit directories and restore from backup).
Title: Re: Installation Failure
Post by: Clark on July 19, 2016, 05:12:15 pm
Lets thoroughly check if you can run v21 on your system.

cd to the root of the v21 install directory
Type: bin/vs +new -sc /tmp/config



Title: Re: Installation Failure
Post by: b on July 19, 2016, 05:32:44 pm
bjkurlex@bullwinkle ~/slickedit $ bin/vs +new -sc /tmp/config
Segmentation fault (core dumped)
bjkurlex@bullwinkle ~/slickedit $ rm -rf ~/.slickedit/21.0.0/
bjkurlex@bullwinkle ~/slickedit $ bin/vs +new -sc /tmp/config
Segmentation fault (core dumped)


And just as an afterthought:
bjkurlex@bullwinkle ~/slickedit $ strace bin/vs +new -sc /tmp/config
execve("bin/vs", ["bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = 0
brk(0)                                  = 0x1f4b000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faa40781000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/tls/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/tls", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/bjkurlex/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/tls/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/tls", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/local/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7ffd94ffc620) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92973, ...}) = 0
mmap(NULL, 92973, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7faa4076a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faa4019c000
mprotect(0x7faa40356000, 2097152, PROT_NONE) = 0
mmap(0x7faa40556000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7faa40556000
mmap(0x7faa4055c000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faa4055c000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faa40769000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faa40767000
arch_prctl(ARCH_SET_FS, 0x7faa40767740) = 0
mprotect(0x7faa40556000, 16384, PROT_READ) = 0
mprotect(0x605000, 4096, PROT_READ)     = 0
mprotect(0x7faa40783000, 4096, PROT_READ) = 0
munmap(0x7faa4076a000, 92973)           = 0
brk(0)                                  = 0x1f4b000
brk(0x1f6c000)                          = 0x1f6c000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0
mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7faa3fed3000
close(3)                                = 0
execve("/home/bjkurlex/bin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/sbin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/sbin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/sbin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = -1 ENOENT (No such file or directory)
execve("/bin/sh", ["sh", "bin/vs", "+new", "-sc", "/tmp/config"], [/* 49 vars */]) = 0
brk(0)                                  = 0x55aacced0000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca080ee000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/tls/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/tls", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/bjkurlex/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/tls/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/tls", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/home/bjkurlex/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/bjkurlex/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/local/lib/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7ffdff1b36f0) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92973, ...}) = 0
mmap(NULL, 92973, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fca080d7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0
mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fca07b09000
mprotect(0x7fca07cc3000, 2097152, PROT_NONE) = 0
mmap(0x7fca07ec3000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7fca07ec3000
mmap(0x7fca07ec9000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fca07ec9000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca080d6000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fca080d4000
arch_prctl(ARCH_SET_FS, 0x7fca080d4740) = 0
mprotect(0x7fca07ec3000, 16384, PROT_READ) = 0
mprotect(0x55aacb3f2000, 8192, PROT_READ) = 0
mprotect(0x7fca080f0000, 4096, PROT_READ) = 0
munmap(0x7fca080d7000, 92973)           = 0
getpid()                                = 33763
rt_sigaction(SIGCHLD, {0x55aacb1e9460, ~[RTMIN RT_1], SA_RESTORER, 0x7fca07b3fcb0}, NULL, 8) = 0
geteuid()                               = 1000
brk(0)                                  = 0x55aacced0000
brk(0x55aaccef1000)                     = 0x55aaccef1000
getppid()                               = 33760
stat("/home/bjkurlex/slickedit", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("bin/vs", O_RDONLY)                = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x55aacb1e9460, ~[RTMIN RT_1], SA_RESTORER, 0x7fca07b3fcb0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fca07b3fcb0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fca07b3fcb0}, NULL, 8) = 0
read(10, "#!/usr/bin/env sh\n#-------------"..., 8192) = 1599
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca080d4a10) = 33764
close(4)                                = 0
read(3, "vs\n", 128)                    = 3
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33764, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 33764
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca080d4a10) = 33765
close(4)                                = 0
read(3, "bin\n", 128)                   = 4
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33765, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 33765
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca080d4a10) = 33766
close(4)                                = 0
read(3, "/home/bjkurlex/slickedit/bin\n", 128) = 29
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33766, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 33766
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca080d4a10) = 33767
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 33767
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33767, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn()                          = 33767
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fca080d4a10) = 33768
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 33768
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=33768, si_status=SIGSEGV, si_utime=24, si_stime=4} ---
rt_sigreturn()                          = 33768
write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core dumped)
) = 33
read(10, "", 8192)                      = 0
exit_group(139)                         = ?
+++ exited with 139 +++

Title: Re: Installation Failure
Post by: patrick on July 19, 2016, 06:05:08 pm
I think the strace just caught the bash script - 'vs' is a script that sets up some variables before calling the vs_exe executable.  The "-f" option for strace makes it follow forked processes as well.

Do you have a core file there?  The message says one was dumped, but if you have apport enabled, it may have intercepted the crash, and made it's own report.

If you have the core file, you can get a stack dump of the crash for us by running "gdb ~/slickedit/bin/vs_exe CORE_FILE_PATH", and then type in "bt" and hit return.

If apport is enabled, it generates a report in a large file in /var/crash that  a StackTrace field when it can determine the stacktrace. 
Title: Re: Installation Failure
Post by: Clark on July 19, 2016, 06:14:46 pm
That would be very helpful. At this point, we definitely need more debug info. Is there any possibility you ran out of disk space?
Title: Re: Installation Failure
Post by: b on July 19, 2016, 07:15:22 pm
Well, no, I don't think I ran out of disk space.

Quote
bjkurlex@bullwinkle ~ $ df
Filesystem      1K-blocks      Used  Available Use% Mounted on
udev             32919768         4   32919764   1% /dev
tmpfs             6586224      1980    6584244   1% /run
/dev/sda1       414643184  22982888  370574600   6% /
none                    4         0          4   0% /sys/fs/cgroup
none                 5120         0       5120   0% /run/lock
none             32931100         0   32931100   0% /run/shm
none               102400         0     102400   0% /run/user
/dev/md0       4227181496 483148668 3529281340  13% /raid


 ;D

I'll reinstall again and see if I can generate a core to get to you.   Since I've had to use SE, I usually blow away the installation and restore my original 20.0.3 from backup.   I'll post more if I can get a core file.
Title: Re: Installation Failure
Post by: b on July 19, 2016, 07:39:19 pm
Well, attached is the strace with the -f option.   I'm still trying to figure out apport and how to get it to actually give me the report (or if I just need to get a good old fashion core).
Title: Re: Installation Failure
Post by: b on July 19, 2016, 07:54:07 pm
Okay, finally got a core file.

Quote
Reading symbols from bin/vs_exe...(no debugging symbols found)...done.
[New LWP 46004]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/bjkurlex/slickedit/bin/vs_exe +new -sc /tmp/config'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000069782e in vsLangSetProperty2(VS_LANGUAGE_OPTIONS*, slickedit::SEString const&, slickedit::SEString const&, bool*, int) ()
(gdb) bt
#0  0x000000000069782e in vsLangSetProperty2(VS_LANGUAGE_OPTIONS*, slickedit::SEString const&, slickedit::SEString const&, bool*, int) ()
#1  0x00000000006981f9 in vsLangOptionsSetProperty ()
#2  0x00000000006982da in vsLangSetProperty(char const*, char const*, char const*, bool*, int) ()
#3  0x00000000006983de in scLangSetProperty(char const*, char const*, char const*, int) ()
#4  0x000000000058a062 in call_dllpc(int, int, namelist_t*) ()
#5  0x000000000058bfa2 in run_proc(int) ()
#6  0x0000000000670cef in mac_first_init() ()
#7  0x0000000000677e40 in se_init(VSINIT*) ()
#8  0x0000000000643660 in vsInit ()
#9  0x00000000004e77ec in vmain(int, char**) ()
#10 0x00000000014da8a9 in xmain ()
#11 0x000000000049a1a9 in main ()

I'll squirrel away the core (32MB) if you want it.
Title: Re: Installation Failure
Post by: Clark on July 19, 2016, 08:07:09 pm
We will investigate this further to figure out the next step.
Title: Re: Installation Failure
Post by: Clark on July 19, 2016, 11:33:07 pm
So far all I can tell is that a language specific property is being set (don't know the name of the property or the line it's crashing on). It seems to be crashing in some pretty simple code (not the complex engine it makes calls into).

I have built a debug executable.

Please download http://support.slickedit.com/Outbound/v21-beta1/vs_exe.v21-debug (http://support.slickedit.com/Outbound/v21-beta1/vs_exe.v21-debug)

rename your bin/vs_exe to bin/vs_exe.old

copy vs_exe.v21-debug to bin/vs_exe

rm -rf /tmp/config
run bin/vs +new -sc /tmp/config

Upload the resulting core file

Then please go to the following URL and enter 13509 (community topic id) for the case number -> http://support.slickedit.com (http://support.slickedit.com)
Choose the core to upload.

Once it is uploaded, please reply to this message and let us know.

Thanks for your help!
Title: Re: Installation Failure
Post by: b on July 25, 2016, 05:23:24 pm
Uploaded core.gz
Title: Re: Installation Failure
Post by: Clark on July 25, 2016, 06:42:42 pm
From studying the crash and our code, we have determined that the files in the "plugins" directory are either not there or can't be read.

Missing/can't read the following files for sure:

plugins/com_slickedit.base/language/process/language.process.cfg.xml
plugins/com_slickedit.base/language/process/language.%2AALL_LANGUAGES%2A.cfg.xml

Here are the possibilities we can think as to why this would happen:

* The permissions could be bad so these files can't be read
* Some tar programs can't handle filenames longer than 70 characters. We've only seen this on HPUX and AIX.
* You ran out of disk space

Please check if you can read these files and if they are there

Thanks
Title: Re: Installation Failure
Post by: Clark on July 25, 2016, 07:22:42 pm
Please do this test:

Run SlickEdit 2015 (v20.whatever)
From the SlickEdit command line type:   list <v21-beta1-installdir>/plugins/*.cfg.xml

The above command should created an edit window with a file manager list which includes the files I mentioned above. Assuming the files are there, move the cursor to each of the above files and press the Enter key to open them. If all this works, that means that v21 should be able to find and read these files too.
Title: Re: Installation Failure
Post by: b on July 25, 2016, 09:31:50 pm
I have backups of my ~/.slickedit and ~/slickedit directories.  My ~/.slickedit directory actually contains several past release configs (18.0.1, 19.0.[012], 20.0.[0123]).   I install SE into ~/slickedit, letting the new installation upgrade.

However, as I mentioned, I have backed these directories up before the installation onto another machine with the same structure (cd ~; rsync -aSHP --delete .slickedit slickedit backupmachine:).   I reverse it when I restore my environment back to a working 20.0.3 installation.

To reproduce the SE, from 20.0.3, I execute the following:
cd ~
tar xzvf se_21000002_linux64_beta1.tar.gz
cd se_21000002_linux64_beta1
./vsinst

After getting the previously reported complaints and apparently corrupt error messages, I finally get the installed license and attempt to execute vs +new -sc /tmp/config (as previously noted in this thread).

Neither the prior, nor the upgraded /slickedit/plugins/com_slickedit.base/language directory has a process subdirectory.  But contains the following:

$ ls ~/slickedit/plugins/com_slickedit.base/language/
c/  coffeescript/  cs/  googlego/  java/  lua/  pl/  py/  ruby/  swift/

Moreover, the list ~/slickedit/plugins/*.cfg.xml (via 20.0.3) provides the following output (see attached text file as forum griped about too many characters), which I was able to successfully (and tediously) open all 188 files via the list command/enter with 20.0.3 SE.
Title: Re: Installation Failure
Post by: Clark on July 25, 2016, 10:00:08 pm
Ah..finally figure out the bug. It's too simple.

Right now, installing v21 on top of an existing v20 installation doesn't work at all. We will enhance vsinst to cleanup the plugins directory.

Your plugins directory should only have "com_slickedit.base.zip". Delete the "com_slickedit.base" directory and all it's files ("rm -rf com_slickedit.bat")

Sorry I goofed on my directions. I forgot that our dev setup has source files but installations have the .zip file for better performance.
Title: Re: Installation Failure
Post by: b on July 25, 2016, 10:15:51 pm
WooHoo!  Two (or more) bugs for the price of one.  I'll keep my SE 20.0.3 installation around to test the next beta upgrade that comes out.  :)  Might want to make sure vs_exe doesn't freak out if a directory and a zip file exist at the same time due to an install goes rogue.  ;D

$ rm -rf ~/slickedit/plugins/com_slickedit.base

Now, for the first time I can get SE 21 beta up and running.
Title: Re: Installation Failure
Post by: Clark on July 25, 2016, 10:20:28 pm
We just missed this issue. The installation needs to take care of it. It's supposed to be OK for both to be there UNLESS the source files aren't essentially all the files in the .zip file. When the source is there, we don't bother opening the .zip. We assume it's some sort of development installation. This is part of how plugins are designed.