unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
@ 2013-03-19  9:06 Petr Hracek
  2013-03-19 10:19 ` Andreas Schwab
  2019-09-30 16:24 ` Stefan Kangas
  0 siblings, 2 replies; 10+ messages in thread
From: Petr Hracek @ 2013-03-19  9:06 UTC (permalink / raw)
  To: 13997

Hi folks,

I am trying to build up emacs 24.3 but it failed with segmentation fault.
I could not found any reason.

Part of build log is:
gcc -std=gnu99 -nostdlib -Demacs  -I. 
-I/builddir/build/BUILD/emacs-24.3/src -I../lib 
-I/builddir/build/BUILD/emacs-24.3/src/../lib   -pthread 
-I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz 
-I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng15 
-I/usr/include/libdrm -I/usr/include/freetype2    -I/usr/include/alsa   
-pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/cairo -I/usr/include/libpng15 -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libdrm   -fopenmp 
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 
-I/usr/include/ImageMagick-6   -I/usr/include/libxml2 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread 
-I/usr/include/gconf/2 -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/freetype2 
-I/usr/include/freetype2    -MMD -MF deps/.d -MP 
-I/usr/include/p11-kit-1     -DMAIL_USE_LOCKF -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom 
-fasynchronous-unwind-tables   -Wl,-z,relro  -Wl,-znocombreloc  \
   -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o 
frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o 
category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o 
xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o 
gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o 
keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o 
fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o 
undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o 
font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o 
callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o 
textprop.o composite.o xml.o profiler.o     xfont.o ftfont.o xftfont.o 
ftxfont.o  fontset.o fringe.o image.o  terminfo.o lastfile.o    
vm-limit.o ../lib/libgnu.a      -ltiff -ljpeg -lpng -lz -lm   -lgtk-3 
-lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 
-lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0   -lSM 
-lICE -lX11 -lXrender -lXft   -lasound   -lrsvg-2 -lm -lgio-2.0 
-lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lMagickWand-6.Q16 -lm 
-lMagickCore-6.Q16    -lrt  -L/lib -ldbus-1    -lxml2      -ltinfo  
-lgio-2.0 -lgobject-2.0 -lglib-2.0   -lgconf-2 -lglib-2.0   
-lgobject-2.0 -lglib-2.0 -lselinux -lfreetype   -lfontconfig   -lotf 
-lfreetype   -lm17n-flt -lm17n-core   -lgnutls   -lpthread   -lm -lgcc 
-lc -lgcc /usr/lib/crtn.o
test "no" = "yes" || \
   test "X" = X ||  -r temacs
cd ../lisp; make -w update-subdirs
make[3]: Entering directory 
`/builddir/build/BUILD/emacs-24.3/build-gtk/lisp'
cd /builddir/build/BUILD/emacs-24.3/lisp; subdirs=`find . -type d 
-print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | 
*/cedet* ) ;; *) wins="$wins $file" ;; esac; done; \
for file in $wins; do \
    /builddir/build/BUILD/emacs-24.3/build-aux/update-subdirs $file; \
done;
make[3]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/lisp'
if test "no" = "yes"; then \
   rm -f bootstrap-emacs; \
   ln temacs bootstrap-emacs; \
else \
   `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \
   test "X" = X ||  -zex emacs; \
   mv -f emacs bootstrap-emacs; \
fi
/bin/sh: line 7:  4672 Segmentation fault      (core dumped) 
`/bin/pwd`/temacs --batch --load loadup bootstrap
make[2]: *** [bootstrap-emacs] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk'

Output from gdb is:
<mock-chroot>[root@kiasportyw src]# gdb temacs
GNU gdb (GDB) Fedora (7.5.50.20130310-13.fc19)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs...done.
warning: File "/builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit" 
auto-loading has been declined by your `auto-load safe-path' set to 
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
To enable execution of this file add
     add-auto-load-safe-path 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit
line to your configuration file "/builddir/.gdbinit".
To completely disable this security protection add
     set auto-load safe-path /
line to your configuration file "/builddir/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the 
shell:
     info "(gdb)Auto-loading safe path"
(gdb) set args --batch --load loadup bootstrap
(gdb) b Fmake_vector
Breakpoint 1 at 0x81b9390: file 
/builddir/build/BUILD/emacs-24.3/src/alloc.c, line 3031.
(gdb) b main
Breakpoint 2 at 0x80582c0: file 
/builddir/build/BUILD/emacs-24.3/src/emacs.c, line 663.
(gdb) run
Starting program: /builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs 
--batch --load loadup bootstrap
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /lib/libgraphite2.so.3
Try: yum --disablerepo='*' --enablerepo='*debug*' install 
/usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug

Breakpoint 2, main (argc=5, argv=0xbffff704) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:663
663    {
Missing separate debuginfos, use: debuginfo-install 
GConf2-3.2.6-2.fc19.i686 ImageMagick-libs-6.8.3.9-1.fc20.i686 
alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-2.fc19.i686 
gdk-pixbuf2-2.27.2-1.fc19.i686 glib2-2.35.8-1.fc19.i686 
glibc-2.17-3.fc19.i686 gmp-5.1.1-2.fc19.i686 gnutls-3.1.9-1.fc20.i686 
gtk3-3.7.12-1.fc19.i686 harfbuzz-0.9.13-1.fc19.i686 
jbigkit-libs-2.0-8.fc19.i686 lcms-libs-1.19-9.fc19.i686 
libICE-1.0.8-5.fc19.i686 libSM-1.2.1-5.fc19.i686 
libX11-1.5.99.901-2.fc19.i686 libXau-1.0.6-7.fc19.i686 
libXcomposite-0.4.4-3.fc19.i686 libXcursor-1.1.13-4.fc19.i686 
libXdamage-1.1.4-3.fc19.i686 libXext-1.3.1-4.fc19.i686 
libXfixes-5.0-5.fc19.i686 libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
libXinerama-1.1.2-4.fc19.i686 libXrandr-1.4.0-3.fc19.i686 
libXrender-0.9.7-4.fc19.i686 libXt-1.1.3-3.fc19.i686 
libXxf86vm-1.1.2-4.fc19.i686 libcroco-0.6.8-2.fc19.i686 
libdrm-2.4.42-2.fc19.i686 libffi-3.0.11-2.fc19.i686 
libgcc-4.8.0-0.17.fc20.i686 libgomp-4.8.0-0.17.fc20.i686 
libicu-50.1.2-5.fc19.i686 libjpeg-turbo-1.2.90-1.fc19.i686 
libotf-0.9.13-2.fc19.i686 libpng-1.5.13-2.fc19.i686 
librsvg2-2.37.0-2.fc19.i686 libselinux-2.1.13-9.fc19.i686 
libstdc++-4.8.0-0.17.fc20.i686 libtasn1-3.2-3.fc19.i686 
libtiff-4.0.3-5.fc19.i686 libtool-ltdl-2.4.2-12.fc19.i686 
libuuid-2.22.2-6.fc19.i686 libwayland-client-1.0.5-1.fc19.i686 
libwayland-cursor-1.0.5-1.fc19.i686 libwayland-server-1.0.5-1.fc19.i686 
libxcb-1.9-2.fc19.i686 libxkbcommon-0.2.0-2.fc19.i686 
libxml2-2.9.0-4.fc19.i686 m17n-lib-1.6.4-7.fc20.i686 
mesa-libEGL-9.1-1.fc19.i686 mesa-libGL-9.1-1.fc19.i686 
mesa-libgbm-9.1-1.fc19.i686 mesa-libglapi-9.1-1.fc19.i686 
ncurses-libs-5.9-8.20130126.fc19.i686 nettle-2.6-2.fc19.i686 
p11-kit-0.16.4-1.fc19.i686 pango-1.33.8-1.fc19.i686 
pcre-8.32-4.fc19.i686 pixman-0.28.0-3.fc19.i686 
systemd-libs-198-6.fc20.i686 xz-libs-5.1.2-4alpha.fc19.i686 
zlib-1.2.7-10.fc19.i686
(gdb) c
Continuing.
process 5413 is executing new program: 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /lib/libgraphite2.so.3
Try: yum --disablerepo='*' --enablerepo='*debug*' install 
/usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug

Breakpoint 2, main (argc=5, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:663
663    {
Missing separate debuginfos, use: debuginfo-install 
GConf2-3.2.6-2.fc19.i686 ImageMagick-libs-6.8.3.9-1.fc20.i686 
alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-2.fc19.i686 
gdk-pixbuf2-2.27.2-1.fc19.i686 glib2-2.35.8-1.fc19.i686 
glibc-2.17-3.fc19.i686 gmp-5.1.1-2.fc19.i686 gnutls-3.1.9-1.fc20.i686 
gtk3-3.7.12-1.fc19.i686 harfbuzz-0.9.13-1.fc19.i686 
jbigkit-libs-2.0-8.fc19.i686 lcms-libs-1.19-9.fc19.i686 
libICE-1.0.8-5.fc19.i686 libSM-1.2.1-5.fc19.i686 
libX11-1.5.99.901-2.fc19.i686 libXau-1.0.6-7.fc19.i686 
libXcomposite-0.4.4-3.fc19.i686 libXcursor-1.1.13-4.fc19.i686 
libXdamage-1.1.4-3.fc19.i686 libXext-1.3.1-4.fc19.i686 
libXfixes-5.0-5.fc19.i686 libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
libXinerama-1.1.2-4.fc19.i686 libXrandr-1.4.0-3.fc19.i686 
libXrender-0.9.7-4.fc19.i686 libXt-1.1.3-3.fc19.i686 
libXxf86vm-1.1.2-4.fc19.i686 libcroco-0.6.8-2.fc19.i686 
libdrm-2.4.42-2.fc19.i686 libffi-3.0.11-2.fc19.i686 
libgcc-4.8.0-0.17.fc20.i686 libgomp-4.8.0-0.17.fc20.i686 
libicu-50.1.2-5.fc19.i686 libjpeg-turbo-1.2.90-1.fc19.i686 
libotf-0.9.13-2.fc19.i686 libpng-1.5.13-2.fc19.i686 
librsvg2-2.37.0-2.fc19.i686 libselinux-2.1.13-9.fc19.i686 
libstdc++-4.8.0-0.17.fc20.i686 libtasn1-3.2-3.fc19.i686 
libtiff-4.0.3-5.fc19.i686 libtool-ltdl-2.4.2-12.fc19.i686 
libuuid-2.22.2-6.fc19.i686 libwayland-client-1.0.5-1.fc19.i686 
libwayland-cursor-1.0.5-1.fc19.i686 libwayland-server-1.0.5-1.fc19.i686 
libxcb-1.9-2.fc19.i686 libxkbcommon-0.2.0-2.fc19.i686 
libxml2-2.9.0-4.fc19.i686 m17n-lib-1.6.4-7.fc20.i686 
mesa-libEGL-9.1-1.fc19.i686 mesa-libGL-9.1-1.fc19.i686 
mesa-libgbm-9.1-1.fc19.i686 mesa-libglapi-9.1-1.fc19.i686 
ncurses-libs-5.9-8.20130126.fc19.i686 nettle-2.6-2.fc19.i686 
p11-kit-0.16.4-1.fc19.i686 pango-1.33.8-1.fc19.i686 
pcre-8.32-4.fc19.i686 pixman-0.28.0-3.fc19.i686 
systemd-libs-198-6.fc20.i686 xz-libs-5.1.2-4alpha.fc19.i686 
zlib-1.2.7-10.fc19.i686
(gdb) c
Continuing.

Breakpoint 1, Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3031
3031    {
(gdb) n
3037      CHECK_NATNUM (length);
(gdb) n
3031    {
(gdb) n
3037      CHECK_NATNUM (length);
(gdb) n
3031    {
(gdb) n
3037      CHECK_NATNUM (length);
(gdb) n
3039      p = allocate_vector (XFASTINT (length));
(gdb) n
3040      sizei = XFASTINT (length);
(gdb) n
3041      for (i = 0; i < sizei; i++)
(gdb) n
3040      sizei = XFASTINT (length);
(gdb) n
3041      for (i = 0; i < sizei; i++)
(gdb) n
3042        p->contents[i] = init;
(gdb) p init
$1 = 0
(gdb) p sizei
$2 = 1511
(gdb) p p->contents[i]
value has been optimized out
(gdb) p length
$3 = 1511
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
3042        p->contents[i] = init;
(gdb)


-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email: phracek@redhat.com
Web: www.cz.redhat.com






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-19  9:06 bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap Petr Hracek
@ 2013-03-19 10:19 ` Andreas Schwab
  2013-03-19 14:27   ` Petr Hracek
  2019-09-30 16:24 ` Stefan Kangas
  1 sibling, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2013-03-19 10:19 UTC (permalink / raw)
  To: Petr Hracek; +Cc: 13997

You are missing the most important information: the backtrace.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-19 10:19 ` Andreas Schwab
@ 2013-03-19 14:27   ` Petr Hracek
  2013-03-22  9:25     ` Petr Hracek
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Hracek @ 2013-03-19 14:27 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 13997

Here is backtrace from gdb:
Program received signal SIGSEGV, Segmentation fault.
Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
3042        p->contents[i] = init;
(gdb) bt
#0  Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
#1  0x0820ad19 in init_obarray () at 
/builddir/build/BUILD/emacs-24.3/src/lread.c:3946
#2  0x08059042 in main (argc=<optimized out>, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
(gdb)
(gdb) show args
Argument list to give program being debugged when it is started is 
"--batch --load loadup bootstrap".
(gdb)

Hopefully finally I have gather enought informations.
If not please let me know.

On 03/19/2013 11:19 AM, Andreas Schwab wrote:
> You are missing the most important information: the backtrace.
>
> Andreas.
>

-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email: phracek@redhat.com
Web: www.cz.redhat.com






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-19 14:27   ` Petr Hracek
@ 2013-03-22  9:25     ` Petr Hracek
  2013-03-25 13:14       ` Petr Hracek
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Hracek @ 2013-03-22  9:25 UTC (permalink / raw)
  To: 13997

Full backtrace is:
(gdb) bt full
#0 Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
vector = <optimized out>
sizei = 1511
i = 0
p = <optimized out>
#1 0x0820aec9 in init_obarray () at 
/builddir/build/BUILD/emacs-24.3/src/lread.c:3946
No locals.
#2 0x080591f2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
dummy = -5301053228724652512
stack_bottom_variable = -74 '\266'
do_initial_setlocale = <optimized out>
dumping = <optimized out>
skip_args = 1
rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
no_loadup = false
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x8053c29 <_init+9> "\201\303ף("
(gdb)

On 03/19/2013 03:27 PM, Petr Hracek wrote:
> Here is backtrace from gdb:
> Program received signal SIGSEGV, Segmentation fault.
> Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> 3042 p->contents[i] = init;
> (gdb) bt
> #0 Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> #1 0x0820ad19 in init_obarray () at 
> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
> #2 0x08059042 in main (argc=<optimized out>, argv=0xbffff6f4) at 
> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
> (gdb)
> (gdb) show args
> Argument list to give program being debugged when it is started is 
> "--batch --load loadup bootstrap".
> (gdb)
>
> Hopefully finally I have gather enought informations.
> If not please let me know.
>
> On 03/19/2013 11:19 AM, Andreas Schwab wrote:
>> You are missing the most important information: the backtrace.
>>
>> Andreas.
>>
>

-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email: phracek@redhat.com
Web: www.cz.redhat.com






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-22  9:25     ` Petr Hracek
@ 2013-03-25 13:14       ` Petr Hracek
  2013-03-25 15:27         ` Petr Hracek
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Hracek @ 2013-03-25 13:14 UTC (permalink / raw)
  To: 13997

Hello,

configure and make are called by commands:
%configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg \
                   --with-tiff --with-xft --with-xpm 
--with-x-toolkit=gtk3 --with-gpm=no \
                 --with-wide-int

make bootstrap
make

If any other logs are needed I can provide them.

Log from gdb is here:

GNU gdb (GDB) Fedora (7.5.91.20130323-14.fc19)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs...done.
warning: File "/builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit" 
auto-loading has been declined by your `auto-load safe-path' set to 
"$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
To enable execution of this file add
     add-auto-load-safe-path 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit
line to your configuration file "/builddir/.gdbinit".
To completely disable this security protection add
     set auto-load safe-path /
line to your configuration file "/builddir/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the 
shell:
     info "(gdb)Auto-loading safe path"
(gdb) run --batch --load loadup bootstrap
Starting program: /builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs 
--batch --load loadup bootstrap
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /lib/libgraphite2.so.3
Try: yum --disablerepo='*' --enablerepo='*debug*' install 
/usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug
process 4458 is executing new program: 
/builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs
Missing separate debuginfos, use: debuginfo-install 
GConf2-3.2.6-2.fc19.i686 ImageMagick-6.7.8.9-5.fc19.i686 
alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-3.fc19.i686 
gdk-pixbuf2-2.27.3-1.fc19.i686 giflib-4.1.6-7.fc19.i686 
glib2-2.35.9-1.fc19.i686 glibc-2.17-4.fc19.i686 gmp-5.1.1-2.fc19.i686 
gnutls-3.1.9-1.fc19.i686 gtk3-3.7.14-1.fc19.i686 
harfbuzz-0.9.14-1.fc19.i686 jbigkit-libs-2.0-8.fc19.i686 
lcms-libs-1.19-9.fc19.i686 libICE-1.0.8-5.fc19.i686 
libSM-1.2.1-5.fc19.i686 libX11-1.5.99.901-2.fc19.i686 
libXau-1.0.6-7.fc19.i686 libXcomposite-0.4.4-3.fc19.i686 
libXcursor-1.1.13-4.fc19.i686 libXdamage-1.1.4-3.fc19.i686 
libXext-1.3.1-4.fc19.i686 libXfixes-5.0-5.fc19.i686 
libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
libXinerama-1.1.2-4.fc19.i686 libXpm-3.5.10-4.fc19.i686 
libXrandr-1.4.0-3.fc19.i686 libXrender-0.9.7-4.fc19.i686 
libXt-1.1.3-3.fc19.i686 libXxf86vm-1.1.2-4.fc19.i686 
libcroco-0.6.8-2.fc19.i686 libdrm-2.4.42-2.fc19.i686 
libffi-3.0.13-1.fc19.i686 libgcc-4.8.0-1.fc19.i686 
libgomp-4.8.0-1.fc19.i686 libicu-50.1.2-5.fc19.i686 
libjpeg-turbo-1.2.90-1.fc19.i686 libotf-0.9.13-2.fc19.i686 
libpng-1.5.13-2.fc19.i686 librsvg2-2.37.0-2.fc19.i686 
libselinux-2.1.13-11.fc19.i686 libstdc++-4.8.0-1.fc19.i686 
libtasn1-3.2-3.fc19.i686 libtiff-4.0.3-5.fc19.i686 
libtool-ltdl-2.4.2-12.fc19.i686 libuuid-2.22.2-6.fc19.i686 
libwayland-client-1.0.5-1.fc19.i686 libwayland-cursor-1.0.5-1.fc19.i686 
libwayland-server-1.0.5-1.fc19.i686 libxcb-1.9-2.fc19.i686 
libxkbcommon-0.2.0-2.fc19.i686 libxml2-2.9.0-4.fc19.i686 
m17n-lib-1.6.4-7.fc19.i686 mesa-libEGL-9.1-3.fc19.i686 
mesa-libGL-9.1-3.fc19.i686 mesa-libgbm-9.1-3.fc19.i686 
mesa-libglapi-9.1-3.fc19.i686 ncurses-libs-5.9-9.20130316.fc19.i686 
nettle-2.6-2.fc19.i686 p11-kit-0.17.4-1.fc19.i686 
pango-1.33.9-1.fc19.i686 pcre-8.32-4.fc19.i686 pixman-0.28.0-3.fc19.i686 
systemd-libs-198-7.fc19.i686 xz-libs-5.1.2-4alpha.fc19.i686 
zlib-1.2.7-10.fc19.i686
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /lib/libgraphite2.so.3
Try: yum --disablerepo='*' --enablerepo='*debug*' install 
/usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug

Program received signal SIGSEGV, Segmentation fault.
Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
3042        p->contents[i] = init;
Missing separate debuginfos, use: debuginfo-install 
GConf2-3.2.6-2.fc19.i686 ImageMagick-6.7.8.9-5.fc19.i686 
alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-3.fc19.i686 
gdk-pixbuf2-2.27.3-1.fc19.i686 giflib-4.1.6-7.fc19.i686 
glib2-2.35.9-1.fc19.i686 glibc-2.17-4.fc19.i686 gmp-5.1.1-2.fc19.i686 
gnutls-3.1.9-1.fc19.i686 gtk3-3.7.14-1.fc19.i686 
harfbuzz-0.9.14-1.fc19.i686 jbigkit-libs-2.0-8.fc19.i686 
lcms-libs-1.19-9.fc19.i686 libICE-1.0.8-5.fc19.i686 
libSM-1.2.1-5.fc19.i686 libX11-1.5.99.901-2.fc19.i686 
libXau-1.0.6-7.fc19.i686 libXcomposite-0.4.4-3.fc19.i686 
libXcursor-1.1.13-4.fc19.i686 libXdamage-1.1.4-3.fc19.i686 
libXext-1.3.1-4.fc19.i686 libXfixes-5.0-5.fc19.i686 
libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
libXinerama-1.1.2-4.fc19.i686 libXpm-3.5.10-4.fc19.i686 
libXrandr-1.4.0-3.fc19.i686 libXrender-0.9.7-4.fc19.i686 
libXt-1.1.3-3.fc19.i686 libXxf86vm-1.1.2-4.fc19.i686 
libcroco-0.6.8-2.fc19.i686 libdrm-2.4.42-2.fc19.i686 
libffi-3.0.13-1.fc19.i686 libgcc-4.8.0-1.fc19.i686 
libgomp-4.8.0-1.fc19.i686 libicu-50.1.2-5.fc19.i686 
libjpeg-turbo-1.2.90-1.fc19.i686 libotf-0.9.13-2.fc19.i686 
libpng-1.5.13-2.fc19.i686 librsvg2-2.37.0-2.fc19.i686 
libselinux-2.1.13-11.fc19.i686 libstdc++-4.8.0-1.fc19.i686 
libtasn1-3.2-3.fc19.i686 libtiff-4.0.3-5.fc19.i686 
libtool-ltdl-2.4.2-12.fc19.i686 libuuid-2.22.2-6.fc19.i686 
libwayland-client-1.0.5-1.fc19.i686 libwayland-cursor-1.0.5-1.fc19.i686 
libwayland-server-1.0.5-1.fc19.i686 libxcb-1.9-2.fc19.i686 
libxkbcommon-0.2.0-2.fc19.i686 libxml2-2.9.0-4.fc19.i686 
m17n-lib-1.6.4-7.fc19.i686 mesa-libEGL-9.1-3.fc19.i686 
mesa-libGL-9.1-3.fc19.i686 mesa-libgbm-9.1-3.fc19.i686 
mesa-libglapi-9.1-3.fc19.i686 ncurses-libs-5.9-9.20130316.fc19.i686 
nettle-2.6-2.fc19.i686 p11-kit-0.17.4-1.fc19.i686 
pango-1.33.9-1.fc19.i686 pcre-8.32-4.fc19.i686 pixman-0.28.0-3.fc19.i686 
systemd-libs-198-7.fc19.i686 xz-libs-5.1.2-4alpha.fc19.i686 
zlib-1.2.7-10.fc19.i686
(gdb) where
#0  Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
#1  0x0820aeb9 in init_obarray () at 
/builddir/build/BUILD/emacs-24.3/src/lread.c:3946
#2  0x080591e2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
(gdb) bt full
#0  Fmake_vector (length=1511, init=0) at 
/builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
         vector = <optimized out>
         sizei = 1511
         i = 0
         p = <optimized out>
#1  0x0820aeb9 in init_obarray () at 
/builddir/build/BUILD/emacs-24.3/src/lread.c:3946
No locals.
#2  0x080591e2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
/builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
         dummy = -5301141189654895072
         stack_bottom_variable = -74 '\266'
         do_initial_setlocale = <optimized out>
         dumping = <optimized out>
         skip_args = 1
         rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
         no_loadup = false
         junk = 0x0
         dname_arg = 0x0
         ch_to_dir = 0x8053c1d <_init+9> "\201\303\343\243("
(gdb)

Best regards
Petr



On 03/22/2013 10:25 AM, Petr Hracek wrote:
> Full backtrace is:
> (gdb) bt full
> #0 Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> vector = <optimized out>
> sizei = 1511
> i = 0
> p = <optimized out>
> #1 0x0820aec9 in init_obarray () at 
> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
> No locals.
> #2 0x080591f2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
> dummy = -5301053228724652512
> stack_bottom_variable = -74 '\266'
> do_initial_setlocale = <optimized out>
> dumping = <optimized out>
> skip_args = 1
> rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
> no_loadup = false
> junk = 0x0
> dname_arg = 0x0
> ch_to_dir = 0x8053c29 <_init+9> "\201\303ף("
> (gdb)
>
> On 03/19/2013 03:27 PM, Petr Hracek wrote:
>> Here is backtrace from gdb:
>> Program received signal SIGSEGV, Segmentation fault.
>> Fmake_vector (length=1511, init=0) at 
>> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>> 3042 p->contents[i] = init;
>> (gdb) bt
>> #0 Fmake_vector (length=1511, init=0) at 
>> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>> #1 0x0820ad19 in init_obarray () at 
>> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
>> #2 0x08059042 in main (argc=<optimized out>, argv=0xbffff6f4) at 
>> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
>> (gdb)
>> (gdb) show args
>> Argument list to give program being debugged when it is started is 
>> "--batch --load loadup bootstrap".
>> (gdb)
>>
>> Hopefully finally I have gather enought informations.
>> If not please let me know.
>>
>> On 03/19/2013 11:19 AM, Andreas Schwab wrote:
>>> You are missing the most important information: the backtrace.
>>>
>>> Andreas.
>>>
>>
>

-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email:phracek@redhat.com
Web:www.cz.redhat.com






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-25 13:14       ` Petr Hracek
@ 2013-03-25 15:27         ` Petr Hracek
  2013-03-30  1:26           ` Glenn Morris
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Hracek @ 2013-03-25 15:27 UTC (permalink / raw)
  To: 13997

Hello folks,

I have found that when configure script is used without
--with-wide-int option that compilation works correctly.

For what is used for --with-wide-int?
Does have any affect on emacs?

Thank you in advance for advices
Best regards
Petr

On 03/25/2013 02:14 PM, Petr Hracek wrote:
> Hello,
>
> configure and make are called by commands:
> %configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg \
>                   --with-tiff --with-xft --with-xpm 
> --with-x-toolkit=gtk3 --with-gpm=no \
>                 --with-wide-int
>
> make bootstrap
> make
>
> If any other logs are needed I can provide them.
>
> Log from gdb is here:
>
> GNU gdb (GDB) Fedora (7.5.91.20130323-14.fc19)
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show 
> copying"
> and "show warranty" for details.
> This GDB was configured as "i686-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from 
> /builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs...done.
> warning: File 
> "/builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit" auto-loading 
> has been declined by your `auto-load safe-path' set to 
> "$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
> To enable execution of this file add
>     add-auto-load-safe-path 
> /builddir/build/BUILD/emacs-24.3/build-gtk/src/.gdbinit
> line to your configuration file "/builddir/.gdbinit".
> To completely disable this security protection add
>     set auto-load safe-path /
> line to your configuration file "/builddir/.gdbinit".
> For more information about this security protection see the
> "Auto-loading safe path" section in the GDB manual.  E.g., run from 
> the shell:
>     info "(gdb)Auto-loading safe path"
> (gdb) run --batch --load loadup bootstrap
> Starting program: 
> /builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs --batch --load 
> loadup bootstrap
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/libthread_db.so.1".
> Missing separate debuginfo for /lib/libgraphite2.so.3
> Try: yum --disablerepo='*' --enablerepo='*debug*' install 
> /usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug
> process 4458 is executing new program: 
> /builddir/build/BUILD/emacs-24.3/build-gtk/src/temacs
> Missing separate debuginfos, use: debuginfo-install 
> GConf2-3.2.6-2.fc19.i686 ImageMagick-6.7.8.9-5.fc19.i686 
> alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
> at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
> bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
> cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
> dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
> fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-3.fc19.i686 
> gdk-pixbuf2-2.27.3-1.fc19.i686 giflib-4.1.6-7.fc19.i686 
> glib2-2.35.9-1.fc19.i686 glibc-2.17-4.fc19.i686 gmp-5.1.1-2.fc19.i686 
> gnutls-3.1.9-1.fc19.i686 gtk3-3.7.14-1.fc19.i686 
> harfbuzz-0.9.14-1.fc19.i686 jbigkit-libs-2.0-8.fc19.i686 
> lcms-libs-1.19-9.fc19.i686 libICE-1.0.8-5.fc19.i686 
> libSM-1.2.1-5.fc19.i686 libX11-1.5.99.901-2.fc19.i686 
> libXau-1.0.6-7.fc19.i686 libXcomposite-0.4.4-3.fc19.i686 
> libXcursor-1.1.13-4.fc19.i686 libXdamage-1.1.4-3.fc19.i686 
> libXext-1.3.1-4.fc19.i686 libXfixes-5.0-5.fc19.i686 
> libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
> libXinerama-1.1.2-4.fc19.i686 libXpm-3.5.10-4.fc19.i686 
> libXrandr-1.4.0-3.fc19.i686 libXrender-0.9.7-4.fc19.i686 
> libXt-1.1.3-3.fc19.i686 libXxf86vm-1.1.2-4.fc19.i686 
> libcroco-0.6.8-2.fc19.i686 libdrm-2.4.42-2.fc19.i686 
> libffi-3.0.13-1.fc19.i686 libgcc-4.8.0-1.fc19.i686 
> libgomp-4.8.0-1.fc19.i686 libicu-50.1.2-5.fc19.i686 
> libjpeg-turbo-1.2.90-1.fc19.i686 libotf-0.9.13-2.fc19.i686 
> libpng-1.5.13-2.fc19.i686 librsvg2-2.37.0-2.fc19.i686 
> libselinux-2.1.13-11.fc19.i686 libstdc++-4.8.0-1.fc19.i686 
> libtasn1-3.2-3.fc19.i686 libtiff-4.0.3-5.fc19.i686 
> libtool-ltdl-2.4.2-12.fc19.i686 libuuid-2.22.2-6.fc19.i686 
> libwayland-client-1.0.5-1.fc19.i686 
> libwayland-cursor-1.0.5-1.fc19.i686 
> libwayland-server-1.0.5-1.fc19.i686 libxcb-1.9-2.fc19.i686 
> libxkbcommon-0.2.0-2.fc19.i686 libxml2-2.9.0-4.fc19.i686 
> m17n-lib-1.6.4-7.fc19.i686 mesa-libEGL-9.1-3.fc19.i686 
> mesa-libGL-9.1-3.fc19.i686 mesa-libgbm-9.1-3.fc19.i686 
> mesa-libglapi-9.1-3.fc19.i686 ncurses-libs-5.9-9.20130316.fc19.i686 
> nettle-2.6-2.fc19.i686 p11-kit-0.17.4-1.fc19.i686 
> pango-1.33.9-1.fc19.i686 pcre-8.32-4.fc19.i686 
> pixman-0.28.0-3.fc19.i686 systemd-libs-198-7.fc19.i686 
> xz-libs-5.1.2-4alpha.fc19.i686 zlib-1.2.7-10.fc19.i686
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/libthread_db.so.1".
> Missing separate debuginfo for /lib/libgraphite2.so.3
> Try: yum --disablerepo='*' --enablerepo='*debug*' install 
> /usr/lib/debug/.build-id/19/1902dc8ee4d4ae2413864b662da1f5ede07ce3.debug
>
> Program received signal SIGSEGV, Segmentation fault.
> Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> 3042        p->contents[i] = init;
> Missing separate debuginfos, use: debuginfo-install 
> GConf2-3.2.6-2.fc19.i686 ImageMagick-6.7.8.9-5.fc19.i686 
> alsa-lib-1.0.26-3.fc19.i686 at-spi2-atk-2.7.91-1.fc19.i686 
> at-spi2-core-2.7.91-1.fc19.i686 atk-2.7.91-1.fc19.i686 
> bzip2-libs-1.0.6-8.fc19.i686 cairo-1.12.14-1.fc19.i686 
> cairo-gobject-1.12.14-1.fc19.i686 dbus-glib-0.100-3.fc19.i686 
> dbus-libs-1.6.8-4.fc19.i686 expat-2.1.0-5.fc19.i686 
> fontconfig-2.10.91-3.fc19.i686 freetype-2.4.11-3.fc19.i686 
> gdk-pixbuf2-2.27.3-1.fc19.i686 giflib-4.1.6-7.fc19.i686 
> glib2-2.35.9-1.fc19.i686 glibc-2.17-4.fc19.i686 gmp-5.1.1-2.fc19.i686 
> gnutls-3.1.9-1.fc19.i686 gtk3-3.7.14-1.fc19.i686 
> harfbuzz-0.9.14-1.fc19.i686 jbigkit-libs-2.0-8.fc19.i686 
> lcms-libs-1.19-9.fc19.i686 libICE-1.0.8-5.fc19.i686 
> libSM-1.2.1-5.fc19.i686 libX11-1.5.99.901-2.fc19.i686 
> libXau-1.0.6-7.fc19.i686 libXcomposite-0.4.4-3.fc19.i686 
> libXcursor-1.1.13-4.fc19.i686 libXdamage-1.1.4-3.fc19.i686 
> libXext-1.3.1-4.fc19.i686 libXfixes-5.0-5.fc19.i686 
> libXft-2.3.1-4.fc19.i686 libXi-1.7-1.fc19.i686 
> libXinerama-1.1.2-4.fc19.i686 libXpm-3.5.10-4.fc19.i686 
> libXrandr-1.4.0-3.fc19.i686 libXrender-0.9.7-4.fc19.i686 
> libXt-1.1.3-3.fc19.i686 libXxf86vm-1.1.2-4.fc19.i686 
> libcroco-0.6.8-2.fc19.i686 libdrm-2.4.42-2.fc19.i686 
> libffi-3.0.13-1.fc19.i686 libgcc-4.8.0-1.fc19.i686 
> libgomp-4.8.0-1.fc19.i686 libicu-50.1.2-5.fc19.i686 
> libjpeg-turbo-1.2.90-1.fc19.i686 libotf-0.9.13-2.fc19.i686 
> libpng-1.5.13-2.fc19.i686 librsvg2-2.37.0-2.fc19.i686 
> libselinux-2.1.13-11.fc19.i686 libstdc++-4.8.0-1.fc19.i686 
> libtasn1-3.2-3.fc19.i686 libtiff-4.0.3-5.fc19.i686 
> libtool-ltdl-2.4.2-12.fc19.i686 libuuid-2.22.2-6.fc19.i686 
> libwayland-client-1.0.5-1.fc19.i686 
> libwayland-cursor-1.0.5-1.fc19.i686 
> libwayland-server-1.0.5-1.fc19.i686 libxcb-1.9-2.fc19.i686 
> libxkbcommon-0.2.0-2.fc19.i686 libxml2-2.9.0-4.fc19.i686 
> m17n-lib-1.6.4-7.fc19.i686 mesa-libEGL-9.1-3.fc19.i686 
> mesa-libGL-9.1-3.fc19.i686 mesa-libgbm-9.1-3.fc19.i686 
> mesa-libglapi-9.1-3.fc19.i686 ncurses-libs-5.9-9.20130316.fc19.i686 
> nettle-2.6-2.fc19.i686 p11-kit-0.17.4-1.fc19.i686 
> pango-1.33.9-1.fc19.i686 pcre-8.32-4.fc19.i686 
> pixman-0.28.0-3.fc19.i686 systemd-libs-198-7.fc19.i686 
> xz-libs-5.1.2-4alpha.fc19.i686 zlib-1.2.7-10.fc19.i686
> (gdb) where
> #0  Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
> #1  0x0820aeb9 in init_obarray () at 
> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
> #2  0x080591e2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
> (gdb) bt full
> #0  Fmake_vector (length=1511, init=0) at 
> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>         vector = <optimized out>
>         sizei = 1511
>         i = 0
>         p = <optimized out>
> #1  0x0820aeb9 in init_obarray () at 
> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
> No locals.
> #2  0x080591e2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
>         dummy = -5301141189654895072
>         stack_bottom_variable = -74 '\266'
>         do_initial_setlocale = <optimized out>
>         dumping = <optimized out>
>         skip_args = 1
>         rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
>         no_loadup = false
>         junk = 0x0
>         dname_arg = 0x0
>         ch_to_dir = 0x8053c1d <_init+9> "\201\303\343\243("
> (gdb)
>
> Best regards
> Petr
>
>
>
> On 03/22/2013 10:25 AM, Petr Hracek wrote:
>> Full backtrace is:
>> (gdb) bt full
>> #0 Fmake_vector (length=1511, init=0) at 
>> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>> vector = <optimized out>
>> sizei = 1511
>> i = 0
>> p = <optimized out>
>> #1 0x0820aec9 in init_obarray () at 
>> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
>> No locals.
>> #2 0x080591f2 in main (argc=<optimized out>, argv=0xbffff6f4) at 
>> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
>> dummy = -5301053228724652512
>> stack_bottom_variable = -74 '\266'
>> do_initial_setlocale = <optimized out>
>> dumping = <optimized out>
>> skip_args = 1
>> rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
>> no_loadup = false
>> junk = 0x0
>> dname_arg = 0x0
>> ch_to_dir = 0x8053c29 <_init+9> "\201\303ף("
>> (gdb)
>>
>> On 03/19/2013 03:27 PM, Petr Hracek wrote:
>>> Here is backtrace from gdb:
>>> Program received signal SIGSEGV, Segmentation fault.
>>> Fmake_vector (length=1511, init=0) at 
>>> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>>> 3042 p->contents[i] = init;
>>> (gdb) bt
>>> #0 Fmake_vector (length=1511, init=0) at 
>>> /builddir/build/BUILD/emacs-24.3/src/alloc.c:3042
>>> #1 0x0820ad19 in init_obarray () at 
>>> /builddir/build/BUILD/emacs-24.3/src/lread.c:3946
>>> #2 0x08059042 in main (argc=<optimized out>, argv=0xbffff6f4) at 
>>> /builddir/build/BUILD/emacs-24.3/src/emacs.c:1093
>>> (gdb)
>>> (gdb) show args
>>> Argument list to give program being debugged when it is started is 
>>> "--batch --load loadup bootstrap".
>>> (gdb)
>>>
>>> Hopefully finally I have gather enought informations.
>>> If not please let me know.
>>>
>>> On 03/19/2013 11:19 AM, Andreas Schwab wrote:
>>>> You are missing the most important information: the backtrace.
>>>>
>>>> Andreas.
>>>>
>>>
>>
>

-- 
S pozdravem / Best regards

Petr Hracek

Red Hat Czech s.r.o.
BaseOS Core Services Brno

Email: phracek@redhat.com
Web: www.cz.redhat.com






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-25 15:27         ` Petr Hracek
@ 2013-03-30  1:26           ` Glenn Morris
  0 siblings, 0 replies; 10+ messages in thread
From: Glenn Morris @ 2013-03-30  1:26 UTC (permalink / raw)
  To: Petr Hracek; +Cc: 13997

Petr Hracek wrote:

> I have found that when configure script is used without
> --with-wide-int option that compilation works correctly.
>
> For what is used for --with-wide-int?

No offence meant, but why are you adding configure options if you don't
know what they do?

> Does have any affect on emacs?

From etc/NEWS:

  ** New configure option --with-wide-int.
  With it, Emacs integers typically have 62 bits, even on 32-bit machines.
  On 32-bit hosts, this raises the limit on buffer sizes from about 512
  MiB to about 2 GiB.

So you can ignore this unless you are using a 32-bit platform and
really, really, need to edit buffers larger than 512MB.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2013-03-19  9:06 bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap Petr Hracek
  2013-03-19 10:19 ` Andreas Schwab
@ 2019-09-30 16:24 ` Stefan Kangas
  2019-09-30 16:46   ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: Stefan Kangas @ 2019-09-30 16:24 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Petr Hracek, 13997

Glenn Morris <rgm@gnu.org> writes:

> Petr Hracek wrote:
>
>> I have found that when configure script is used without
>> --with-wide-int option that compilation works correctly.
>>
>> For what is used for --with-wide-int?
>
> No offence meant, but why are you adding configure options if you don't
> know what they do?
>
>> Does have any affect on emacs?
>
>>From etc/NEWS:
>
>   ** New configure option --with-wide-int.
>   With it, Emacs integers typically have 62 bits, even on 32-bit machines.
>   On 32-bit hosts, this raises the limit on buffer sizes from about 512
>   MiB to about 2 GiB.
>
> So you can ignore this unless you are using a 32-bit platform and
> really, really, need to edit buffers larger than 512MB.

It seems like removing --with-wide-int fixed the crash for the reporter.
I couldn't find information in the thread on whether or not this was on
32 bit machine.

Is there anything left to do here?  If I don't hear anything else within
a couple of weeks, I'll assume there is no outstanding issues and close
this bug report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2019-09-30 16:24 ` Stefan Kangas
@ 2019-09-30 16:46   ` Eli Zaretskii
  2019-10-30 20:56     ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2019-09-30 16:46 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 13997, phracek

> From: Stefan Kangas <stefan@marxist.se>
> Date: Mon, 30 Sep 2019 18:24:27 +0200
> Cc: Petr Hracek <phracek@redhat.com>, 13997@debbugs.gnu.org
> 
> It seems like removing --with-wide-int fixed the crash for the reporter.
> I couldn't find information in the thread on whether or not this was on
> 32 bit machine.
> 
> Is there anything left to do here?  If I don't hear anything else within
> a couple of weeks, I'll assume there is no outstanding issues and close
> this bug report.

FWIW, I'm using a 32-bit build --with-wide-int all the time, and it's
rock solid for me.  So I think this bug report is about some old bug
long fixed.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap
  2019-09-30 16:46   ` Eli Zaretskii
@ 2019-10-30 20:56     ` Stefan Kangas
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Kangas @ 2019-10-30 20:56 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 13997-done, phracek

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stefan Kangas <stefan@marxist.se>
>> Date: Mon, 30 Sep 2019 18:24:27 +0200
>> Cc: Petr Hracek <phracek@redhat.com>, 13997@debbugs.gnu.org
>> 
>> It seems like removing --with-wide-int fixed the crash for the reporter.
>> I couldn't find information in the thread on whether or not this was on
>> 32 bit machine.
>> 
>> Is there anything left to do here?  If I don't hear anything else within
>> a couple of weeks, I'll assume there is no outstanding issues and close
>> this bug report.
>
> FWIW, I'm using a 32-bit build --with-wide-int all the time, and it's
> rock solid for me.  So I think this bug report is about some old bug
> long fixed.

Thanks.  No one else commented within 4 weeks, so I'm consequently
closing this bug report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-30 20:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-19  9:06 bug#13997: building emacs 24.3 failed with seg fault during ./temacs --batch --load loadup bootstrap Petr Hracek
2013-03-19 10:19 ` Andreas Schwab
2013-03-19 14:27   ` Petr Hracek
2013-03-22  9:25     ` Petr Hracek
2013-03-25 13:14       ` Petr Hracek
2013-03-25 15:27         ` Petr Hracek
2013-03-30  1:26           ` Glenn Morris
2019-09-30 16:24 ` Stefan Kangas
2019-09-30 16:46   ` Eli Zaretskii
2019-10-30 20:56     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).