Am 17.03.2012 18:45, schrieb john Culleton:
> On Sat, 17 Mar 2012 13:01:45 -0400
> john Culleton <John at wexfordpress.com> wrote:
> 
>> On Sat, 17 Mar 2012 10:56:41 -0400
>> Gregory Pittman <gpittman at iglou.com> wrote:
>>
>>>>
>>> here's a mini-tutorial on backtrace:
>>>
>>> you need to have gdb on your system.
>>>
>>> then in console, type 'gdb /your/path/to/scribus1.50/bin/scribus'
>>> then type 'run'
>>> after the crash, type 'bt' and you get the backtrace
>>>
>>> Greg
>>
>> Here's an update. I built a new Slackware partition and got 1.5.0
>> to compile and work. But that version won't work on my old
>> partition. So there is something that is called by Scribus 1.5.0
>> that I have incautiously updated, maybe GTKMM. The same thing is
>> not called by 1.4.x.
>>
>> I'll do the backtrace bit and try to narrow it down. Worst case
>> I'll just replace the libs etc. on the old partition with those
>> on the new one.
> 
> Here are the results of the gdb trace:
> -------------------------
> Program received signal SIGSEGV, Segmentation fault.
> 0x08b70d76 in _cairo_array_allocate ()
> (gdb) bt >foobar
> A syntax error in expression, near `>foobar'.
> (gdb) bt
> #0  0x08b70d76 in _cairo_array_allocate ()
> #1  0x08b70da9 in _cairo_array_append_multiple ()
> #2  0x08b70e75 in _cairo_array_append ()
> #3  0x08b70fd0 in _cairo_user_data_array_set_data ()
> #4  0xb24dd5ca in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #5  0xb24a5141 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #6  0xb24b1720 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #7  0xb24a5141 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #8  0xb249fc20 in gdk_cairo_create () from /usr/lib/libgdk-x11-2.0.so.0
> #9  0xb26e33c5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #10 0xb26ee67a in gtk_paint_focus () from /usr/lib/libgtk-x11-2.0.so.0
> #11 0xb65be26a in ?? () from /usr/lib/qt/lib/libQtGui.so.4
> #12 0xb65b5aa6 in QGtkStyle::drawControl(QStyle::ControlElement, QStyleOption 
> const*, QPainter*, QWidget const*) const () from /usr/lib/qt/lib/libQtGui.so.4
> #13 0xb66a1ffb in QPushButton::paintEvent(QPaintEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #14 0xb6255be8 in QWidget::event(QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #15 0xb6602e1e in QAbstractButton::event(QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #16 0xb66a2e12 in QPushButton::event(QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #17 0xb61fc8c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () 
> from /usr/lib/qt/lib/libQtGui.so.4
> #18 0xb62014bb in QApplication::notify(QObject*, QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #19 0xb59f152b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from 
> /usr/lib/qt/lib/libQtCore.so.4
> #20 0xb6252804 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, 
> QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #21 0xb6253514 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, 
> QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, 
> QWidgetBackingStore*) ()
>    from /usr/lib/qt/lib/libQtGui.so.4
> ---Type <return> to continue, or q <return> to quit---
> #22 0xb6252560 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, 
> QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #23 0xb6253514 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, 
> QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, 
> QWidgetBackingStore*) ()
>    from /usr/lib/qt/lib/libQtGui.so.4
> #24 0xb6252560 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, 
> QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #25 0xb642e85e in ?? () from /usr/lib/qt/lib/libQtGui.so.4
> #26 0xb6248013 in QWidgetPrivate::syncBackingStore() () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #27 0xb625624d in QWidget::event(QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #28 0xb674348c in QMessageBox::event(QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #29 0xb61fc8c4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () 
> from /usr/lib/qt/lib/libQtGui.so.4
> #30 0xb62014bb in QApplication::notify(QObject*, QEvent*) () from 
> /usr/lib/qt/lib/libQtGui.so.4
> #31 0xb59f152b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from 
> /usr/lib/qt/lib/libQtCore.so.4
> #32 0xb59f5145 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, 
> QThreadData*) () from /usr/lib/qt/lib/libQtCore.so.4
> #33 0xb59f531d in QCoreApplication::sendPostedEvents(QObject*, int) () from 
> /usr/lib/qt/lib/libQtCore.so.4
> #34 0xb5a1ea34 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
> #35 0xb4e41432 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #36 0xb4e41c10 in ?? () from /usr/lib/libglib-2.0.so.0
> #37 0xb4e41ec4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
> #38 0xb5a1ebac in 
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
> from /usr/lib/qt/lib/libQtCore.so.4
> #39 0xb62adad5 in ?? () from /usr/lib/qt/lib/libQtGui.so.4
> #40 0xb59f06e9 in 
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
> /usr/lib/qt/lib/libQtCore.so.4
> #41 0xb59f098a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 
> from /usr/lib/qt/lib/libQtCore.so.4
> #42 0xb67228a3 in QDialog::exec() () from /usr/lib/qt/lib/libQtGui.so.4
> #43 0xb6745f53 in ?? () from /usr/lib/qt/lib/libQtGui.so.4
> ---Type <return> to continue, or q <return> to quit---
> #44 0xb6746056 in QMessageBox::critical(QWidget*, QString const&, QString 
> const&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton) () 
> from /usr/lib/qt/lib/libQtGui.so.4
> #45 0x084caa36 in PrefsManager::alertLoadPrefsFailed() const ()
> #46 0x084f963c in PrefsManager::ReadPrefs(QString const&) ()
> #47 0x08693ecc in ScribusCore::initScribusCore(bool, bool, bool, QString, 
> QString) ()
> #48 0x08693ff4 in ScribusCore::startGUI(bool, bool, bool, QString, QString) ()
> #49 0x086886c3 in ScribusQApp::init() ()
> #50 0x08b3d846 in mainApp(int, char**) ()
> #51 0x08b3d8ca in main ()
> (gdb) 
> ---------------------------------------------------------------------
> 
> Does this ring any bells? 
Yep. Don't use QGtkStyle with Scribus, this is the only Style that
doesn't work for some unknown reason.

Greetings,
Franz Schmid



Reply via email to