Thanks a lot for the fix!<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 03:40, Matthew Flatt <span dir="ltr">&lt;<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
X-specific GRacket bug --- fixed in the git repo.<br>
<br>
Thanks for the report,<br>
Matthew<br>
<div><div></div><div class="h5"><br>
At Wed, 7 Jul 2010 13:32:53 +0200, Laurent wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am trying to build a distribution for a Racket project.<br>
&gt; This now works fine on Windows (even the distribution on a different<br>
&gt; machine), but I&#39;m having troubles on Unix (Ubuntu 10.04).<br>
&gt; The created executable  (via `create-embedded-executable&#39;) works fine, but<br>
&gt; the problem occurs when I launch the executable of the created distribution<br>
&gt; (via `assemble-distribution&#39;). (see log below)<br>
&gt;<br>
&gt; It looks like there is a problem while loading an image.<br>
&gt; All images (and some more, just in case) are referred to with<br>
&gt; `define-runtime-path&#39; et al.<br>
&gt;<br>
&gt; I use Racket 5.0.0.7--2010-07-06(c4cb424/a) [3m], but there was the same<br>
&gt; problem with 5.0.0.1.<br>
&gt; Does the problem seem to come from how I use things, or does this look like<br>
&gt; a Racket bug?<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Laurent<br>
&gt;<br>
&gt; Log:<br>
&gt;<br>
&gt; laurent@ubuntu:/my-path/bin$ ./towers<br>
&gt; *** stack smashing detected ***: /my-path/bin/./towers terminated<br>
&gt; ======= Backtrace: =========<br>
&gt; /lib32/libc.so.6(__fortify_fail+0x50)[0xf719c4a0]<br>
&gt; /lib32/libc.so.6(+0xe444a)[0xf719c44a]<br>
&gt; /my-path/bin/./towers[0x80b683b]<br>
&gt; /my-path/bin/./towers(_ZN7wxImage4LoadEPc+0x52)[0x80b6892]<br>
&gt; /my-path/bin/./towers(_Z16wxLoadIntoBitmapPcP8wxBitmapPP11wxColourMapi+0xc9)[0x<br>
&gt; 80b74a9]<br>
&gt; /my-path/bin/./towers(_ZN8wxBitmap8LoadFileEPclP8wxColour+0x456)[0x80a0846]<br>
&gt; /my-path/bin/./towers(_ZN8wxBitmap15gcInit_wxBitmapEPclP8wxColour+0x7f)[0x80a08<br>
&gt; ef]<br>
&gt; /my-path/bin/./towers[0x8106795]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x10f2)[0x81a0fb2]<br>
&gt; /my-path/bin/./towers[0x80d0e5e]<br>
&gt; [0xf773f59e]<br>
&gt; [0xf4ab13b0]<br>
&gt; [0xf124f6a0]<br>
&gt; [0xf54bad40]<br>
&gt; [0xf54ba6e0]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x1596)[0x81a1456]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0xb51)[0x81a0a11]<br>
&gt; /my-path/bin/./towers[0x83005f7]<br>
&gt; /my-path/bin/./towers[0x8300eac]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0xcdc)[0x81a0b9c]<br>
&gt; /my-path/bin/./towers[0x822f479]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x14b2)[0x81a1372]<br>
&gt; /my-path/bin/./towers(scheme_finish_apply_for_prompt+0x200)[0x81c4d90]<br>
&gt; /my-path/bin/./towers(scheme_apply_for_prompt+0x50)[0x81c4ef0]<br>
&gt; /my-path/bin/./towers[0x81d2b86]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x10f2)[0x81a0fb2]<br>
&gt; /my-path/bin/./towers[0x81cec70]<br>
&gt; /my-path/bin/./towers(scheme_module_run_finish+0x22d)[0x822f6ad]<br>
&gt; [0xf773e2f5]<br>
&gt; /my-path/bin/./towers(scheme_module_run_start+0x4e)[0x81e110e]<br>
&gt; /my-path/bin/./towers[0x822b381]<br>
&gt; /my-path/bin/./towers[0x822b44d]<br>
&gt; /my-path/bin/./towers[0x823b58a]<br>
&gt; /my-path/bin/./towers(scheme_module_start_finish+0x29d)[0x8245aed]<br>
&gt; [0xf773e33f]<br>
&gt; /my-path/bin/./towers(scheme_module_start_start+0x41)[0x81e1011]<br>
&gt; /my-path/bin/./towers[0x823b4b7]<br>
&gt; /my-path/bin/./towers[0x823bdc9]<br>
&gt; /my-path/bin/./towers[0x823d8bc]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x10f2)[0x81a0fb2]<br>
&gt; /my-path/bin/./towers[0x81c1241]<br>
&gt; /my-path/bin/./towers(scheme_force_value_same_mark+0x42)[0x81c1392]<br>
&gt; [0xf54bbc81]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x1596)[0x81a1456]<br>
&gt; /my-path/bin/./towers(_scheme_apply_multi_from_native+0x48)[0x81a2e18]<br>
&gt; [0xf773f574]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x1596)[0x81a1456]<br>
&gt; /my-path/bin/./towers[0x81c0d1c]<br>
&gt; /my-path/bin/./towers(scheme_top_level_do_worker+0x317)[0x81caf27]<br>
&gt; /my-path/bin/./towers(scheme_top_level_do+0x28)[0x81cb938]<br>
&gt; /my-path/bin/./towers[0x809a6f2]<br>
&gt; /my-path/bin/./towers(_ZN7MrEdApp8RealInitEv+0x6e)[0x80c8a3e]<br>
&gt; /my-path/bin/./towers[0x80cb67e]<br>
&gt; /my-path/bin/./towers(scheme_do_eval+0x14b2)[0x81a1372]<br>
&gt; /my-path/bin/./towers[0x81c0d1c]<br>
&gt; /my-path/bin/./towers(scheme_top_level_do_worker+0x4a3)[0x81cb0b3]<br>
&gt; /my-path/bin/./towers(scheme_apply_thread_thunk+0x5d)[0x81cb90d]<br>
&gt; /my-path/bin/./towers[0x830bb85]<br>
&gt; /my-path/bin/./towers[0x8315247]<br>
&gt; /my-path/bin/./towers(scheme_thread_w_details+0x8c)[0x83153ac]<br>
&gt; /my-path/bin/./towers(_Z10wxDoEventsv+0x9c)[0x80cc11c]<br>
&gt; /my-path/bin/./towers(_ZN5wxApp8MainLoopEv+0x3d)[0x809c8ad]<br>
&gt; /my-path/bin/./towers(_Z12wxDoMainLoopv+0x13)[0x80c8423]<br>
&gt; ======= Memory map: ========<br>
&gt; 08048000-0804a000 r-xp 00000000 08:06 67349<br>
&gt; /my-path/lib/plt/gracket3m-5.0.0.7<br>
&gt; 0804a000-0804b000 r--p 00002000 08:06 67349<br>
&gt; /my-path/lib/plt/gracket3m-5.0.0.7<br>
&gt; 0804b000-08382000 r-xp 00003000 08:06 67349<br>
&gt; /my-path/lib/plt/gracket3m-5.0.0.7Abandon<br>
</div></div>&gt; _________________________________________________<br>
&gt;   For list-related administrative tasks:<br>
&gt;   <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</blockquote></div><br>