Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 01:49:52 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        =?windows-1252?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing Sublime Text3 on FreeBSD-10.1-i386
Message-ID:  <BLU436-SMTP103757F6D1A27EB5A311247F64B0@phx.gbl>
In-Reply-To: <alpine.BSF.2.11.1501200854410.1375@mail.fig.ol.no>
References:  <mailman.60.1421409601.72162.freebsd-questions@freebsd.org> <BLU436-SMTP220A1C5AFBDA897CC34F219F64F0@phx.gbl> <alpine.BSF.2.11.1501161358150.1375@mail.fig.ol.no> <BLU436-SMTP241E8B0E36F939AF55134ACF64A0@phx.gbl> <BLU437-SMTP67483E5139C4CE03ED2381F64A0@phx.gbl> <alpine.BSF.2.11.1501200854410.1375@mail.fig.ol.no>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> If it exits without telling you what's wrong, the check the log files
> to see if it has written anything there. If sublime still hold its
> tongue, then this is an example of bad programming.
>
> Running "truss `which sublime`" might give you a hint of what's going
> on.
>
> Personally, I prefer builing my own ports, but that's an entirely
> different discussion.


Hi Trond,

Things not looking good. sublime exits immediately, with no message in 
/var/log/messages or dmesg.today

Running it under truss gives the following :

linux_brk(0x0,0x28136fc4,0x0,0x8048034,0x8,0x6)	 = 135405568 (0x8122000)
linux_newuname(0xbfbfd5e6,0x31c,0x28136fc4,0x281378f8,0x39,0x6) = 0 (0x0)
linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 672366592 (0x28138000)
linux_access("/etc/ld.so.preload",4)		 ERR#2 'No such file or directory'
linux_open("/etc/ld.so.cache",0x0,00)		 = 3 (0x3)
linux_fstat64(0x3,0xbfbfd2c0,0x28136fc4,0x28137880,0x3,0x6) = 0 (0x0)
linux_mmap2(0x0,0x2fa0,0x1,0x2,0x3,0x6)		 = 672370688 (0x28139000)
close(3)					 = 0 (0x0)
linux_open("/lib/libtinfo.so.5",0x0,036)	 = 3 (0x3)
read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200)
linux_fstat64(0x3,0xbfbfd308,0x28136fc4,0x2813ac1a,0x8053b9d,0x6) = 0 (0x0)
linux_mmap2(0x0,0x18c98,0x5,0x802,0x3,0x6)	 = 672382976 (0x2813c000)
linux_mmap2(0x28152000,0x3000,0x3,0x812,0x3,0x6) = 672473088 (0x28152000)
close(3)					 = 0 (0x0)
linux_open("/lib/libdl.so.2",0x0,0155)		 = 3 (0x3)
read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200)
linux_fstat64(0x3,0xbfbfd2ec,0x28136fc4,0x2813b862,0x8053c04,0x6) = 0 (0x0)
linux_mmap2(0x0,0x4074,0x5,0x802,0x3,0x6)	 = 672485376 (0x28155000)
linux_mmap2(0x28158000,0x2000,0x3,0x812,0x3,0x6) = 672497664 (0x28158000)
close(3)					 = 0 (0x0)
linux_open("/lib/libc.so.6",0x0,0170)		 = 3 (0x3)
read(3,"\^?ELF\^A\^A\^A\^C\0\0\0\0\0\0\0"...,512) = 512 (0x200)
linux_fstat64(0x3,0xbfbfd2d0,0x28136fc4,0x2813b9ab,0x8053c2c,0x6) = 0 (0x0)
linux_mmap2(0x0,0x1959ac,0x5,0x802,0x3,0x6)	 = 672505856 (0x2815a000)
linux_mmap2(0x282ea000,0x3000,0x3,0x812,0x3,0x6) = 674144256 (0x282ea000)
linux_mmap2(0x282ed000,0x29ac,0x3,0x32,0xffffffff,0x6) = 674156544 
(0x282ed000)
close(3)					 = 0 (0x0)
linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 674168832 (0x282f0000)
linux_set_thread_area(0xbfbfd79c,0x28136fc4,0x282f06c0,0x0,0x0,0x6) = 0 
(0x0)
linux_mprotect(0x282ea000,0x2000,0x1,0x28138560,0x0,0x6) = 0 (0x0)
linux_mprotect(0x28158000,0x1000,0x1,0x281382c8,0x0,0x6) = 0 (0x0)
linux_mprotect(0x28136000,0x1000,0x1,0x2813751c,0x0,0x6) = 0 (0x0)
munmap(0x28139000,12192)			 = 0 (0x0)
linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_open("/dev/tty",0x8802,00)		 = 3 (0x3)
close(3)					 = 0 (0x0)
linux_brk(0x0,0x282ebff4,0x0,0x0,0x21000,0x6)	 = 135405568 (0x8122000)
linux_brk(0x8143000,0x282ebff4,0x8143000,0x8122000,0x8143000,0x6) = 
135540736 (0x8143000)
linux_open("/usr/lib/locale/locale-archive",0x8000,01) = 3 (0x3)
linux_fstat64(0x3,0x282ecb00,0x282ebff4,0xbfbfd530,0x0,0x6) = 0 (0x0)
linux_mmap2(0x0,0x200000,0x1,0x2,0x3,0x6)	 = 674172928 (0x282f1000)
linux_mmap2(0x0,0x11f000,0x1,0x2,0x3,0x6)	 = 676270080 (0x284f1000)
linux_mmap2(0x0,0x1000,0x1,0x2,0x3,0x6)		 = 672370688 (0x28139000)
close(3)					 = 0 (0x0)
linux_getuid(0x282ebff4,0x0,0x282b0526,0x0,0x0,0x6) = 1001 (0x3e9)
linux_getgid(0x3e9,0x0,0x282b0526,0x0,0x0,0x6)	 = 1001 (0x3e9)
geteuid()					 = 1001 (0x3e9)
getegid()					 = 1001 (0x3e9)
linux_rt_sigprocmask(0x0,0x0,0x8120b1c,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_time(0x0,0xbfbfdacc,0x0,0x0,0x0,0x6)	 = 1421784797 (0x54beb6dd)
linux_open("/proc/meminfo",0x80000,0666)	 = 3 (0x3)
linux_fstat64(0x3,0xbfbfb49c,0x282ebff4,0x8122aa8,0x1fff,0x6) = 0 (0x0)
linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 672374784 (0x2813a000)
read(3,"\t     total:    used:\tfree:  s"...,4096) = 297 (0x129)
close(3)					 = 0 (0x0)
munmap(0x2813a000,4096)				 = 0 (0x0)
linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x2,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x2,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0x0,0x8121240,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_newuname(0xbfbfd5b6,0x0,0x282ebff4,0xff,0x0,0x6) = 0 (0x0)
linux_stat64("/usr/home/bourne",0xbfbfd640,0xbfbfd640) = 0 (0x0)
linux_stat64(".",0xbfbfd5e0,0xbfbfd5e0)		 = 0 (0x0)
linux_getpid(0x8124750,0x5f,0x0,0x0,0x0,0x6)	 = 1437 (0x59d)
linux_open("/usr/lib/gconv/gconv-modules.cache",0x0,00) = 3 (0x3)
linux_fstat64(0x3,0xbfbfd4ac,0x282ebff4,0x3,0x282b023f,0x6) = 0 (0x0)
close(3)					 = 0 (0x0)
linux_open("/usr/lib/gconv/gconv-modules",0x0,0666) = 3 (0x3)
linux_fstat64(0x3,0xbfbfd3e0,0x282ebff4,0x8124958,0x0,0x6) = 0 (0x0)
linux_mmap2(0x0,0x8000,0x3,0x22,0xffffffff,0x6)	 = 677445632 (0x28610000)
read(3,"# GNU libc iconv configuration."...,32768) = 32768 (0x8000)
read(3,"JAPANESE//\tEUC-JP//\nalias\tOSF"...,32768) = 23335 (0x5b27)
read(3,0x28610000,32768)			 = 0 (0x0)
close(3)					 = 0 (0x0)
munmap(0x28610000,32768)			 = 0 (0x0)
linux_getppid(0x8124750,0x0,0x1,0x0,0x0,0x6)	 = 1436 (0x59c)
gettimeofday({1421784797.882516 },0x0)		 = 0 (0x0)
getpgrp()					 = 1436 (0x59c)
linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_getrlimit(0x6,0xbfbfd6ac,0x282ebff4,0x1,0x0,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_open("/usr/local/bin/sublime",0x8000,00)	 = 3 (0x3)
linux_ioctl(0x3,0x5401,0xbfbfd6f8,0xbfbfd738,0x282ebff4,0x6) ERR#25 
'Inappropriate ioctl for device'
linux_llseek(0x3,0x0,0x0,0xbfbfd760,0x1,0x6)	 = 0 (0x0)
read(3,"#!/compat/linux/bin/sh\n/usr/loc"...,80) = 64 (0x40)
linux_llseek(0x3,0x0,0x0,0xbfbfd760,0x0,0x6)	 = 0 (0x0)
linux_getrlimit(0x7,0xbfbfd72c,0x282ebff4,0x813ede0,0x3,0x6) = 0 (0x0)
linux_fcntl64(0xff,0x1,0xbfbfd75c,0xbfbfd75c,0x282ebff4,0x6) ERR#9 'Bad 
file descriptor'
dup2(0x3,0xff,0xff,0xbfbfd75c,0x3,0x6)		 = 255 (0xff)
close(3)					 = 0 (0x0)
linux_fcntl64(0xff,0x2,0x1,0x813ede0,0x282ebff4,0x6) = 0 (0x0)
linux_fcntl64(0xff,0x3,0x0,0x0,0x282ebff4,0x6)	 = 0 (0x0)
linux_fstat64(0xff,0xbfbfd7d0,0x282ebff4,0x0,0x0,0x6) = 0 (0x0)
linux_llseek(0xff,0x0,0x0,0xbfbfd790,0x1,0x6)	 = 0 (0x0)
linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
read(255,"#!/compat/linux/bin/sh\n/usr/loc"...,64) = 64 (0x40)
linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0xbfbfd658,0xbfbfd5d8,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_clone(0x1200011,0x0,0x0,0x0,0x282f0728,0x6) = 1438 (0x59e)
linux_rt_sigprocmask(0x2,0xbfbfd5d8,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0xbfbfd6e0,0xbfbfd660,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x2,0xbfbfd660,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0xbfbfd6e0,0xbfbfd660,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x2,0xbfbfd450,0xbfbfd3c4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_waitpid(0xffffffff,0xbfbfd61c,0x0,0x0,0x0,0x6) = 1438 (0x59e)
linux_rt_sigprocmask(0x2,0xbfbfd660,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x2,0xbfbfd430,0xbfbfd3a4,0x8,0x282ebff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
read(255,0x813ee68,64)				 = 0 (0x0)
process exit, rval = 0


Thanks and Regards,
Manish Jain



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?BLU436-SMTP103757F6D1A27EB5A311247F64B0>