lyx-1.5.0b3 core dump

2007-05-22 Thread Neal Becker
(gdb) where #0 0x003d932301b5 in raise () from /lib64/libc.so.6 #1 0x003d93231b20 in abort () from /lib64/libc.so.6 #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 #3 0x005383f7 in error_handler (err_sig=11) at LyX.cpp:787 #4 signal handler called #5

Re: lyx-1.5.0b3 core dump

2007-05-22 Thread Abdelrazak Younes
Neal Becker wrote: (gdb) where #0 0x003d932301b5 in raise () from /lib64/libc.so.6 #1 0x003d93231b20 in abort () from /lib64/libc.so.6 #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 #3 0x005383f7 in error_handler (err_sig=11) at LyX.cpp:787 #4 signal handler

Re: lyx-1.5.0b3 core dump

2007-05-22 Thread Neal Becker
Abdelrazak Younes wrote: Neal Becker wrote: (gdb) where #0 0x003d932301b5 in raise () from /lib64/libc.so.6 #1 0x003d93231b20 in abort () from /lib64/libc.so.6 #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 #3 0x005383f7 in error_handler (err_sig=11) at

lyx-1.5.0b3 core dump

2007-05-22 Thread Neal Becker
(gdb) where #0 0x003d932301b5 in raise () from /lib64/libc.so.6 #1 0x003d93231b20 in abort () from /lib64/libc.so.6 #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 #3 0x005383f7 in error_handler (err_sig=11) at LyX.cpp:787 #4 #5 0x005ff90a in

Re: lyx-1.5.0b3 core dump

2007-05-22 Thread Abdelrazak Younes
Neal Becker wrote: (gdb) where #0 0x003d932301b5 in raise () from /lib64/libc.so.6 #1 0x003d93231b20 in abort () from /lib64/libc.so.6 #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 #3 0x005383f7 in error_handler (err_sig=11) at LyX.cpp:787 #4 #5

Re: lyx-1.5.0b3 core dump

2007-05-22 Thread Neal Becker
Abdelrazak Younes wrote: > Neal Becker wrote: >> (gdb) where >> #0 0x003d932301b5 in raise () from /lib64/libc.so.6 >> #1 0x003d93231b20 in abort () from /lib64/libc.so.6 >> #2 0x0092c5e9 in lyx::support::abort () at abort.cpp:25 >> #3 0x005383f7 in error_handler

Lyx 1.4.1 - Core dump on exit; running on Athlon 64

2006-06-28 Thread Dalphin, Mark
: +1-206-265-7951 == Start with: lyx test.lyx Create the new document (dialog box). Type a sentence into the new document. Type Ctrl-S. Type Ctrl-Q. Leads to a core dump. File, test.lyx

Lyx 1.4.1 - Core dump on exit; running on Athlon 64

2006-06-28 Thread Dalphin, Mark
: +1-206-265-7951 == Start with: lyx test.lyx Create the new document (dialog box). Type a sentence into the new document. Type Ctrl-S. Type Ctrl-Q. Leads to a core dump. File, test.lyx

Re: boot errors and core dump on DragonFly

2006-04-15 Thread Lars Gullik Bjønnes
Jeremy C. Reed [EMAIL PROTECTED] writes: | (I have emailed about core dumps on close on NetBSD many times. I am the | package maintainer for NetBSD's lyx. I have provided a patch for this | package so it won't core dump on close. I wish it would be included in | lyx's source.) It seems

Re: boot errors and core dump on DragonFly

2006-04-15 Thread Lars Gullik Bjønnes
"Jeremy C. Reed" <[EMAIL PROTECTED]> writes: | (I have emailed about core dumps on close on NetBSD many times. I am the | package maintainer for NetBSD's lyx. I have provided a patch for this | package so it won't core dump on close. I wish it would be included in | lyx's so

boot errors and core dump on DragonFly

2006-04-14 Thread Jeremy C. Reed
(I have emailed about core dumps on close on NetBSD many times. I am the package maintainer for NetBSD's lyx. I have provided a patch for this package so it won't core dump on close. I wish it would be included in lyx's source.) On DragonFly operating system, there is a core dump when exiting

boot errors and core dump on DragonFly

2006-04-14 Thread Jeremy C. Reed
(I have emailed about core dumps on close on NetBSD many times. I am the package maintainer for NetBSD's lyx. I have provided a patch for this package so it won't core dump on close. I wish it would be included in lyx's source.) On DragonFly operating system, there is a core dump when exiting

Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
. Martin Vermeer advised me to get a core dump on the next occasion that I got a crash. That has been done and the core dump and Martin's comments are included below. All I would add to this is that this was not preceded by the use of the PageUp/Page Down keys and neither was I involved in an Undo

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: All I would add to this is that this was not preceded by the use of the PageUp/Page Down keys and neither was I involved in an Undo operation immediately before the crash to the best of my recollection. It would help a lot if you'd manage to come up with a recipe how to

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
to start lyx preceded with the core dump pre-requisite commands. samar

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
continue to start lyx preceded with the core dump pre-requisite commands. It might help. I tried to read the backtrace but I couldn't make much sense out of it apart from what Martin already mentioned. Did you compile with --enable-stdlib-debug ? That might give some additional information

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: Would it  help if you had more of these reports? In that case, I would continue to start lyx preceded with the core dump pre-requisite commands. It might help. I tried to read the backtrace but I couldn't make much sense out of it apart from what Martin already

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
if you had more of these reports? In that case, I would continue to start lyx preceded with the core dump pre-requisite commands. It might help. I tried to read the backtrace but I couldn't make much sense out of it apart from what Martin already mentioned. Did you compile with --enable-stdlib

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:16, Juergen Spitzmueller wrote: Juergen Spitzmueller wrote: Would it  help if you had more of these reports? In that case, I would continue to start lyx preceded with the core dump pre-requisite commands. It might help. I tried to read the backtrace but I

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: I am quite happy with slowing down the lyx if it helps. Please let me have more specific instructions. Would you like me to compile gdb or something else. The two suggestions are: 1. run lyx -dbg action instead of lyx. If it crashes, the console might have spit out some

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: Let me understand this correctly. Would you like me to do the preparatory work for the core dump and then start lyx with the -dbg option after that? No, I mean without gdb. Just run lyx -dbg action normally. No I dont use preview latex. I dont need to do any significant

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:28, Juergen Spitzmueller wrote: samar j. singh wrote: I am quite happy with slowing down the lyx if it helps. Please let me have more specific instructions. Would you like me to compile gdb or something else. The two suggestions are: 1. run lyx -dbg action

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: Still a bit of confusion. In 2 above  it is compiling lyx that you are talking about, is that correct? yes. Should   I wait for 1.4pre4? you could try the -dbg action thing already with pre3, if you want. Thanks, Jürgen

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:45, Juergen Spitzmueller wrote: samar j. singh wrote: Still a bit of confusion. In 2 above  it is compiling lyx that you are talking about, is that correct? yes. Should   I wait for 1.4pre4? you could try the -dbg action thing already with pre3, if you

Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
. Martin Vermeer advised me to get a core dump on the next occasion that I got a crash. That has been done and the core dump and Martin's comments are included below. All I would add to this is that this was not preceded by the use of the PageUp/Page Down keys and neither was I involved in an Undo

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: > All I would add to this is that this was not preceded by the use of the > PageUp/Page Down keys and neither was I involved in an Undo operation > immediately before the crash to the best of my recollection. It would help a lot if you'd manage to come up with a recipe how

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
these reports? In that case, I would continue to start lyx preceded with the core dump pre-requisite commands. samar

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
orts? In that case, I would > continue to start lyx preceded with the core dump pre-requisite commands. It might help. I tried to read the backtrace but I couldn't make much sense out of it apart from what Martin already mentioned. Did you compile with --enable-stdlib-debug ? That might give some

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > > Would it  help if you had more of these reports? In that case, I would > > continue to start lyx preceded with the core dump pre-requisite commands. > > It might help. I tried to read the backtrace but I couldn't make much sense > out of it a

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
h. It indicates, however, that it might be a new bug (in 1.4) ;-) > > > Would it  help if you had more of these reports? In that case, I would > > continue to start lyx preceded with the core dump pre-requisite commands. > > It might help. I tried to read the backtrace but I couldn'

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:16, Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: > > > Would it  help if you had more of these reports? In that case, I would > > > continue to start lyx preceded with the core dump pre-requisite > > > commands. > >

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: > I am quite happy with slowing down the lyx if it helps. Please let me have > more specific instructions. Would you like me to compile gdb or something > else. The two suggestions are: 1. run "lyx -dbg action" instead of "lyx". If it crashes, the console might have spit

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: > Let me understand this correctly. Would you like me to do the preparatory > work for the core dump and then start lyx with the -dbg option after that? No, I mean without gdb. Just run lyx -dbg action normally. > No I dont use preview latex. I dont need

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:28, Juergen Spitzmueller wrote: > samar j. singh wrote: > > I am quite happy with slowing down the lyx if it helps. Please let me > > have more specific instructions. Would you like me to compile gdb or > > something else. > > The two suggestions are: > 1. run "lyx

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread Juergen Spitzmueller
samar j. singh wrote: > Still a bit of confusion. In 2 above  it is compiling lyx that you are > talking about, is that correct? yes. > Should   I wait for 1.4pre4? you could try the -dbg action thing already with pre3, if you want. Thanks, Jürgen

Re: Crash and Core Dump - Lyx1.4.0pre3

2006-01-30 Thread samar j. singh
On Monday 30 January 2006 23:45, Juergen Spitzmueller wrote: > samar j. singh wrote: > > Still a bit of confusion. In 2 above  it is compiling lyx that you are > > talking about, is that correct? > > yes. > > > Should   I wait for 1.4pre4? > > you could try the -dbg action thing already with pre3,

core dump on lyx exit with qt on NetBSD continues due to Destroying locked mutex

2006-01-18 Thread Jeremy C. Reed
I updated to new lyx release on NetBSD 2.1. I saw my previous patch to workaround the core dump exit issue for NetBSD didn't apply any more, so I didn't patch it. This old patch (now not used) was simply: +/* For some reason it doesn't indicate it is locked on NetBSD + resulting in a Error

core dump on lyx exit with qt on NetBSD continues due to Destroying locked mutex

2006-01-18 Thread Jeremy C. Reed
I updated to new lyx release on NetBSD 2.1. I saw my previous patch to workaround the core dump exit issue for NetBSD didn't apply any more, so I didn't patch it. This old patch (now not used) was simply: +/* For some reason it doesn't indicate it is locked on NetBSD + resulting in a Error

Re: another core dump

2004-02-11 Thread Andre Poenitz
On Sat, Feb 07, 2004 at 11:59:56AM -0700, David Raymond wrote: Lyx just dumped core again while I was working in an offset equation. Here is a backtrace. What version of LyX is that? [Well, in any case, chances for undo related crashs in anything but the current (not-to-be-used...) 1.4.0cvs

Re: another core dump

2004-02-11 Thread David Raymond
This was 1.3.3 using qt. I got 3 core dumps in a few days doing more or less the same thing -- messing with offset equations. I'm now running the xforms version to see if it happens to me there. (Never did in the past.) Dave Raymond Andre Poenitz writes: On Sat, Feb 07, 2004 at 11:59:56AM

Re: another core dump

2004-02-11 Thread Andre Poenitz
On Sat, Feb 07, 2004 at 11:59:56AM -0700, David Raymond wrote: > > Lyx just dumped core again while I was working in an offset > equation. Here is a backtrace. What version of LyX is that? [Well, in any case, chances for undo related crashs in anything but the current (not-to-be-used...)

Re: another core dump

2004-02-11 Thread David Raymond
This was 1.3.3 using qt. I got 3 core dumps in a few days doing more or less the same thing -- messing with offset equations. I'm now running the xforms version to see if it happens to me there. (Never did in the past.) Dave Raymond Andre Poenitz writes: > On Sat, Feb 07, 2004 at 11:59:56AM

another core dump

2004-02-07 Thread David Raymond
Lyx just dumped core again while I was working in an offset equation. Here is a backtrace. Dave Raymond --- (gdb) bt #0 0x4076c561 in kill () from /lib/libc.so.6 #1 0x40a7f741 in pthread_kill () from /lib/libpthread.so.0 #2 0x40a7fa4b in raise () from /lib/libpthread.so.0 #3

another core dump

2004-02-07 Thread David Raymond
Lyx just dumped core again while I was working in an offset equation. Here is a backtrace. Dave Raymond --- (gdb) bt #0 0x4076c561 in kill () from /lib/libc.so.6 #1 0x40a7f741 in pthread_kill () from /lib/libpthread.so.0 #2 0x40a7fa4b in raise () from /lib/libpthread.so.0 #3

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 06:35:10PM +0100, Angus Leeming spake thusly: Martin Vermeer wrote: Yes! This does the trick. Great! I wonder what changed between 13x and 14x in this regard. Shall I prepare a patch? Why not. Here's the patch. Notes: 1) To suppress the bug, it would be

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Alfredo Braunstein
Martin Vermeer wrote: 3) I discovered a new (?) bug: a) create an inset, e.g., note; b) insert a math inset into it; c) copy and paste the math inset to inside the note inset; d) exit without saving. I don't see it. Alfredo

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: Here's the patch. And I understand how it is triggered. We have a sort of 'race' condition between the destruction of two static variables. In gettext.C: Messages getLyXMessages() { static Messages lyx_messages; return lyx_messages; } In Dialogs.C

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Alfredo Braunstein wrote: Martin Vermeer wrote: 3) I discovered a new (?) bug: a) create an inset, e.g., note; b) insert a math inset into it; c) copy and paste the math inset to inside the note inset; d) exit without saving. I don't see it. No, it's going to be a compiler-specific

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:25:41AM +, Angus Leeming wrote: Alfredo Braunstein wrote: Martin Vermeer wrote: 3) I discovered a new (?) bug: a) create an inset, e.g., note; b) insert a math inset into it; c) copy and paste the math inset to inside the note inset; d) exit

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Andre Poenitz wrote: As the destruction order is the reversed construction order you could specify a certain order if you need to. Let's just not go there in the first place. -- Angus

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:45:06AM +, Angus Leeming wrote: Andre Poenitz wrote: As the destruction order is the reversed construction order you could specify a certain order if you need to. Let's just not go there in the first place. Fine with me. Andre'

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 09:05:57AM +, Angus Leeming spake thusly: Martin Vermeer wrote: Here's the patch. And I understand how it is triggered. We have a sort of 'race' condition between the destruction of two static variables. In gettext.C: Messages getLyXMessages() {

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: your patch and apply mine. Yours is a work around broken behaviour. Mine cures the source of the breakage. I very much agree -- provided it works. (Do you mean the dialogs.diff patch you posted here much earlier? But you called

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 12:57:40PM +, Angus Leeming spake thusly: On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: your patch and apply mine. Yours is a work around broken behaviour. Mine cures the source of the breakage. I very much agree -- provided it works. (Do you

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: ps, see if you can trigger the bug with current cvs. Also the math one... Yes, the bug is gone. So is the math bug. Good news indeed. These kind of bugs based upon unspecified compiler behaviour are hell to hunt down. I think we did our good deed for this week!

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 06:35:10PM +0100, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > Yes! This does the trick. > > Great! I wonder what changed between 13x and 14x in this regard. > > > Shall I prepare a patch? > > Why not. Here's the patch. Notes: 1) To suppress the bug, it

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Alfredo Braunstein
Martin Vermeer wrote: > 3) I discovered a new (?) bug: > > a) create an inset, e.g., note; > b) insert a math inset into it; > c) copy and paste the math inset to inside the note inset; > d) exit without saving. I don't see it. Alfredo

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: > Here's the patch. And I understand how it is triggered. We have a sort of 'race' condition between the destruction of two static variables. In gettext.C: Messages & getLyXMessages() { static Messages lyx_messages; return lyx_messages; } In Dialogs.C

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Alfredo Braunstein wrote: > Martin Vermeer wrote: > >> 3) I discovered a new (?) bug: >> >> a) create an inset, e.g., note; >> b) insert a math inset into it; >> c) copy and paste the math inset to inside the note inset; >> d) exit without saving. > > I don't see it. No, it's going to be a

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:25:41AM +, Angus Leeming wrote: > Alfredo Braunstein wrote: > > > Martin Vermeer wrote: > > > >> 3) I discovered a new (?) bug: > >> > >> a) create an inset, e.g., note; > >> b) insert a math inset into it; > >> c) copy and paste the math inset to inside the note

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Andre Poenitz wrote: > As the destruction order is the reversed construction order you > could specify a certain order if you need to. Let's just not go there in the first place. -- Angus

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:45:06AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > As the destruction order is the reversed construction order you > > could specify a certain order if you need to. > > Let's just not go there in the first place. Fine with me. Andre'

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 09:05:57AM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > Here's the patch. > > And I understand how it is triggered. We have a sort of 'race' > condition between the destruction of two static variables. > > In gettext.C: > Messages & getLyXMessages() {

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: > > your patch and apply mine. Yours is a work around broken behaviour. > > Mine cures the source of the breakage. > > I very much agree -- provided it works. (Do you mean the dialogs.diff > patch you posted here much earlier? But you

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 12:57:40PM +, Angus Leeming spake thusly: > On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: > > > your patch and apply mine. Yours is a work around broken behaviour. > > > Mine cures the source of the breakage. > > > > I very much agree -- provided it

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: >> ps, see if you can trigger the bug with current cvs. Also the math one... > > Yes, the bug is gone. So is the math bug. Good news indeed. > These kind of bugs based upon unspecified compiler behaviour are hell > to hunt down. I think we did our good deed for this week!

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: Martin Vermeer wrote: H... is it possible that lang_ is being accessed after the containing class Messages::Pimpl has been destroyed? If so, I guess that this is the kludge. Thereafter we'd have to ascertain

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: | Martin Vermeer wrote: H... is it possible that lang_ is being accessed after the containing class Messages::Pimpl has been destroyed? If so, I guess that this is the

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 09:36:28AM +0200, Lars Gullik Bjønnes spake thusly: Martin Vermeer [EMAIL PROTECTED] writes: | On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: | Martin Vermeer wrote: H... is it possible that lang_ is being accessed after the

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: Do we have any static objects? (we shouldn't) Global objects? | Yes! in gettext.C: | 24 Messages getLyXMessages() | 25 { | 26 static Messages lyx_messages; | 27 | 28 return lyx_messages; | 29 } | 30 |

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: Martin Vermeer [EMAIL PROTECTED] writes: Do we have any static objects? (we shouldn't) Global objects? | Yes! in gettext.C: | 24 Messages getLyXMessages() | 25 { | 26 static Messages

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: Martin Vermeer [EMAIL PROTECTED] writes: Do we have any static objects? (we shouldn't) Global objects? | Yes! in gettext.C: | 24 Messages getLyXMessages() |

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: Martin Vermeer [EMAIL PROTECTED] writes: Do we have any static objects? (we shouldn't) Global objects? | Yes! in gettext.C: | 24 Messages getLyXMessages() |

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: what happens if you function call replace the default args with N_(...) ? and use _(...) where the vars are used? I did that... the new strings appear in the output. Or remove the _(..) from the default args

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: what happens if you function call replace the default args with N_(...) ? N_(...) is just an empty macro (does nothing --- see src/gettext.h) that enables the po files to document

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 11:28:36AM +0100, Angus Leeming spake thusly: Martin Vermeer wrote: On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: what happens if you function call replace the default args with N_(...) ? N_(...) is just an empty macro

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: ... Or remove the _(..) from the default args completely? -- Lgb Yes, then the error goes away. But do we want that? We want Cancel and Close translated, don't we? - Martin pgp0.pgp Description:

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: On Wed, Sep 17, 2003 at 11:28:36AM +0100, Angus Leeming spake thusly: Martin Vermeer wrote: On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: what happens if you function call replace the default args with N_(...) ?

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 02:15:35PM +0100, Angus Leeming spake thusly: Martin Vermeer wrote: ... Like this? No, because this is code executed when the xformsBC constructor is invoked. xformsBC(ButtonController const , -string const = _(Cancel), string const =

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: Yes, I know how gettext works -- I did the first Dutch and Finnish translations remember? But I still don't get what Lars wanted me to do. Please bend it in copperwire for me. Remember I'm a little dumb :-) My misunderstanding. Ok, I think that Lars is suggesting //

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 02:53:27PM +0100, Angus Leeming spake thusly: Martin Vermeer wrote: Yes, I know how gettext works -- I did the first Dutch and Finnish translations remember? But I still don't get what Lars wanted me to do. Please bend it in copperwire for me. Remember I'm a little

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: or presumably alternatively: // file frontends/xforms/xformsBC.C void xformsBC::setButtonLabel(FL_OBJECT * obj, string const label) const { fl_set_object_label(obj, _(label).c_str()); } Yes! This bites. At least for Cancel and Close. Now the same for

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Angus Leeming wrote: Incidentally, maybe a script would help automate the changing of those _(Minipage settings) to N_(...) for file in Form*.C; do sed 's/\(^[  ]*: base_class([^_]*\)_/\1N_/' $file  tmp cmp -s $file tmp  continue diff -u $file tmp mv -i tmp $file done Hmmm. Dunno

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 04:32:50PM +0100, Angus Leeming spake thusly: ... or alternatively: void FormDialogView::prepare_to_show() { ... if (!lyxrc.dialogs_iconify_with_main) - fl_winicontitle(form()-window, getTitle().c_str()); +

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: Yes! This does the trick. Great! I wonder what changed between 13x and 14x in this regard. Shall I prepare a patch? Why not. By the way, I run CVS LyX uninstalled. Relevant? Not to the fact that the code is crashing, no. What I don't like though is that

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Looking deeper, LOCALEDIR should be ${INSTALL_DIR}/share/locale I think Angus | Install locally. Something like this should do the trick. | Note that the important line is the penultimate one. | See main.C and thereafter the code in ${LYX_TOP_DIR}/intl | $

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > H... is it possible that lang_ is being accessed after the > > containing class Messages::Pimpl has been destroyed? > > If so, I guess that this is the kludge. Thereafter we'd have to >

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: | >> Martin Vermeer wrote: >> > H... is it possible that lang_ is being accessed after the >> > containing class Messages::Pimpl has been destroyed? >> >> If so, I guess that

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 09:36:28AM +0200, Lars Gullik Bjønnes spake thusly: > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Tue, Sep 16, 2003 at 09:49:52PM +, Angus Leeming spake thusly: > | > >> Martin Vermeer wrote: > >> > H... is it possible that lang_ is being accessed

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: >> Do we have any static objects? (we shouldn't) Global objects? > | Yes! in gettext.C: > | 24 Messages & getLyXMessages() | 25 { | 26 static Messages lyx_messages; | 27 | 28 return lyx_messages; | 29 } | 30 |

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > >> Do we have any static objects? (we shouldn't) Global objects? > > > | Yes! in gettext.C: > > > | 24 Messages & getLyXMessages() > | 25 { > | 26

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: >> >> Martin Vermeer <[EMAIL PROTECTED]> writes: >> >> >> Do we have any static objects? (we shouldn't) Global objects? >> > >> | Yes! in gettext.C: >> > >> | 24

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Wed, Sep 17, 2003 at 10:21:54AM +0200, Lars Gullik Bjønnes spake thusly: >> >> Martin Vermeer <[EMAIL PROTECTED]> writes: >> >> >> Do we have any static objects? (we shouldn't) Global objects? >> > >> | Yes! in gettext.C: >> > >> | 24

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: > what happens if you function call replace the default args with > N_(...) ? > and use _(...) where the vars are used? I did that... the new strings appear in the output. > Or remove the _(..) from the default args

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: > On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake > thusly: > >> what happens if you function call replace the default args with >> N_(...) > > ? N_(...) is just an empty macro (does nothing --- see src/gettext.h) that enables the po files to

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 11:28:36AM +0100, Angus Leeming spake thusly: > Martin Vermeer wrote: > > > On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake > > thusly: > > > >> what happens if you function call replace the default args with > >> N_(...) > > > > ? > > N_(...) is

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake thusly: ... > Or remove the _(..) from the default args completely? > > -- > Lgb Yes, then the error goes away. But do we want that? We want "Cancel" and "Close" translated, don't we? - Martin pgp0.pgp

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: > On Wed, Sep 17, 2003 at 11:28:36AM +0100, Angus Leeming spake thusly: > >> Martin Vermeer wrote: >> >> > On Wed, Sep 17, 2003 at 10:52:48AM +0200, Lars Gullik Bjønnes spake >> > thusly: >> > >> >> what happens if you function call replace the default args with >> >>

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 02:15:35PM +0100, Angus Leeming spake thusly: > > Martin Vermeer wrote: ... > > > > Like this? > > No, because this is code executed when the xformsBC constructor is > invoked. > xformsBC(ButtonController const &, > -string const & = _("Cancel"),

Re: Core dump on exit after pasting inset in inset

2003-09-17 Thread Angus Leeming
Martin Vermeer wrote: > Yes, I know how gettext works -- I did the first Dutch and Finnish > translations remember? But I still don't get what Lars wanted > me to do. Please bend it in copperwire for me. Remember I'm a little > dumb :-) My misunderstanding. Ok, I think that Lars is suggesting

  1   2   3   4   >