LyXSIGSEGV signal caught

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
brenogil
Posts: 1
Joined: Tue Aug 14, 2012 8:30 am

SIGSEGV signal caught

Post by brenogil »

Hello everyone!

(sorry if this topic is repeated)

I have installed LyX in two of my computers and in both it crashes when I run a spell check and ask it to replace a misspelled word.

The crash message is attached.

Any Idea what is going on?

Thank you,
Attachments
Lyxcrash.png
Lyxcrash.png (11.38 KiB) Viewed 15784 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: SIGSEGV signal caught

Post by Stefan Kottwitz »

Hello brenogil,

welcome to the board!

If you did not install the newest one, version 2.0.4, I recommend to install that. If the newest one crashes, perhaps an older stable version would work for you.

Stefan
LaTeX.org admin
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: SIGSEGV signal caught

Post by scottkosty »

Stefan's advice is spot on (as always!). I just wanted to follow up. Did you solve the problem by installing a newer version? What OS are you using on both of the computers? Which LyX versions?

There are a couple of people reporting problems similar to what you describe:
http://www.mail-archive.com/lyx-users@l ... 93298.html
http://www.lyx.org/trac/ticket/8238
baropalma
Posts: 14
Joined: Fri Apr 05, 2013 11:25 pm

Re: SIGSEGV signal caught

Post by baropalma »

Hi there,

I've got this same error a few times in the past few days. I'm running the most recent version of LyX (2.0.5.1) on a Mac. It seems to happen for no particular reason. The last time it happened when I exited Fullscreen view, but earlier it was for different reasons.

Has anyone else had this problem with this version?
And can anyone recommend me a more stable earlier version?

Thanks very much.
baropalma
Posts: 14
Joined: Fri Apr 05, 2013 11:25 pm

Re: SIGSEGV signal caught

Post by baropalma »

I've actually just had a repeat of the SIGSEGV crash which happened again as I was exiting Fullscreen mode. Anyone else experiencing this?
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

SIGSEGV signal caught

Post by scottkosty »

baropalma wrote:I've actually just had a repeat of the SIGSEGV crash which happened again as I was exiting Fullscreen mode. Anyone else experiencing this?
Strange -- I've never heard of that. If you know how to use gdb and can provide a backtrace, we can probably figure out the problem. If not, there's not much we can do unless you write steps that are able to reproduce the problem.

Scott
baropalma
Posts: 14
Joined: Fri Apr 05, 2013 11:25 pm

SIGSEGV signal caught

Post by baropalma »

I've just had the same crash when exiting Fullscreen. I'm not sure if this will help, but here's the Apple crash report (I don't know how to use gdb, sorry):
Process: lyx [7454]
Path: /Applications/LyX.app/Contents/MacOS/lyx
Identifier: org.lyx.lyx
Version: 2.0.5.1 (???)
Code Type: X86 (Native)
Parent Process: launchd [95]

Date/Time: 2013-04-10 16:52:44.394 +0200
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 21488852 sec
Crashes Since Last Report: 108
Per-App Interval Since Last Report: 199669 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: DED0175B-07EF-4AD7-9071-CD127DA540DB

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 org.lyx.lyx 0x0019227d std::vector<lyx::Row, std::allocator<lyx::Row> >::push_back(lyx::Row const&) + 483
1 org.lyx.lyx 0x004c3ab5 std::string* std::uninitialized_copy<boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, std::string*>(boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, std::string*) + 1153
2 org.lyx.lyx 0x004c3e5d std::string* std::uninitialized_copy<boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, std::string*>(boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, boost::token_iterator<boost::char_separator<char, std::char_traits<char> >, __gnu_cxx::__normal_iterator<char const*, std::string>, std::string>, std::string*) + 2089
3 org.lyx.lyx 0x004c7d59 lyx::frontend::TocModelSortProxyModel::lessThan(QModelIndex const&, QModelIndex const&) const + 8163
4 org.lyx.lyx 0x004c7e1b lyx::frontend::TocModelSortProxyModel::lessThan(QModelIndex const&, QModelIndex const&) const + 8357
5 org.lyx.lyx 0x002fa5fd lyx::frontend::ButtonPolicy::Private::operator=(lyx::frontend::ButtonPolicy::Private const&) + 93
6 org.lyx.lyx 0x004763dd QList<lyx::frontend::Action*>::append(lyx::frontend::Action* const&) + 19085
7 org.lyx.lyx 0x00476895 QList<lyx::frontend::Action*>::append(lyx::frontend::Action* const&) + 20293
8 org.lyx.lyx 0x00476c0f QList<lyx::frontend::Action*>::append(lyx::frontend::Action* const&) + 21183
9 org.lyx.lyx 0x004843be QList<lyx::frontend::Action*>::append(lyx::frontend::Action* const&) + 76398
10 org.lyx.lyx 0x0031d1ea lyx::frontend::InGuiThread<int>::~InGuiThread() + 59052
11 org.lyx.lyx 0x0031580a lyx::frontend::InGuiThread<int>::~InGuiThread() + 27852
12 org.lyx.lyx 0x000fd745 lyx::Lexer::Pimpl::~Pimpl() + 1463
13 org.lyx.lyx 0x002fb718 lyx::frontend::ButtonPolicy::Private::operator=(lyx::frontend::ButtonPolicy::Private const&) + 4472
14 org.lyx.lyx 0x002fb7fa lyx::frontend::ButtonPolicy::Private::operator=(lyx::frontend::ButtonPolicy::Private const&) + 4698
15 QtCore 0x00d2cd57 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1399
16 QtGui 0x00f0ab64 QAction::triggered(bool) + 68
17 QtGui 0x00f0c369 QAction::activate(QAction::ActionEvent) + 153
18 QtGui 0x012f7850 QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) + 384
19 QtGui 0x012fb760 QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) + 720
20 QtGui 0x012ffffe QMenu::mouseReleaseEvent(QMouseEvent*) + 254
21 QtGui 0x00f603f3 QWidget::event(QEvent*) + 3619
22 QtGui 0x012fed0f QMenu::event(QEvent*) + 95
23 QtGui 0x00f0fbac QApplicationPrivate::notify_helper(QObject*, QEvent*) + 188
24 QtGui 0x00f1a3c3 QApplication::notify(QObject*, QEvent*) + 5283
25 org.lyx.lyx 0x003191b9 lyx::frontend::InGuiThread<int>::~InGuiThread() + 42619
26 QtCore 0x00d18bfc QCoreApplication::notifyInternal(QObject*, QEvent*) + 108
27 QtGui 0x00f18a84 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 292
28 QtGui 0x00ec364c qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 780
29 QtGui 0x00eb2223 -[QCocoaView mouseUp:] + 51
30 com.apple.AppKit 0x93e58ae8 -[NSWindow sendEvent:] + 5693
31 QtGui 0x00eb009c -[QCocoaPanel sendEvent:] + 108
32 com.apple.AppKit 0x93d7160b -[NSApplication sendEvent:] + 6431
33 QtGui 0x00ebd362 -[QNSApplication sendEvent:] + 98
34 com.apple.AppKit 0x93d05253 -[NSApplication run] + 917
35 QtGui 0x00ec87fa QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1786
36 QtCore 0x00d17c41 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
37 QtCore 0x00d1800a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 330
38 QtGui 0x012fa763 QMenu::exec(QPoint const&, QAction*) + 115
39 org.lyx.lyx 0x0049af40 Ui_VSpaceUi::setupUi(QWidget*) + 33146
40 QtGui 0x00f5fbe8 QWidget::event(QEvent*) + 1560
41 QtGui 0x012bd128 QFrame::event(QEvent*) + 40
42 QtGui 0x0133abc6 QAbstractScrollArea::viewportEvent(QEvent*) + 38
43 QtGui 0x0133d035 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 53
44 QtCore 0x00d1890f QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 143
45 QtGui 0x00f0fb83 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 147
46 QtGui 0x00f19f46 QApplication::notify(QObject*, QEvent*) + 4134
47 org.lyx.lyx 0x003191b9 lyx::frontend::InGuiThread<int>::~InGuiThread() + 42619
48 QtCore 0x00d18bfc QCoreApplication::notifyInternal(QObject*, QEvent*) + 108
49 QtGui 0x00f0f7ec qt_sendSpontaneousEvent(QObject*, QEvent*) + 60
50 QtGui 0x00ec3803 qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1219
51 QtGui 0x00eb21e3 -[QCocoaView rightMouseDown:] + 51
52 com.apple.AppKit 0x93e58b28 -[NSWindow sendEvent:] + 5757
53 QtGui 0x00eb820c -[QCocoaWindow sendEvent:] + 108
54 com.apple.AppKit 0x93d7160b -[NSApplication sendEvent:] + 6431
55 QtGui 0x00ebd362 -[QNSApplication sendEvent:] + 98
56 com.apple.AppKit 0x93d05253 -[NSApplication run] + 917
57 QtGui 0x00ec87fa QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1786
58 QtCore 0x00d17c41 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
59 QtCore 0x00d1800a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 330
60 QtCore 0x00d1a480 QCoreApplication::exec() + 176
61 org.lyx.lyx 0x00104533 lyx::Lexer::Pimpl::~Pimpl() + 29605
62 org.lyx.lyx 0x00018357 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 925
63 org.lyx.lyx 0x00018173 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 441
64 org.lyx.lyx 0x000180a1 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 231

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x992fd382 kevent + 10
1 libSystem.B.dylib 0x992fda9c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x992fcf59 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x992fccfe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x992fc781 _pthread_wqthread + 390
5 libSystem.B.dylib 0x992fc5c6 start_wqthread + 30

Thread 2: com.apple.CFSocket.private
0 libSystem.B.dylib 0x992f5ac6 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x9481ac53 __CFSocketManager + 1091
2 libSystem.B.dylib 0x99304259 _pthread_start + 345
3 libSystem.B.dylib 0x993040de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x1a263180 ecx: 0x00000000 edx: 0x00827328
edi: 0x028f5e70 esi: 0x1a263234 ebp: 0xbfffcdc8 esp: 0xbfffcd70
ss: 0x0000001f efl: 0x00210293 eip: 0x0019227d cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: SIGSEGV signal caught

Post by scottkosty »

Yes, that is useful. Can you post that and a description of the problem on a new bug report?
http://www.lyx.org/trac
Also mention whether it happens every time you exit full screen or only sometimes.

And put whether this is on 2.0.5.1.

Thanks,

Scott
baropalma
Posts: 14
Joined: Fri Apr 05, 2013 11:25 pm

SIGSEGV signal caught

Post by baropalma »

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

SIGSEGV signal caught

Post by scottkosty »

Thanks! Hopefully someone can reproduce the problem and figure out what's going on.

Scott
Post Reply