Does maemo-launcher require a specially patched Pango?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ext Matt Hoosier wrote:
> Hi,
>
> I'm attempting to use maemo-launcher on some generic ARM embedded
> hardware which doesn't run the full Maemo library stack, and I've run
> into a couple of problems.
>
> First, there's the bug about gdk_display_close() which is mentioned in
> the README file, which results in the daemon process crashing as it
> tries to run the Gtk booster. The underlying GDK bug is fixed in
> upstream Gtk+ >= 2.10.
>
> There's also something strange happening to the forked child
> processes. The symptom when one executes the 'gtk-demo' program
> (relinked to export its 'main' symbol):
>
> ---8<---
>
> maemo-launcher: FcInit() took 0.006259 seconds
> maemo-launcher: gtk_parse_args() took 0.013969 seconds
> maemo-launcher: gtk_foo_get_type() functions took 0.027256 seconds
> maemo-launcher: init_gquarks() took 0.029781 seconds
> maemo-launcher: gtk_style_new() took 0.043788 seconds
> maemo-launcher: gtk_settings_get_default() took 0.044009 seconds
> maemo-launcher: gdk_display_close() took 0.044827 seconds
> maemo-launcher: invoke_recv_msg: b0070301
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_recv_msg: 5a5e0000
> maemo-launcher: invoke_recv_msg: 0000001f
> maemo-launcher: invoke_recv_str: '/usr/local/bin/gtk-demo.launch'
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_recv_msg: e8ec0000
> maemo-launcher: invoke_recv_msg: 0000001f
> maemo-launcher: invoke_recv_str: '/usr/local/bin/gtk-demo.launch'
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_recv_msg: a4650000
> maemo-launcher: invoke_recv_msg: 00000001
> maemo-launcher: invoke_recv_msg: 0000001f
> maemo-launcher: invoke_recv_str: '/usr/local/bin/gtk-demo.launch'
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_recv_msg: a1ce0000
> maemo-launcher: invoke_recv_msg: 00000000
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_recv_msg: dead0000
> maemo-launcher: invoke_send_msg: 600d0000
> maemo-launcher: invoke_send_msg: 1d1d0000
> maemo-launcher: invoke_send_msg: 00002ba7
> maemo-launcher: invoking '/usr/local/bin/gtk-demo.launch'
> maemo-launcher: env[0]='MANPATH=/usr/local/bin'
> maemo-launcher: env[1]='SBOX_DPKG_BUILDDEPS=yes'
> maemo-launcher: env[2]='_SBOX_USER_GROUPNAME=matt'
> maemo-launcher: env[3]='_SBOX_DIR=/scratchbox'
> maemo-launcher: env[4]='SHELL=/bin/sh'
> maemo-launcher: env[5]='TERM=xterm'
> maemo-launcher:
> env[6]='SBOX_REDIRECT_BINARIES=,/scratchbox/devkits/doctools/bin/install-info:/scratchbox/devkits/debian/bin/install-info,/usr/lib/dpkg/enoent:/scratchbox/devkits/debian/lib/dpkg/enoent'
>
> maemo-launcher: env[7]='TMPDIR=/var/tmp'
> maemo-launcher: env[8]='SBOX_PRELOAD=/scratchbox/tools/lib/libsb.so.0'
> maemo-launcher: env[9]='SBOX_LD_FAKE_NATIVE=yes'
> maemo-launcher: env[10]='SBRSH_RLIMIT_CORE=unlimited'
> maemo-launcher: env[11]='OLDPWD=/'
> maemo-launcher: env[12]='SBOX_READLINK_HACK=yes'
> maemo-launcher: env[13]='LC_ALL=C'
> maemo-launcher: env[14]='SBOX_UNAME_MACHINE=i686'
> maemo-launcher: env[15]='USER=matt'
> maemo-launcher:
> env[16]='LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib'
>
> maemo-launcher: env[17]='LIBTOOL=/targets/links/arch_tools/bin/libtool'
> maemo-launcher: env[18]='CCACHE_DIR=/scratchbox/ccache/'
> maemo-launcher: env[19]='CXXFLAGS=-g'
> maemo-launcher: env[20]='_SBOX_SHELL_PID=11140'
> maemo-launcher: env[21]='SBOX_USE_CCACHE=yes'
> maemo-launcher:
> env[22]='PATH=/usr/local/bin:/scratchbox/devkits/perl/bin:/scratchbox/devkits/debian/bin:/scratchbox/devkits/doctools/bin:/scratchbox/tools/bin:/targets/links/arch_tools/bin:/host_usr/bin:/scratchbox/compilers/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin'
>
> maemo-launcher: env[23]='PWD=/home/matt'
> maemo-launcher: env[24]='TZ=:/scratchbox/etc/localtime'
> maemo-launcher: env[25]='SBOX_DPKG_INST_ARCH=i386'
> maemo-launcher: env[26]='SHLVL=1'
> maemo-launcher: env[27]='HOME=/home/matt'
> maemo-launcher: env[28]='CFLAGS=-g'
> maemo-launcher:
> env[29]='SBOX_CPUTRANSPARENCY_LOG=/tmp/cputransp_matt.log'
> maemo-launcher: env[30]='LS_OPTIONS=--color=auto'
> maemo-launcher: env[31]='TMP=/var/tmp'
> maemo-launcher:
> env[32]='PYTHONPATH=/scratchbox/devkits/perl/lib/site-python:/scratchbox/devkits/debian/lib/site-python:/scratchbox/devkits/doctools/lib/site-python:'
>
> maemo-launcher: env[33]='LOGNAME=matt'
> maemo-launcher:
> env[34]='SBOX_REDIRECT_FROM_DIRS=/bin:/usr/bin:/usr/local/bin'
> maemo-launcher: env[35]='_SBOX_RESTART_FILE=/tmp/scratchbox-restart.matt'
> maemo-launcher:
> env[36]='SBOX_REDIRECT_TO_DIRS=/scratchbox/devkits/perl/bin:/scratchbox/devkits/debian/bin:/scratchbox/devkits/doctools/bin::/scratchbox/tools/bin:/targets/links/arch_tools/bin:/scratchbox/compilers/bin'
>
> maemo-launcher: env[37]='PKG_CONFIG_PATH=/usr/local/lib/pkgconfig'
> maemo-launcher: env[38]='LESSOPEN=|/scratchbox/tools/bin/lesspipe.sh %s'
> maemo-launcher: env[39]='PROMPT_COMMAND=echo -ne
> "\033]0;scratchbox@${HOSTNAME}\007"'
> maemo-launcher: env[40]='DISPLAY=:1'
> maemo-launcher: env[41]='_=/usr/local/bin/gtk-demo.launch'
> maemo-launcher: env[42]='LD_PRELOAD='
> maemo-launcher: argv[0]='/usr/local/bin/gtk-demo.launch'
> maemo-launcher: launching process: '/usr/local/bin/gtk-demo.launch'
>
> (gtk-demo.launch:11175): Gtk-CRITICAL **:
> _gtk_rc_context_get_default_font_name: assertion `GTK_IS_SETTINGS
> (settings)' failed
>
> (gtk-demo.launch:11175): Pango-CRITICAL **:
> pango_font_description_from_string: assertion `str != NULL' failed
>
> (gtk-demo.launch:11175): Pango-CRITICAL **:
> pango_font_description_get_family: assertion `desc != NULL' failed
>
> (gtk-demo.launch:11175): Gtk-WARNING **: Default font does not have a
> family set
>
> (gtk-demo.launch:11175): Pango-CRITICAL **:
> pango_font_description_set_family: assertion `desc != NULL' failed
>
> (gtk-demo.launch:11175): Pango-CRITICAL **:
> pango_font_description_get_size: assertion `desc != NULL' failed
>
> (gtk-demo.launch:11175): Gtk-WARNING **: Default font does not have a
> positive size
>
> (gtk-demo.launch:11175): Pango-CRITICAL **:
> pango_font_description_set_size: assertion `desc != NULL' failed
> maemo-launcher: invoke_send_msg: e4170000
> maemo-launcher: invoke_send_msg: 0000008b
> maemo-launcher: child (pid=11175) exited due to signal=11
>
> --->8---
>
> This same trouble doesn't appear when I use the summoner [nor when I
> run the daemon without the Gtk Booster], so I'm reasonably sure that
> the trouble is related to the Gtk booster.
>
> The relevant libraries in my build here are stock Glib 2.12.0, Gtk+
> 2.10.6, and Pango 1.14.5. Are there any particular patches applied to
> Maemo's build of Pango, which are known to be required by the
> maemo-launcher? Alternately, it looks like the trouble reported by the

Nope. There's only 2 patches, one for linebreaking (see
http://bugzilla.gnome.org/show_bug.cgi?id=131625), one for caching
extents of the drawn area + our configuration (parameters passed to
configure from debian/rules, these might differ from some distros).

> various Pango functions above could be caused by an invalid
> GtkSettings object. Perhaps there's some other relevant bit in the

I think what happens here is that gtk-demo fails in initialization and
therefore has invalid data passed to pango functions and Pango complains.

> Maemo fork of Gtk+ which I should be including?
>
> Thanks,
>
> Matt
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users
>

// Tapani




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux