[Scribus] Scribus crash in Mandrake 9.1...Found GBD..

Paul paulf.johnson
Sat Jul 12 01:08:27 CEST 2003


Hi,

On Fri, 2003-07-11 at 19:43, Tom Jakabfy wrote:

> #3   0x08222fbe   in ScribusApp :: qt_invoke(int, QUObject*) ()

qt_invoke is generated when the source is run through moc. I'm not
familiar with gdb, but I think that it traces back to the original
calling method. So addPage calls a slotNewPage which calls slotNewPageM.
As the final method was in scribusapp.cpp, it stands to reason that the
qt_invoke will be from there.

This does lead to something interesting. I can't see a problem in
addPage, but there are a number of times in the NewPage methods where
memory is allocated and no exception is tested. For the 1.1 branch, all
of the calls to new are to be trapped as are all filesystem calls. If my
cunning plan works, then the overall size increase will be almost zero,
if it doesn't, typically catching adds a 10-15% overhead. Failing that,
moc is not behaving itself.

Out of interest, how much memory do you have in your machine?

TTFN

Paul

-- 
The world is throwing away oppressive regimes
Which don't allow people to choose.
Wars are fought to topple these people.
Yet the folks who do this, still use Windows.
Double standards or not understanding why they did it?




More information about the scribus mailing list