Opened 10 years ago
Last modified 7 months ago
#12134 assigned bug
segfaulting on lyx binary when debugging enabled
Reported by: | jessicah | Owned by: | nobody |
---|---|---|---|
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...
Attachments (8)
Change History (15)
comment:1 by , 10 years ago
by , 10 years ago
Attachment: | Debugger (1).report added |
---|
by , 10 years ago
Attachment: | Debugger (2).report added |
---|
by , 10 years ago
Attachment: | Debugger (3).report added |
---|
by , 10 years ago
Attachment: | Debugger (4).report added |
---|
by , 10 years ago
Attachment: | Debugger (5).report added |
---|
by , 10 years ago
Attachment: | Debugger (6).report added |
---|
comment:2 by , 10 years ago
Summary: | Debugger: segfaulting on lyx binary (attached) → Debugger: segfaulting on lyx binary |
---|
comment:3 by , 10 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 , 10 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 , 10 years ago
Attachment: | listareas.txt added |
---|
by , 10 years ago
Attachment: | syslog.txt added |
---|
comment:5 by , 10 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 |
comment:6 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 7 months ago
Component: | System/Kernel → Applications/Debugger |
---|
Actually, scratch attaching the binary. It's 156MB! O_O