On 7/5/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:
John McCabe-Dansted wrote:
> I tried doing a make clean && make. Didn't help. I am using Fedora
> Core 6 with the following CFLAGS and gcc. Perhaps someone using

FYI, removing the CFLAGS didn't help.

> Fedora Core 6 could try to reproduce the bug?

Could you provide a backtrace?

OK. Gdb complains that "Failed to read a valid object file image from
memory." however lyx runs until it crashes from the bug above. The
backtrace is below:


--


john> gdb src/lyx-qt4
GNU gdb Red Hat Linux (6.5-15.fc6rh)
Copyright (C) 2006 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 "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/local/john/src/lyx-devel/src/lyx-qt4
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1208379696 (LWP 2677)]
LyX: BN_BIND: Unknown LyX function `merge-changes' [around line 4 of
file ~/.lyx/bind/myShortcuts.bind]
KeyMap::read: error while reading bind
file:/home/res/john/.lyx/bind/myShortcuts.bind
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/basic_string.h:707:
typename _Alloc::rebind<_CharT>::other::reference
std::basic_string<_CharT, _Traits, _Alloc>::operator[](typename
_Alloc::rebind<_CharT>::other::size_type) [with _CharT = wchar_t,
_Traits = std::char_traits<wchar_t>, _Alloc =
std::allocator<wchar_t>]: Assertion '__pos < size()' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208379696 (LWP 2677)]
0xb7fcd410 in ?? ()
(gdb) bt
#0  0xb7fcd410 in ?? ()
#1  0xbf9eecbc in ?? ()
#2  0x00000006 in ?? ()
#3  0x414ef591 in abort () from /lib/libc.so.6
#4  0x088f488d in lyx::biblio::familyName ([EMAIL PROTECTED]) at
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/debug/debug.h:58
#5  0x0890669b in lyx::biblio::getAbbreviatedAuthor ([EMAIL PROTECTED],
[EMAIL PROTECTED]) at frontend_helpers.cpp:250
#6  0x089068fd in lyx::biblio::getAuthorYearStrings ([EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]) at frontend_helpers.cpp:805
#7  0x088a96ab in lyx::frontend::ControlCitation::getCiteStrings
(this=0x918a748, [EMAIL PROTECTED]) at ControlCitation.cpp:176
#8  0x086be1ba in lyx::frontend::QCitation::citationStyles
(this=0x918a748, sel=0) at QCitation.cpp:214
#9  0x087471d8 in lyx::frontend::QCitationDialog::fillStyles
(this=0x918a068) at QCitationDialog.cpp:295
#10 0x08749ea5 in lyx::frontend::QCitationDialog::update
(this=0x918a068) at QCitationDialog.cpp:229
#11 0x08746a09 in lyx::frontend::QCitationDialog::on_addPB_clicked
(this=0x918a068) at QCitationDialog.cpp:420
#12 0x08747765 in lyx::frontend::QCitationDialog::qt_metacall
(this=0x918a068, _c=QMetaObject::InvokeMetaMethod, _id=5,
_a=0xbf9f0aac)
   at QCitationDialog_moc.cpp:109
#13 0x44f447ef in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x44f44a1f in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x45520201 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#16 0x4536da99 in QAbstractButton::mousePressEvent () from
/usr/lib/libQtGui.so.4
#17 0x4536efa9 in QAbstractButton::keyPressEvent () from /usr/lib/libQtGui.so.4
#18 0x4536f060 in QAbstractButton::timerEvent () from /usr/lib/libQtGui.so.4
#19 0x44f41cc4 in QObject::event () from /usr/lib/libQtCore.so.4
#20 0x4514a172 in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0x4536e5a5 in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#22 0x453dc914 in QPushButton::event () from /usr/lib/libQtGui.so.4
#23 0x45108140 in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#24 0x4510dcd6 in QApplication::notify () from /usr/lib/libQtGui.so.4
#25 0x086f7d28 in lyx::frontend::GuiApplication::notify
(this=0x8ce6be0, receiver=0x918b958, event=0xbf9f106c) at
GuiApplication.cpp:237
#26 0x44f5562a in QEventDispatcherGlib::registerTimer () from
/usr/lib/libQtCore.so.4
#27 0x419f8442 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x419fb41f in g_main_context_check () from /lib/libglib-2.0.so.0
#29 0x419fb985 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x44f54398 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#31 0x4517dfc5 in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#32 0x44f330d1 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0x44f331dc in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0x44f3539a in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0x45107987 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0x086f6f1a in lyx::frontend::GuiApplication::exec (this=0x8ce6be0)
at GuiApplication.cpp:158
#37 0x082e1389 in lyx::LyX::exec (this=0xbf9f1c5c, [EMAIL PROTECTED],
argv=0xbf9f1d14) at LyX.cpp:463
#38 0x08068aae in main (argc=1, argv=Cannot access memory at address 0xa79
) at main.cpp:48


--
John C. McCabe-Dansted
PhD Student
University of Western Australia

Reply via email to