[Pkg-lyx-devel] External boost, performance problems and a sefault [was: Re: svn commit: r331 -]

Sven Hoexter sven at timegate.de
Tue Jul 10 22:07:41 UTC 2007


On Sat, Jun 23, 2007 at 12:26:54PM +0200, Georg Baum wrote:
Hi,

> If it did then the debian packages of boost are compiled with strange 
> settings, since the internal boost is an unmodified subset of 1.34.0 and 
> compiled with standard settings.
well after some more try&error runs there seem to be still problems related
to use of the Debian boost package.
When I compile the current trunk without the internal boost I'll end up
with an unusable binary that segfaults.

...
open("/etc/passwd", O_RDONLY)           = 14
fcntl64(14, F_GETFD)                    = 0
fcntl64(14, F_SETFD, FD_CLOEXEC)        = 0
_llseek(14, 0, [0], SEEK_CUR)           = 0
fstat64(14, {st_mode=S_IFREG|0644, st_size=1823, ...}) = 0
mmap2(NULL, 1823, PROT_READ, MAP_SHARED, 14, 0) = 0xb5fff000
_llseek(14, 1823, [1823], SEEK_SET)     = 0
munmap(0xb5fff000, 1823)                = 0
close(14)                               = 0
write(12, "\1\f\1\0\7\0\0\0\1\0\0\0\240a\5\267\6\0\0\0UserIDm\0\270"..., 64) = 64
write(12, "\1\f\1\0\23\0\0\0\1\0\0\0Pa\5\267\16\0\0\0RestartComma"..., 160) = 160
write(12, "\1\r\1\0\4\0\0\0\1\0\0\0Pa\5\267\16\0\0\0DiscardComma"..., 40) = 40
write(12, "\1\f\1\0\10\0\0\0\1\0\0\0Pa\5\267\20\0\0\0RestartStyle"..., 72) = 72
write(12, "\1\10\1\0\0\0\0\0", 8)       = 8
clock_gettime(CLOCK_MONOTONIC, {20465, 869314953}) = 0
write(8, "\0", 1)                       = 1
write(8, "\0", 1)                       = 1
write(8, "\0", 1)                       = 1
write(8, "\0", 1)                       = 1
write(8, "\0", 1)                       = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
futex(0xb716fbcc, FUTEX_WAIT, 2, NULL     

That binary was build with ./autogen.sh && patch -p1 < boost-mt &&
./configure --without-included-boost && make
 
> But Sven is not the only one who sees that slowness, IIRC it has been 
> reported on the users list, too. I fear that the quality of 1.5.0 will not 
> be that good. See e.g. here http://wiki.lyx.org/Devel/BuglistsForLyX150 
> (and some more major bugs that don't have the 1.5.0 target).
> It might be wise to wait a bit before replacing 1.4.4 in debian.
A few hours ago I've build trunk with a simple ./configure && make and I've
got a very fast and working binary. So it seems that at least the speed
problems are related to one of the configure flags (assertions maybe).

My free time is very limited ATM so I've not that much time for try&error
sessions which could be helpfull to work around some new problems in 1.5
before the final release. :(


Cheers,
Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]



More information about the Pkg-lyx-devel mailing list