[Pkg-chromium-maint] Bug#674728: #674728 chromium: FTBFS on armel and armhf
Timo Juhani Lindfors
timo.lindfors at iki.fi
Fri Jun 1 08:09:44 UTC 2012
Hi,
shawn <shawnlandden at gmail.com> writes:
> Here is a working patch against current sid version. (for at least
> armel)
>
> It won't cleanly "git am" against git, but if you read it, it is trivial
> to resolve (but tedious)
> however, I do not know how to check against git anyways, as that debian
> directory doesn't seem to be capable of building the sid source package,
> and i don't know where and what version of source i should use against
> it.
I just tested the binary you built. It prints
[28996:28996:383359135708:ERROR:data_pack.cc(133)] Entry #3 in data pack points off end of file. Was the file corrupted?
[28996:28996:383359136274:FATAL:resource_bundle_posix.cc(56)] Check failed: resources_data_. failed to load chrome.pak
but then sleeps forever. gdb shows
#0 0x40b414fc in recvmsg () at ../sysdeps/unix/syscall-template.S:82
#1 0x2b0a14b4 in UnixDomainSocket::RecvMsg (fd=11, buf=<optimized out>, length=<optimized out>, fds=0xbe83b67c) at content/common/unix_domain_socket_posix.cc:69
#2 0x2bf1df9c in ZygoteHost::Init (this=0x40024eec, sandbox_cmd=...) at content/browser/zygote_host_linux.cc:181
#3 0x2be18038 in SetupSandbox (parsed_command_line=...) at content/browser/browser_main_loop.cc:97
#4 content::BrowserMainLoop::EarlyInitialization (this=0x2d3516b0) at content/browser/browser_main_loop.cc:256
#5 0x2be177c8 in BrowserMain (parameters=...) at content/browser/browser_main.cc:54
#6 0x2ab2ef9c in RunNamedProcessTypeMain (delegate=<optimized out>, main_function_params=..., process_type=...) at content/app/content_main.cc:264
#7 content::ContentMain (argc=28992, argv=0xbe83c234, delegate=0xbe83c0b4) at content/app/content_main.cc:457
#8 0x2a1bb974 in ChromeMain (argc=2, argv=0xbe83c234) at chrome/app/chrome_main.cc:32
#9 0x2a1baba8 in main (argc=<optimized out>, argv=<optimized out>) at chrome/app/chrome_exe_main_gtk.cc:18
This is exactly the same behavior I saw with 16.0.912.77~r118311-1:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660187
I can't use strace directly since there is some suid helper:
Failed to move to new PID namespace: Operation not permitted
If I replace chromium-sandbox with a wrapper shell script then I can see
29492 execve("/usr/lib/chromium/chromium", ["/usr/lib/chromium/chromium", "--type=zygote"], [/* 37 vars */]) = 0
29492 brk(0) = 0x2d344000
29492 uname({sys="Linux", node="mv78100", ...}) = 0
...
29492 stat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
29492 stat64("/home/lindi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
29492 stat64("/home/lindi/.pki", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
29492 stat64("/home/lindi/.pki/nssdb", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
29492 statfs64("/home/lindi/.pki/nssdb", 88, {f_type="NFS_SUPER_MAGIC", f_bsize=4096, f_blocks=69946375, f_bfree=17608227, f_bavail=14055152, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
29492 uname({sys="Linux", node="mv78100", ...}) = 0
29492 readlink("/proc/self/exe", "/usr/lib/chromium/chromium", 4096) = 26
29492 open("/usr/lib/chromium/chrome.pak", O_RDONLY|O_LARGEFILE) = 4
29492 fstat64(4, {st_mode=S_IFREG|0644, st_size=3484478, ...}) = 0
29492 mmap2(NULL, 3484478, PROT_READ, MAP_SHARED, 4, 0) = 0x42160000
29492 gettid() = 29492
29492 clock_gettime(CLOCK_MONOTONIC, {384255, 54286444}) = 0
29492 write(2, "[29492:29492:384255054286:ERROR:data_pack.cc(133)] Entry #3 in data pack points off end of file. Was the file corrupted?\n", 121) = 121
29492 munmap(0x42160000, 3484478) = 0
29492 close(4) = 0
29492 gettid() = 29492
29492 clock_gettime(CLOCK_MONOTONIC, {384255, 56244162}) = 0
29492 write(2, "[29492:29492:384255056244:FATAL:resource_bundle_posix.cc(56)] Check failed: resources_data_. failed to load chrome.pak\n", 119) = 119
29492 open("/proc/self/status", O_RDONLY|O_LARGEFILE) = 4
29492 read(4, "Name:\tchromium\nState:\tR (running)\nTgid:\t29492\nPid:\t29492\nPPid:\t29490\nTracerPid:\t29490\nUid:\t1001\t1001\t1001\t1001\nGid:\t1001\t1001\t1001\t1001\nFDSize:\t32\nGroups:\t1001 \nVmPeak:\t 90168 kB\nVmSize:\t 86764 kB\nVmLck:\t 0 kB\nVmHWM:\t 8672 kB\nVmRSS:\t 8668 kB\nVmData:\t 444 kB\nVmStk:\t 88 kB\nVmExe:\t 51300 kB\nVmLib:\t 31696 kB\nVmPTE:\t 64 kB\nThreads:\t1\nSigQ:\t2/16382\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000001000\nSigCgt:\t0000000180000000\nCapInh:\t0000000000000000\nCapPrm:\t0000000000000000\nCapEff:\t0000000000000000\nCapBnd:\tfffffffffffffeff\nvoluntary_ctxt_switches:\t3301\nnonvoluntary_ctxt_switches:\t9\n", 1024) = 664
29492 close(4) = 0
29492 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
29492 tgkill(29492, 29492, SIGABRT) = 0
29492 --- SIGABRT (Aborted) @ 0 (0) ---
29492 +++ killed by SIGABRT +++
$ chromium --no-sandbox
Xlib: extension "RANDR" missing on display ":5".
[29624:29629:384546534600:ERROR:bus.cc(261)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[29624:29629:384546535116:ERROR:bus.cc(261)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[29624:29624:384546558838:ERROR:data_pack.cc(133)] Entry #3 in data pack points off end of file. Was the file corrupted?
[29624:29624:384546559835:FATAL:resource_bundle_posix.cc(56)] Check failed: resources_data_. failed to load chrome.pak
[29628:29628:384546757781:ERROR:data_pack.cc(133)] Entry #3 in data pack points off end of file. Was the file corrupted?
[29628:29628:384546758345:FATAL:resource_bundle_posix.cc(56)] Check failed: resources_data_. failed to load chrome.pak
mv78100:~$ echo $?
1
-Timo
More information about the Pkg-chromium-maint
mailing list