Re: Assertion when leaving LyX

2007-07-19 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote:
> > Thanks for pointing this out, but
> > it does make a change.
>
> I meant it does not make a change, sorry

Yes, I thought so.

Jürgen


Re: Assertion when leaving LyX

2007-07-19 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes:

> > 
> > you have to use --with-qt4-dir
> 
> Thanks for pointing this out, but
> it does make a change.
> 
I meant it does not make a change, sorry

-- 
Jean-Pierre






Re: Assertion when leaving LyX

2007-07-18 Thread Jean-Pierre Chrétien
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:

> 
> Jean-Pierre Chrétien wrote:
> > Here are the conditions:
> >
> > env LD_OPTIONS=-R/usr/local/lib ./configure \
> > --with-version-suffix=-$VERS \
> > --with-frontend=qt4 --with-qt-dir=/usr/local/qt-4.2.1 \
> 
> you have to use --with-qt4-dir

Thanks for pointing this out, but
it does make a change.

-- 
Jean-Pierre




Re: Assertion when leaving LyX

2007-07-18 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote:
> Here are the conditions:
>
> env LD_OPTIONS=-R/usr/local/lib ./configure \
> --with-version-suffix=-$VERS \
> --with-frontend=qt4 --with-qt-dir=/usr/local/qt-4.2.1 \

you have to use --with-qt4-dir

Jürgen


Re: Assertion when leaving LyX

2007-07-18 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes:

> 
> Abdelrazak Younes  ...> writes:
> [...]
> > 
> > We need the full context to help you. Please recompile
> > in debug mode and 
> > send us the full backtrace.
[...]
> 
> That's all what I get 

With this problem, I can't use lyx in production.
1.5.0rc2 does not have the crash, but a popup opens informing
the user about the impossibility to remove the temporary dir.

This seems related to gcc 3, should I upgrade (or create
a location for) gcc 4 ?

-- 
Jean-Pierre






Re: Assertion when leaving LyX

2007-07-16 Thread Jean-Pierre Chrétien
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
[...]
> 
> We need the full context to help you. Please recompile
> in debug mode and 
> send us the full backtrace.

Here are the conditions:

env LD_OPTIONS=-R/usr/local/lib ./configure \
--with-version-suffix=-$VERS \
--with-frontend=qt4 --with-qt-dir=/usr/local/qt-4.2.1 \
--with-extra-lib=/usr/local/qt-4.2.1/lib --enable-debug \
--enable-stdlib-debug && make && make install

Debug (File-Close triggers the bug)

-> gdb /usr/local/bin/lyx-svn
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, 
and you are welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. 
Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run /tmp/test.lyx
Starting program: /usr/local/bin/lyx-svn /tmp/test.lyx
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
Assertion failed: __pos < size(), file
/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.6/../../../../\
include/c++/3.4.6/bits/basic_string.h,
line 643

Program received signal SIGABRT, Aborted.
0xfdf592f0 in __sigprocmask () from /usr/lib/libthread.so.1
(gdb) bt
#0  0xfdf592f0 in __sigprocmask () from /usr/lib/libthread.so.1
#1  0xfdf4e59c in _resetsig () from /usr/lib/libthread.so.1
#2  0xfdf4dd3c in _sigon () from /usr/lib/libthread.so.1
#3  0xfdf50d98 in _thrp_kill () from /usr/lib/libthread.so.1

That's all what I get :-(

TIA

-- 
Jean-Pierre






Re: Assertion when leaving LyX

2007-07-16 Thread Abdelrazak Younes

Jean-Pierre Chrétien wrote:

Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes:



Solaris again, here is what I get when I leave LyX. Not much boring, but...

  ^^^
Perfectly boring, sorry: happens when I close a doc (an thus when I revert to
saved version), when I copy a formula, etc.

The context  in usr/local/lib/gcc/.../include/c++/3.4.6/bits/basic_string.h
is the following
  operator[](size_type __pos)
  {
_GLIBCXX_DEBUG_ASSERT(__pos < size());
_M_leak();
return _M_data()[__pos];
  }


We need the full context to help you. Please recompile in debug mode and 
send us the full backtrace.




Related to the tex2lyx segfault ?
http://article.gmane.org/gmane.editors.lyx.devel/89984


Probably not.



Re: Assertion when leaving LyX

2007-07-16 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes:

> 
> 
> Solaris again, here is what I get when I leave LyX. Not much boring, but...
  ^^^
Perfectly boring, sorry: happens when I close a doc (an thus when I revert to
saved version), when I copy a formula, etc.

The context  in usr/local/lib/gcc/.../include/c++/3.4.6/bits/basic_string.h
is the following
  operator[](size_type __pos)
  {
_GLIBCXX_DEBUG_ASSERT(__pos < size());
_M_leak();
return _M_data()[__pos];
  }

Related to the tex2lyx segfault ?
http://article.gmane.org/gmane.editors.lyx.devel/89984

-- 
Jean-Pierre