MantisBT - NetSurf | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000434 | NetSurf | [All Projects] General | public | 2012-10-26 10:05 | 2017-09-09 13:46 |
Reporter | Davide Ciminaghi | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | unable to reproduce | ||
Platform | OS | OS Version | |||
Product Version | 2.9 | ||||
Target Version | Fixed in Version | ||||
Fixed in CI build # | |||||
Reported in CI build # | |||||
URL of problem page | |||||
Summary | 0000434: "Base stylesheet failed to load" on second page loaded | ||||
Description | Hi, I'm trying to use Netsurf on an arm926ejs platform. What happens is that the first page I load is ok, but when I click on any link I get an error ("Base stylesheet failed to load") in the lower left corner of the screen. The same page does not fail if loaded first (via netsurf command line). This happens with all the sites I tried up to now. Netsurf target is framebuffer, sdl, tslib (800x480 16bpp). === DETAILS ABOUT SOURCE CODE === Netsurf versions tested: 2.9 (debian sources), and netsurf from git: git://git.netsurf-browser.org/netsurf.git Both versions show the same problem. All the details I'm about to list refer to the git version. netsurf git log: 646b33d make it possible using a custom freetype-config 33d40a0 Unstackify RISC OS content handler's title setting. baf50ce make image content handlers title setting use the heap instead of the st 0b7db9b treeview.c hasn't been pushed yet. The commit on top is a small change I made for cross-compiling: $ git show 646b33d commit 646b33d97702fd1d52464640d301d115d8192664 Author: Davide Ciminaghi <ciminaghi@gnudd.com> Date: Thu Oct 25 18:33:15 2012 +0200 make it possible using a custom freetype-config diff --git a/framebuffer/Makefile.target b/framebuffer/Makefile.target index 2a41f41..9233901 100644 --- a/framebuffer/Makefile.target +++ b/framebuffer/Makefile.target @@ -7,8 +7,9 @@ $(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG/MNG/JNG ( $(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG (libpng) )) ifeq ($(NETSURF_FB_FONTLIB),freetype) - CFLAGS += -DFB_USE_FREETYPE $(shell freetype-config --cflags) - LDFLAGS += $(shell freetype-config --libs) + FREETYPE_CONFIG ?= freetype-config + CFLAGS += -DFB_USE_FREETYPE $(shell $(FREETYPE_CONFIG) --cflags) + LDFLAGS += $(shell $(FREETYPE_CONFIG) --libs) endif netsurf libraries also cloned from git yesterday. Buildsystem: ciminaghi@dello:netsurf-git-libraries/buildsystem$ git log --oneline 8cf8b9a Add backslash 8d82336 Install binaries with correct permissions. af7e594 add coldfire atari 2359506 use more portable ccache detection ... Libraries: ciminaghi@dello:netsurf-git-libraries$ for d in lib* ; do pushd $d >/dev/null 2>&1 ; echo $d ; git log --oneline HEAD~~~..HEAD; popd >/dev/null 2>&1 ; done libcss 7a4d170 Hopefully silence a warning 3c973e0 Prioritise id and class hashes over element hash when inserting rules. 71d2898 Skip empty/broken rules early, before we match their selector chains. libdom 733d263 extend binding error enumeration to explicitly include hubbub errors 88a1e6a Fix for current libdom. 9c18242 Update comment. libhubbub 1dee56a Fix up for json-c 0.10 797d66f Sprinkle some const correctness around e3e7423 update for json-c 0.10 API libnsbmp efc2688 Remove suspend/invalidate stuff. 1ad808f Update to new NSBUILD infrastructure 3bec1ff Simple gitignore libnsfb 301429b avoid -Wno-overlength-strings 480b235 Split 32bpp support into xrgba, xbgr, and common. Should allow for BGR 1fbc4a8 Fix error text. libnsgif d4e35f2 Update to new NSBUILD infrastructure cdf1c3f Simple gitignore 041bf46 Bump version libparserutils 2c42fc0 -DWITHOUT_ICONV_FILTER a8c2e01 Fix input insertion. The gap in teh input was being created at the wrong 1c71d3e add simple insert test when an a is found in teh input stream libwapcaplet f9d1b53 Update to new NSBUILD infrastructure 0dc7a60 Basic gitignore 1e24766 Rework the majority of wapcaplet's interface to be macros. This removes libnsfb and libparserutils have two more changes of mine for cross-compiling: ciminaghi@dello:libnsfb$ git show commit 301429b82cb99ce971a85d372cdb3ea487e9e653 Author: Davide Ciminaghi <ciminaghi@gnudd.com> Date: Thu Oct 25 17:12:46 2012 +0200 avoid -Wno-overlength-strings diff --git a/Makefile b/Makefile index 1fd4d47..47fa07b 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,7 @@ TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT) # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -Werror -pedantic \ - -Wno-overlength-strings # For nsglobe.c + -Wmissing-declarations -Wnested-externs -Werror -pedantic CFLAGS := -g -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L \ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) This was done because my compiler does not support -Wno-overlength-strings ciminaghi@dello:libparserutils$ git show 2c42fc0 commit 2c42fc03665dc11a95c56eae789ff0ca199262b6 Author: Davide Ciminaghi <ciminaghi@gnudd.com> Date: Thu Oct 25 17:38:51 2012 +0200 -DWITHOUT_ICONV_FILTER diff --git a/Makefile.config b/Makefile.config index 15c0a48..4a5363e 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,7 +1,7 @@ # Configuration Makefile fragment # Disable use of iconv in the input filter -# CFLAGS := $(CFLAGS) -DWITHOUT_ICONV_FILTER +CFLAGS := $(CFLAGS) -DWITHOUT_ICONV_FILTER # Cater for local configuration changes -include Makefile.config.override This was done because I was on a hurry and didn't have the time to add Makefile.config.override. ==== DETAILS ABOUT THE BUILD PROCESS The build process is performed by an homemade Makefile and a bunch of bash scripts (this stuff is some years old, I didn't know things like openembedded and the like). The netsurf-git package was built with the following packages: curl-7.26.0 openssl-1.0.1c libjpeg6b-6b libxml2-2.8.0+dfsg1 libpng-1.2.15~beta5 freetype-2.4.10 libsdl1.2-1.2.11 tslib-1.0 netsurf-git-libraries as pre-requisites. The following make variables are forced via make command line: PREFIX=/usr/local TARGET=framebuffer Q= VQ= FREETYPE_CONFIG=${STAGING_DIR}/packages/freetype-2.4.10/usr/local/bin/freetype-config DESTDIR=${STAGING_DIR}/packages/netsurf-git/ NETSURF_FB_FONTPATH=/opt/qt-4.6.3/arm926-eabi/lib/fonts/ PKG_CONFIG_LIBDIR=${STAGING_DIR}/global_pkgconfig/ NETSURF_USE_MNG=NO NETSURF_FB_FONTLIB=freetype CFLAGS and LDFLAGS are also passed (in the environment): CFLAGS="-I${STAGING_DIR}/packages/libjpeg6b-6b/usr/local/include/ -L${STAGING_DIR}/packages/libjpeg6b-6b/usr/local/lib -I${STAGING_DIR}/packages/zlib-1.2.3/usr/include/ -L${STAGING_DIR}/packages/zlib-1.2.3/usr/local/lib -I${STAGING_DIR}/packages/libpng-1.2.15~beta5/usr/include -L${STAGING_DIR}/packages/libpng-1.2.15~beta5/usr/local/lib" LDFLAGS="-L${STAGING_DIR}/packages/libjpeg6b-6b/usr/local/lib -L${STAGING_DIR}/packages/zlib-1.2.3/usr/local/lib -L${STAGING_DIR}/packages/libpng-1.2.15~beta5/usr/local/lib -L$(dirname $(${CROSS_COMPILE}gcc --print-file-name libm.so)) -lm" My build host is an x86-64 machine running debian wheezy. ==== DETAILS ABOUT THE TOOLCHAIN ==== /opt/arm926ejs/bin/arm-926ejs-linux-gnueabi-gcc --version arm-926ejs-linux-gnueabi-gcc (GCC) 4.1.1 (STMicroelectronics/Linux Base 4.1.1-27) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /opt/arm926ejs/bin/arm-926ejs-linux-gnueabi-as --version GNU assembler 2.17.50.0.4 20060924 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `arm-926ejs-linux-gnueabi'. ===== DETAILS ABOUT THE MACHINE ====== # cat /proc/cpuinfo Processor : ARM926EJ-S rev 5 (v5l) BogoMIPS : 163.02 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 5 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format : Harvard I size : 16384 I assoc : 4 I line length : 32 I sets : 128 D size : 16384 D assoc : 4 D line length : 32 D sets : 128 Hardware : XXXXXX Revision : 0000 Serial : 0000000000000000 # cat /proc/meminfo MemTotal: 126168 kB MemFree: 90488 kB Buffers: 0 kB Cached: 12912 kB SwapCached: 0 kB Active: 8492 kB Inactive: 5304 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 908 kB Mapped: 1432 kB Slab: 2436 kB SReclaimable: 868 kB SUnreclaim: 1568 kB PageTables: 60 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 63084 kB Committed_AS: 1652 kB VmallocTotal: 57344 kB VmallocUsed: 9748 kB VmallocChunk: 40956 kB # uname -a Linux 192.168.0.239 2.6.20 #107 PREEMPT Wed Mar 7 12:17:05 CET 2012 armv5tejl GNU/Linux ==== DETAILS ABOUT HOW NETSURF IS RUN ===== # I'm running nfs now cd /mnt/nfs/compilare_tutto/build_dir/netsurf-git/ # Set framebuffer to rgb565 fbset 565 # Export some useful env variables export LD_LIBRARY_PATH=/usr/local/ssl/lib/ export TSLIB_CONFFILE=/etc/ts.conf export TSLIB_CALIBFILE=/etc/pointercal export TSLIB_CONSOLEDEVICE=none export SDL_MOUSEDEV=/dev/input/event0 export SDL_MOUSEDRV=TSLIB export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_PLUGINDIR=/usr/local/lib/ts/ export http_proxy=http://192.168.0.253:3128 #./nsfb -v -f sdl -w 800 -h 480 -b 16 http://www.w3schools.com/html/html_examples.asp 2>&1 | tee /mnt/nfs/buglog # First page is loaded ok, then click on "A very simple HTML document" ==== ATTACHMENT ==== netsurf runtime output with -v set and netsurf build log | ||||
Additional Information | Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3580465 on Tue Dec 10 17:34:12 2013 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2013-12-10 17:41 | Vincent Sanders | New Issue | |||
2013-12-10 17:41 | Vincent Sanders | Status | new => assigned | ||
2013-12-10 17:41 | Vincent Sanders | Assigned To | => Sourceforge Import placeholder | ||
2013-12-10 17:41 | Vincent Sanders | Description Updated | bug_revision_view_page.php?rev_id=42#r42 | ||
2013-12-18 16:47 | Vincent Sanders | Note Added: 0000065 | |||
2013-12-18 16:47 | Vincent Sanders | Assigned To | Sourceforge Import placeholder => | ||
2013-12-18 16:47 | Vincent Sanders | Status | assigned => feedback | ||
2013-12-18 16:47 | Vincent Sanders | Resolution | no change required => open | ||
2013-12-18 16:47 | Vincent Sanders | Product Version | => 2.9 | ||
2013-12-18 16:47 | Vincent Sanders | Description Updated | bug_revision_view_page.php?rev_id=409#r409 | ||
2013-12-18 16:47 | Vincent Sanders | Additional Information Updated | bug_revision_view_page.php?rev_id=411#r411 | ||
2017-09-09 13:46 | kinnison | Status | feedback => closed | ||
2017-09-09 13:46 | kinnison | Resolution | open => unable to reproduce | ||
2017-09-09 13:46 | kinnison | Note Added: 0001592 |