[Webkit-unassigned] [Bug 68835] New: [GTK] [ATK] testatk fails in the getExtents test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 26 14:31:33 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68835
Summary: [GTK] [ATK] testatk fails in the getExtents test
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: alex at igalia.com
CC: xan.lopez at gmail.com, msanchez at igalia.com
Just happened in my desktop doing the release process, apparently it goes to the beginning of the new line:
[jhbuild]alex at livonia:~/checkout/webkit-1.6$ WebKitBuild/Release/Programs/unittests/testatk
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
/webkit/atk/caretOffsets: OK
/webkit/atk/caretOffsetsAndExtranousWhiteSpaces: OK
/webkit/atk/comboBox: OK
/webkit/atk/embeddedObjects: OK
/webkit/atk/getTextAtOffset: OK
/webkit/atk/getTextAtOffsetForms: OK
/webkit/atk/getTextAtOffsetNewlines: OK
/webkit/atk/getTextAtOffsetTextarea: OK
/webkit/atk/getTextAtOffsetTextInput: OK
/webkit/atk/getTextAtOffsetWithSpecialCharacters: OK
/webkit/atk/getTextInParagraphAndBodySimple: OK
/webkit/atk/getTextInParagraphAndBodyModerate: OK
/webkit/atk/getTextInTable: OK
/webkit/atk/getHeadersInTable: OK
/webkit/atk/textAttributes: OK
/webkit/atk/textSelections: OK
/webkit/atk/getExtents: **
ERROR:../../Source/WebKit/gtk/tests/testatk.c:1335:testWebkitAtkGetExtents: assertion failed (fline_window.height == afline_window.height): (38 == 19)
Abortado (`core' generado)
Program received signal SIGABRT, Aborted.
0x00000037fc4330c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0 0x00000037fc4330c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00000037fc434a76 in abort () at abort.c:92
#2 0x00007ffff2ae9ff9 in g_assertion_message (domain=0x0, file=0x40c940 "../../Source/WebKit/gtk/tests/testatk.c", line=1335, func=0x4109d0 "testWebkitAtkGetExtents", message=0x80edf0 "assertion failed (fline_window.height == afline_window.height): (38 == 19)")
at gtestutils.c:1425
#3 0x00007ffff2aea227 in g_assertion_message_cmpnum (domain=0x0, file=0x40c940 "../../Source/WebKit/gtk/tests/testatk.c", line=1335, func=0x4109d0 "testWebkitAtkGetExtents", expr=0x40e3d0 "fline_window.height == afline_window.height", arg1=38, cmp=0x40fb39 "==",
arg2=19, numtype=105 'i') at gtestutils.c:1459
#4 0x00000000004076ef in testWebkitAtkGetExtents () at ../../Source/WebKit/gtk/tests/testatk.c:1335
#5 0x00007ffff2ae963c in test_case_run (tc=0x675f90) at gtestutils.c:1227
#6 0x00007ffff2ae991b in g_test_run_suite_internal (suite=0x682400, path=0x7ffff2b53820 "") at gtestutils.c:1280
#7 0x00007ffff2ae99dd in g_test_run_suite_internal (suite=0x6777a0, path=0x7ffff2b53820 "") at gtestutils.c:1291
#8 0x00007ffff2ae99dd in g_test_run_suite_internal (suite=0x677220, path=0x7ffff2b53820 "") at gtestutils.c:1291
#9 0x00007ffff2ae9b3f in g_test_run_suite (suite=0x677220) at gtestutils.c:1336
#10 0x00007ffff2ae8d9a in g_test_run () at gtestutils.c:887
#11 0x000000000040c7dd in main (argc=1, argv=0x7fffffffd988) at ../../Source/WebKit/gtk/tests/testatk.c:1689
#4 0x00000000004076ef in testWebkitAtkGetExtents () at ../../Source/WebKit/gtk/tests/testatk.c:1335
1335 g_assert_cmpint(fline_window.height, ==, afline_window.height);
(gdb) p fline_window.height
$1 = 38
(gdb) p afline_window.height
$2 = 19
(gdb) p afline_window
$3 = {x = 280, y = 113, width = 241, height = 19}
(gdb) p fline_window
$4 = {x = 280, y = 113, width = 240, height = 38}
(gdb)
Shouldn' we use ATK_TEXT_BOUNDARY_LINE_END instead of ATK_TEXT_BOUNDARY_LINE_START?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list