Opened 9 years ago
Last modified 6 months ago
#12134 assigned bug
segfaulting on lyx binary when debugging enabled — at Version 5
Reported by: | jessicah | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Debugger | Version: | R1/Development |
Keywords: | Cc: | bonefish | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
I'm trying to build lyx from their git repository (2.1.3 release is fine), but it segfaults when debugging is enabled. Disabling debugging when building creates a binary that runs without error.
After suggestions from hamishm, I've attached listarea and also syslog output.
Perhaps this is somehow related to the random binary crashes of #10279? CC'ing Ingo in case it is...
Change History (13)
comment:1 by , 9 years ago
by , 9 years ago
Attachment: | Debugger (1).report added |
---|
by , 9 years ago
Attachment: | Debugger (2).report added |
---|
by , 9 years ago
Attachment: | Debugger (3).report added |
---|
by , 9 years ago
Attachment: | Debugger (4).report added |
---|
by , 9 years ago
Attachment: | Debugger (5).report added |
---|
by , 9 years ago
Attachment: | Debugger (6).report added |
---|
comment:2 by , 9 years ago
Summary: | Debugger: segfaulting on lyx binary (attached) → Debugger: segfaulting on lyx binary |
---|
comment:3 by , 9 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Hmm, FWIW, the lyx binary with debug information disabled doesn't segfault at all.
You can git clone git://git.lyx.org/lyx
to get the current sources. You will also need to apply autotools patch and app crash on mouse click patch.
Assuming you have libqt4 revision 4 installed:
./autogen.sh ./configure --prefix=/tmp/lyx --without-included-boost make -jN make install /tmp/lyx/bin/lyx
Without latest libqt4 package, you'll need to specify QT_CORE_CFLAGS and QT_FRONTEND_CFLAGS with paths to headers/x86/(QtCore|QtGui).
comment:4 by , 9 years ago
This isn't something I'd have time to look into any time soon, but judging from the reports, and given the size of the debug binary and the involvement of Qt, I'd hazard a guess that the debugger team is plain and simply running out of userland address space. If that's the case, then you'd pretty much have no choice but to do this on a 64-bit build, as is the case for other large/complex binaries such as WebKit.
by , 9 years ago
Attachment: | listareas.txt added |
---|
by , 9 years ago
Attachment: | syslog.txt added |
---|
comment:5 by , 9 years ago
Component: | Applications/Debugger → System/Kernel |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
Summary: | Debugger: segfaulting on lyx binary → segfaulting on lyx binary when debugging enabled |
Actually, scratch attaching the binary. It's 156MB! O_O