<div dir="ltr"><div><div><div>Try this<br><br></div>./sugar-build shell<br></div>Xephyr :100 &<br></div>(go back to the same terminal, press enter)<br><div>DISPLAY=:100 sugar<br><br></div><div>If it's segfaulting, apply this patch to sugar<br>
<br>diff --git a/bin/<a href="http://sugar.in">sugar.in</a> b/bin/<a href="http://sugar.in">sugar.in</a><br>index aebb897..0a0b61f 100644<br>--- a/bin/<a href="http://sugar.in">sugar.in</a><br>+++ b/bin/<a href="http://sugar.in">sugar.in</a><br>
@@ -76,4 +76,4 @@ cat > $debug_file_path << EOF<br> EOF<br> fi<br> <br>-exec python2 -m jarabe.main<br>+exec gdb --args python2 -m jarabe.main<br></div><div><br></div><div>Then retry the same you have done above, when you get to the gdb prompt type "run", if it segfaults type "bt" and post the output. <br>
</div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 April 2014 22:17, Sam Parkinson <span dir="ltr"><<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><p style="margin:1.2em 0px!important">Hi,</p>
<p style="margin:1.2em 0px!important">My sugar build has recently started playing up. Whenever I run sugar it crashes like this:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">Gtk-Message: Failed to load module "pk-gtk-module"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
most recent call last):
File "/home/broot/sugar-build/build/commands/broot/run", line 16, in <module>
run.run("sugar-runner")
File "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/run.py", line 38, in run
command.run(args, **kwargs)
File "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/command.py", line 39, in run
t-in extension DAMAGE
alledProcessError(result, args)
subprocess.CalledProcessError: Command '['sugar-runner', '--resolution', u'800x600']' returned non-zero exit status 1
! Failed to run command run
Killing 4447
! Failed to run command runlizing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
Warning: Key <OUTP> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <KITG> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <KIDN> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <KIUP> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <RO> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I192> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I193> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I194> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I195> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I196> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: Key <I255> not found in evdev+aliases(qwerty) keycodes
Symbols ignored
Warning: No symbols defined for <AB11> (keycode 97)
Warning: No symbols defined for <JPCM> (keycode 103)
Warning: No symbols defined for <I120> (keycode 120)
Warning: No symbols defined for <AE13> (keycode 132)
Warning: No symbols defined for <I149> (keycode 149)
Warning: No symbols defined for <I154> (keycode 154)
Warning: No symbols defined for <I161> (keycode 161)
Warning: No symbols defined for <I168> (keycode 168)
Warning: No symbols defined for <I178> (keycode 178)
Warning: No symbols defined for <I183> (keycode 183)
Warning: No symbols defined for <I184> (keycode 184)
Warning: No symbols defined for <FK19> (keycode 197)
Warning: No symbols defined for <FK24> (keycode 202)
Warning: No symbols defined for <I217> (keycode 217)
Warning: No symbols defined for <I219> (keycode 219)
Warning: No symbols defined for <I221> (keycode 221)
Warning: No symbols defined for <I222> (keycode 222)
Warning: No symbols defined for <I230> (keycode 230)
Warning: No symbols defined for <I247> (keycode 247)
Warning: No symbols defined for <I248> (keycode 248)
Warning: No symbols defined for <I249> (keycode 249)
Warning: No symbols defined for <I250> (keycode 250)
Warning: No symbols defined for <I251> (keycode 251)
Warning: No symbols defined for <I252> (keycode 252)
Warning: No symbols defined for <I253> (keycode 253)
gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost
Traceback (most recent call last):
File "/home/broot/sugar-build/build/commands/broot/run", line 16, in <module>
run.run("sugar-runner")
File "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/run.py", line 38, in run
command.run(args, **kwargs)
File "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/command.py", line 39, in run
raise subprocess.CalledProcessError(result, args)
subprocess.CalledProcessError: Command '['sugar-runner', '--resolution', u'800x600']' returned non-zero exit status 1
! Failed to run command run
Killing 4447
! Failed to run command run
</code></pre><p style="margin:1.2em 0px!important">Also in shell.log</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">(process:4454): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Window manager warning: Locale not understood by C library, internationalization will not work
(metacity:4503): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
</code></pre><p style="margin:1.2em 0px!important">I tried removing my profile but it didn’t help. Does anyone know what it is?</p>
<p style="margin:1.2em 0px!important">Thanks, Sam</p>
</div></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>