After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332427 - Segmentation Fault (core dumped) when I run checkheader.py
Segmentation Fault (core dumped) when I run checkheader.py
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: general
unspecified
Other opensolaris
: Normal critical
: ---
Assigned To: Nagappan Alagappan
LDTP maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-24 11:03 UTC by Patrick
Modified: 2006-02-24 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Attached patch fixes the crash... (2.21 KB, patch)
2006-02-24 12:07 UTC, Nagappan Alagappan
committed Details | Review

Description Patrick 2006-02-24 11:03:53 UTC
Evolution2.6, gnome2.14
ldtp crash when I run checkheader.py

May be crash at imagecompare in checkheader in mailtests.py
ldtp.log ('length '+str(deffImgLen)) in ldtputil.py?


Segmentation Fault (core dumped)
bash-3.00$ pstack core
core 'core' of 1245:    ldtp
-----------------  lwp# 1 / thread# 1  --------------------
 d1cf8a35 __pollsys (80fac68, 2, 0, 0) + 15
 d1cbafde poll     (80fac68, 2, ffffffff) + 52
 d1d9ab35 g_main_context_iterate (80a5038, 1, 1, 80a3728) + 399
 d1d9b172 g_main_loop_run (80ab400) + 1ba
 d24bf40e bonobo_main (d25800e0, d2590440, 804731c, d256c098, d27fb840, 1) + 5e
 d256ea30 cspi_main (d27fb840, 1, 804734c, d27fd8f0, 804734c, 8060cd0) + 18
 d256c098 SPI_event_main (8047450, 8047338, d27fb840, 7fffffff, 7fffffff, 2) + 18
 08060cd0 main     (1, 804737c, 8047384) + 110
 0805ff5a _start   (1, 80474b8, 0, 80474bd, 80474f1, 8047506) + 7a
-----------------  lwp# 2 / thread# 2  --------------------
 d1cf8a35 __pollsys (d0b49fc4, 1, 0, 0) + 15
 d1cbafde poll     (d0b49fc4, 1, ffffffff) + 52
 08060a78 ldtp_server_thread (0) + 68
 d1cf7744 _thr_setup (d0b72400) + 51
 d1cf7990 _lwp_start (d0b72400, 0, 0, 0, 0, 0)
-----------------  lwp# 3 / thread# 3  --------------------
 080643a0 handle_client(), exit value = 0x00000001
        ** zombie (exited, not detached, not yet joined) **
-----------------  lwp# 4 / thread# 4  --------------------
 080643a0 handle_client(), exit value = 0x00000001
        ** zombie (exited, not detached, not yet joined) **
-----------------  lwp# 5 / thread# 5  --------------------
 d1cf8a35 __pollsys (80fb7b0, 9, 0, 0) + 15
 d1cbafde poll     (80fb7b0, 9, ffffffff) + 52
 d1d9ab35 g_main_context_iterate (80fb728, 1, 1, 81002b8) + 399
 d1d9b172 g_main_loop_run (80ab4c0) + 1ba
 d2147732 link_io_thread_fn (0) + 1e
 d1db4383 g_thread_create_proxy (81002b8) + 11b
 d1cf7744 _thr_setup (d08c0400) + 51
 d1cf7990 _lwp_start (d08c0400, 0, 0, 0, 0, 0)
-----------------  lwp# 6 / thread# 6  --------------------
 d1c94a90 strlen   (80883ea, d09ddf1c, d09dde30, 0) + 30
 d1cd2445 vsnprintf (d09dde80, 1, 80883d8, d09ddf1c) + 70
 d1da1f2c g_printf_string_upper_bound (80883d8, d09ddf1c) + 28
 d1dbf577 g_vasprintf (d09ddee0, 80883d8, d09ddf1c) + 2f
 d1dafa57 g_strdup_vprintf (80883d8, d09ddf1c) + 2b
 d1da1c69 g_print  (80883d8, 0) + 2d
 08064f13 ldtp_request_fill_request (8102780, 8174f38, 88, d09ddfa0) + 223
 08063761 handle_request (8108100, 81752c8, d09ddfa0) + 41
 08064688 handle_client (81018c0) + 2e8
 d1cf7744 _thr_setup (d08c0000) + 51
 d1cf7990 _lwp_start (d08c0000, 0, 0, 0, 0, 0)
Comment 1 Nagappan Alagappan 2006-02-24 12:07:22 UTC
Created attachment 60057 [details] [review]
Attached patch fixes the crash...