[Sugar-devel] Weird sugar-build crashes
Daniel Narvaez
dwnarvaez at gmail.com
Sat Apr 12 19:49:04 EDT 2014
Try this
./sugar-build shell
Xephyr :100 &
(go back to the same terminal, press enter)
DISPLAY=:100 sugar
If it's segfaulting, apply this patch to sugar
diff --git a/bin/sugar.in b/bin/sugar.in
index aebb897..0a0b61f 100644
--- a/bin/sugar.in
+++ b/bin/sugar.in
@@ -76,4 +76,4 @@ cat > $debug_file_path << EOF
EOF
fi
-exec python2 -m jarabe.main
+exec gdb --args python2 -m jarabe.main
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.
On 12 April 2014 22:17, Sam Parkinson <sam.parkinson3 at gmail.com> wrote:
> Hi,
>
> My sugar build has recently started playing up. Whenever I run sugar it
> crashes like this:
>
> 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
>
> Also in shell.log
>
> (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.
>
> I tried removing my profile but it didn't help. Does anyone know what it
> is?
>
> Thanks, Sam
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140413/4d26070b/attachment.html>
More information about the Sugar-devel
mailing list