Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-08-01 Thread Danny Yoo
 I've pushed the change to the git repo's master branch. Please let me
 know whether a build on your machine works with this change.


Sorry for the delay!  I confirm that I'm not seeing the crash under
master (44161d73c8bdce0374718d1ab0bc20fbebc1fec2) on my system.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-29 Thread Danny Yoo
I tried building from scratch again from
c9d0319a11cb2aae6d1e81d0c6465b4241a4ecff  and see the following:


raco setup: 1 running: plot/scribblings/plot.scrbl
raco setup: 2 running: preprocessor/scribblings/preprocessor.scrbl
raco setup: 2 running: scribblings/quick/quick.scrbl
raco setup: 2 running: r5rs/r5rs.scrbl
raco setup: 2 running: r6rs/scribblings/r6rs.scrbl
*** glibc detected *** racket/racket3m: double free or corruption
(!prev): 0x2afccc1395e0 ***
*** glibc detected *** racket/racket3m: double free or corruption
(!prev): 0x2afccc1395e0 ***
=== Backtrace: =
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x2afca64ad626]
/usr/lib/x86_64-linux-gnu/libpixman-1.so.0(pixman_image_unref+0x17)[0x2afce1314a97]
/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x21fd1)/usr/lib/x86_64-linux-gnu/libcairo.so.2(+0x293cc/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_stroke_preserve+0x20)[0x2afce102e250]
/usr/lib/x86_64-linux-gnu/libcairo.so.2(cairo_stroke+0x9)[0x2afce102e269]
racket/racket3m(/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x1e5)[0x2afca600f435]
racket/racket3m(scheme_do_eval+0x295)[0x454bd5]
racket/racket3m(ffi_do_call+0x70b)[0x6485eb]
racket/racket3m(scheme_do_eval+0x295)[0xAborted (core dumped)
make[1]: *** [install-3m] Error 134
make[1]: Leaving directory `/home/dyoo/local/racket/src/build'
make: *** [install] Error 2



dyoo@grom:~/local/racket/src/build$ gdb racket/racket3m core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 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 x86_64-linux-gnu.
For bug reporting instructions, please see:
http://bugs.launchpad.net/gdb-linaro/...
Reading symbols from /home/dyoo/local/racket/src/build/racket/racket3m...done.

warning: core file may not match specified executable file.
[New LWP 8450]
[New LWP 6091]
[New LWP 6090]
[New LWP 8455]
[New LWP 6092]
[New LWP 8454]
[New LWP 8448]
[New LWP 8453]
[New LWP 8449]
[New LWP 8451]
[New LWP 8452]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Core was generated by `racket/racket3m -X
/home/dyoo/local/racket/collects -N raco setup -l- setup --n'.
Program terminated with signal 6, Aborted.
#0  0x2afca6465445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) where
#0  0x2afca6465445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x2afca6468bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x2afca64a2e2e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x2afca64ad626 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x2afce1314a97 in pixman_image_unref ()
   from /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
#5  0x2afce103c965 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#6  0x2afce103e3cc in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#7  0x2afce103f6eb in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#8  0x2afce103fe8b in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#9  0x2afce105d642 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#10 0x2afce1036fd1 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#11 0x2afce102e250 in cairo_stroke_preserve ()
   from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#12 0x2afce102e269 in cairo_stroke ()
   from /usr/lib/x86_64-linux-gnu/libcairo.so.2
#13 0x2afca600fa14 in ffi_call_unix64 ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#14 0x2afca600f435 in ffi_call ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#15 0x006485eb in ffi_do_call (data=optimized out,
argc=optimized out, argv=0x2afcddc01998) at xsrc/foreign.c:5246
#16 0x00454bd5 in scheme_do_eval (obj=0x2afd28d11328, num_rands=1,
rands=0x2afcddc01998, get_value=-1)
at ../../../racket/gc2/../src/eval.c:2991
#17 0x00458603 in _scheme_apply_multi_from_native (
rator=optimized out, argc=1, argv=optimized out)
at ../../../racket/gc2/../src/schnapp.inc:87
#18 0x2afca87502fb in ?? ()
#19 0x2afcbe3260f0 in ?? ()
#20 0x2afcd7e34aa2 in ?? ()
#21 0x in ?? ()
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-26 Thread Danny Yoo
On Wed, Jul 25, 2012 at 7:07 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
 This looks like a crash that I've seen, but only a couple of times over
 months. For the crash I saw, control was in libpixman via libcairo
 during the rendering of the Plot manual, but I haven't been able to
 replicate it to investigate further.

 Are you seeing the crash frequently? Can you get a core file and/or
 stack trace?


I'll try to get both tonight when I come home.  To get a core file and
a good stack trace during 'make install', what do I need to do?
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-26 Thread Matthew Flatt
At Thu, 26 Jul 2012 15:17:09 -0400, Danny Yoo wrote:
 On Wed, Jul 25, 2012 at 7:07 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
  This looks like a crash that I've seen, but only a couple of times over
  months. For the crash I saw, control was in libpixman via libcairo
  during the rendering of the Plot manual, but I haven't been able to
  replicate it to investigate further.
 
  Are you seeing the crash frequently? Can you get a core file and/or
  stack trace?
 
 
 I'll try to get both tonight when I come home.  To get a core file and
 a good stack trace during 'make install', what do I need to do?

To enable core files, it's usually `ulimit -c unlimited' or `unlimit
core', depending on your shell. Then, `gdb racket corefile' opens
the core file in gdb, and `where' in gdb should give you a stack trace.

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-25 Thread Matthew Flatt
This looks like a crash that I've seen, but only a couple of times over
months. For the crash I saw, control was in libpixman via libcairo
during the rendering of the Plot manual, but I haven't been able to
replicate it to investigate further.

Are you seeing the crash frequently? Can you get a core file and/or
stack trace?

At Tue, 24 Jul 2012 22:16:33 -0400, Danny Yoo wrote:
 I'm seeing segfaults when trying to build the release on my uber
 64-bit Ubuntu box.  (I'm on c9d0319a11cb2aae6d1e81d0c6465b4241a4ecff)
 
 
 raco setup: 2 running: picturing-programs/picturing-programs.scrbl
 raco setup: 1 running: plai/scribblings/plai.scrbl
 raco setup: 2 running: planet/planet.scrbl
 raco setup: 1 running: plot/scribblings/plot.scrbl
 raco setup: 2 running: preprocessor/scribblings/preprocessor.scrbl
 raco setup: 2 running: scribblings/quick/quick.scrbl
 raco setup: 2 running: r5rs/r5rs.scrbl
 Seg fault (internal error) at 0x2adfc19cb850
 SIGSEGV SEGV_ACCERR SI_CODE 2 fault on 0x2adfc19cb850
 Seg fault (internal error) at 0x2adfe25045a0
 SIGSEGV SEGV_ACCERR SI_CODE 2 fault on 0x2adfe25045a0
 Aborted (core dumped)
 make[1]: *** [install-3m] Error 134
 make[1]: Leaving directory `/home/dyoo/local/racket/src/build'
 
 
 
 What can I do to help provide more debugging info?
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-24 Thread Danny Yoo
I'm seeing segfaults when trying to build the release on my uber
64-bit Ubuntu box.  (I'm on c9d0319a11cb2aae6d1e81d0c6465b4241a4ecff)


raco setup: 2 running: picturing-programs/picturing-programs.scrbl
raco setup: 1 running: plai/scribblings/plai.scrbl
raco setup: 2 running: planet/planet.scrbl
raco setup: 1 running: plot/scribblings/plot.scrbl
raco setup: 2 running: preprocessor/scribblings/preprocessor.scrbl
raco setup: 2 running: scribblings/quick/quick.scrbl
raco setup: 2 running: r5rs/r5rs.scrbl
Seg fault (internal error) at 0x2adfc19cb850
SIGSEGV SEGV_ACCERR SI_CODE 2 fault on 0x2adfc19cb850
Seg fault (internal error) at 0x2adfe25045a0
SIGSEGV SEGV_ACCERR SI_CODE 2 fault on 0x2adfe25045a0
Aborted (core dumped)
make[1]: *** [install-3m] Error 134
make[1]: Leaving directory `/home/dyoo/local/racket/src/build'



What can I do to help provide more debugging info?
_
  Racket Developers list:
  http://lists.racket-lang.org/dev