[LDTP-Dev] [Bug 336139] New: Core dumps when using LDTP and GOK.

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Mar 26 18:32:20 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=336139
 LDTP | pyldtp | Ver: 0.3.x

           Summary: Core dumps when using LDTP and GOK.
           Product: LDTP
           Version: 0.3.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: pyldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: tim.miao at sun.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. Enable the desktop accessibility support, then invoke GOK.
2. Launch python and import LDTP package.
3. Execute the LDTP command 'guiexist' to try to capture the GOK frame.

Expected result:
LDTP could capture the GOK frame and return 1.

Actual result:
LDTP hangs. And if you Ctrl+C and Ctrl+D to terminate it, it dumps core. I
posted stack trace below.

Stack trace:
-bash-3.00$ pstack core
core 'core' of 2397:
-----------------  lwp# 1 / thread# 1  --------------------
 d2f68d25 __pollsys (80fb290, 2, 0, 0) + 15
 d2f2b292 poll     (80fb290, 2, ffffffff) + 52
 d2d3aa61 g_main_context_iterate (80a4540, 1, 1, 80a0950) + 399
 d2d3b09e g_main_loop_run (80aa568) + 1ba
 d291f3b2 bonobo_main (d2ba00e0, d2d00960, 80473c8, d2b8c098, d2ffb840,
80473ec)
+ 5e
 d2b8ea30 cspi_main (d2ffb840, 80473ec, d2ffd8f0, 80473ec, 8061ae8, 7fffffff) +
18
 d2b8c098 SPI_event_main (7fffffff, 7fffffff, 2, 0, 0, 0) + 18
 08061ae8 main     (0, 8047414, 8047418) + 108
 08060eda _start   (0, 0, 8047548, 8047569, 804758a, 80476c7) + 7a
-----------------  lwp# 2 / thread# 2  --------------------
 d2f68d25 __pollsys (d2cb9fc4, 1, 0, 0) + 15
 d2f2b292 poll     (d2cb9fc4, 1, ffffffff) + 52
 080618b2 ldtp_server_thread (0) + 62
 d2f67a28 _thr_setup (d2ce2400) + 51
 d2f67c80 _lwp_start (d2ce2400, 0, 0, 0, 0, 0)
-----------------  lwp# 3 / thread# 3  --------------------
 d2f04b90 strlen   (8087fdc, d27edd6c, d27edc80, 0) + 30
 d2f42735 vsnprintf (d27edcd0, 1, 8087fbc, d27edd6c) + 70
 d2d41e10 g_printf_string_upper_bound (8087fbc, d27edd6c) + 28
 d2d5f447 g_vasprintf (d27edd30, 8087fbc, d27edd6c) + 2f
 d2d4f93b g_strdup_vprintf (8087fbc, d27edd6c) + 2b
 d2d41b4d g_print  (8087fbc, 80ab158, 81033d9, 0) + 2d
 08067f4d get_child_window_handle (81032f8, 80ab158) + dd
 08068172 get_window_handle (0, 80ab158) + e2
 08068298 update_cur_window_appmap_handle (80faa10, d27edfa0) + 88
 080685cc ldtp_gui_get_gui_handle (80faa10, d27edfa0) + ec
 0806957a ldtp_gui_gui_exist (80faa10, d27edfa0) + 1a
 08064665 handle_request (80faa10, 80ab0b8, d27edfa0) + 555
 08065b28 handle_client (80ab058) + 338
 d2f67a28 _thr_setup (d26d0000) + 51
 d2f67c80 _lwp_start (d26d0000, 0, 0, 0, 0, 0)
-----------------  lwp# 4 / thread# 4  --------------------
 d2f68d25 __pollsys (80a8478, 9, 0, 0) + 15
 d2f2b292 poll     (80a8478, 9, ffffffff) + 52
 d2d3aa61 g_main_context_iterate (80faa78, 1, 1, 80f8630) + 399
 d2d3b09e g_main_loop_run (81004f8) + 1ba
 d2ac773a link_io_thread_fn (0) + 1e
 d2d54267 g_thread_create_proxy (80f8630) + 11b
 d2f67a28 _thr_setup (d26d0400) + 51
 d2f67c80 _lwp_start (d26d0400, 0, 0, 0, 0, 0)


Other information:
I could get GOK captured by at-poke, so I think this may be another bug for
LDTP.

This bug could be seen on vermillion_07/snv_35 x86.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee for the bug.


More information about the LDTP-dev mailing list