segfault with two parallel soup_session_sync_new
- From: Michael Bell <michael bell cms hu-berlin de>
- To: libsoup-list gnome org
- Subject: segfault with two parallel soup_session_sync_new
- Date: Fri, 17 Apr 2009 11:54:34 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I implemented some stress tests which include parallel calls of
soup_session_sync_new. The result is a segfault under Solaris. The
crashing test runs under libsoup 2.2 because this is still the default
version on Solaris.
lwp #2, #3 or #4 causing the segfault. All other threads are just
waiting. Any ideas what's going on?
core 'core' of 10602: /opt/opensync/libsyncml/build/tests/http
http_multi_partial_error
- ----------------- lwp# 1 / thread# 1 --------------------
d0cb2885 __nanosleep (64) + 15
0806038b http_multi_partial_error (0, 1, 807bcf8, d0d75ae0, 3, 807bcd8)
+ 153b
d0d64c6e srunner_iterate_tcase_tfuns (807af90, 807af68) + 142
d0d64928 srunner_iterate_suites (807af90, 3) + 150
d0d64a9d srunner_run_all (807af90, 3) + a5
080647f1 sml_testsuite (2, 8047bf0, 8069e84, 807a63c) + 61
0806359e main (2, 8047bf0, 8047bfc) + 1e
0805252a _start (2, 8047ccc, 8047cf5, 0, 8047d0e, 8047d2d) + 7a
- ----------------- lwp# 2 / thread# 2 --------------------
d0caf559 __lwp_park (d0aa0200, 0, d12b80bc, 0) + 19
d0ca8413 mutex_lock_impl (d12b80bc, 0) + f3
d0ca84a2 mutex_lock (d12b80bc) + 10
d1211118 open_converter (80833a8, d12a3c94, d0bb94b4) + cc
d121183f g_convert (8084c10, 51, 80833a8, d12a3c94, 0, 0) + 43
d12119a2 g_convert_with_fallback (8084c10, 51, 80833a8, d12a3c94,
d12a3c90, 0) + 82
d122fbca strdup_convert (8084c10, 80833a8) + 52
d1230325 g_log_default_handler (d118626c, 10, 8084b08, 0) + 2c1
d122f9dc g_logv (d118626c, 10, d11846e0, d0bb9a54) + 28c
d122fab9 g_log (d118626c, 10, d11846e0) + 25
d117bbab g_type_instance_get_private (8082258, 80847f8) + 21f
d0e6b000 soup_session_init (8082258, 8084a30) + 24
d117732c g_type_create_instance (8084958) + 2e4
d1162397 g_object_constructor (8084958, 0, 0) + 23
d11619e8 g_object_newv (8084958, 0, 0) + 35c
d1162339 g_object_new_valist (8084958, 0, d0bb9d7c) + 381
d1161685 g_object_new (8084958, 0) + 61
d0e6d4a0 soup_session_sync_new (8081eb8, 8081b30, d136d88c, d133d86f,
0, 8081b98) + 20
d133da09 smlTransportHttpClientConnect (8081b98) + 1a9
d133e298 smlTransportHttpClientSend (8081b98, 0, 807b238, 0) + 168
d1305d5c smlTransportWorkerHandler (8082178, 8081b30) + 10c
d12fc8bb smlQueueDispatch (8081bd0) + 4b
d12fb281 _queue_dispatch (8081eb8, 0, 8081bd0) + a1
d1227c4e g_main_dispatch (8081e30) + 1e2
d1228d5d g_main_context_dispatch (8081e30) + 85
d122917a g_main_context_iterate (8081e30, 1, 1, 8081ef8) + 3ce
d122977c g_main_loop_run (8080460) + 1b8
d1304938 smlThreadStartCallback (807c2d8) + 1a8
d1248da6 g_thread_create_proxy (8081ef8) + 11a
d0caf2a2 _thr_setup (d0aa0200) + 52
d0caf500 _lwp_start (d0aa0200, 0, 0, 0, 0, 0)
- ----------------- lwp# 3 / thread# 3 --------------------
d1177539 g_type_create_instance (8084958) + 4f1
d1162397 g_object_constructor (8084958, 0, 0) + 23
d11619e8 g_object_newv (8084958, 0, 0) + 35c
d1162339 g_object_new_valist (8084958, 0, d0a9dd7c) + 381
d1161685 g_object_new (8084958, 0) + 61
d0e6d4a0 soup_session_sync_new (80827b8, 8081c00, d136d88c, d133d86f,
0, 8081c68) + 20
d133da09 smlTransportHttpClientConnect (8081c68) + 1a9
d133e298 smlTransportHttpClientSend (8081c68, 0, 807b260, 0) + 168
d1305d5c smlTransportWorkerHandler (8082198, 8081c00) + 10c
d12fc8bb smlQueueDispatch (8081ca0) + 4b
d12fb281 _queue_dispatch (80827b8, 0, 8081ca0) + a1
d1227c4e g_main_dispatch (8081f28) + 1e2
d1228d5d g_main_context_dispatch (8081f28) + 85
d122917a g_main_context_iterate (8081f28, 1, 1, 80827f8) + 3ce
d122977c g_main_loop_run (80804d8) + 1b8
d1304938 smlThreadStartCallback (807c338) + 1a8
d1248da6 g_thread_create_proxy (80827f8) + 11a
d0caf2a2 _thr_setup (d0aa0a00) + 52
d0caf500 _lwp_start (d0aa0a00, 0, 0, 0, 0, 0)
- ----------------- lwp# 4 / thread# 4 --------------------
d0c79a7c _ndoprnt (d1185884, d099db38, d099d5d0, 0) + c
d0c7d7e0 vsnprintf (d099d620, 1, d1185884, d099db38) + 70
d1230747 g_printf_string_upper_bound (d1185884, d099db38) + 27
d1254aab g_vasprintf (d099d680, d1185884, d099db38) + 2f
d1243dea g_strdup_vprintf (d1185884, d099db38) + 2a
d122f9c7 g_logv (d118626c, 4, d1185884, d099db38) + 277
d122fab9 g_log (d118626c, 4, d1185884, d11846c0, d118143c, d0e765e4)
+ 25
d11795be g_type_class_ref (8084958) + 38a
d11616d9 g_object_newv (8084958, 0, 0) + 4d
d1162339 g_object_new_valist (8084958, 0, d099dd7c) + 381
d1161685 g_object_new (8084958, 0) + 61
d0e6d4a0 soup_session_sync_new (80828b0, 8081cd0, d136d88c, d133d86f,
0, 8081d38) + 20
d133da09 smlTransportHttpClientConnect (8081d38) + 1a9
d133e298 smlTransportHttpClientSend (8081d38, 0, 807b288, 0) + 168
d1305d5c smlTransportWorkerHandler (80821b8, 8081cd0) + 10c
d12fc8bb smlQueueDispatch (8081d70) + 4b
d12fb281 _queue_dispatch (80828b0, 0, 8081d70) + a1
d1227c4e g_main_dispatch (8082828) + 1e2
d1228d5d g_main_context_dispatch (8082828) + 85
d122917a g_main_context_iterate (8082828, 1, 1, 80828f0) + 3ce
d122977c g_main_loop_run (8080550) + 1b8
d1304938 smlThreadStartCallback (8081ff8) + 1a8
d1248da6 g_thread_create_proxy (80828f0) + 11a
d0caf2a2 _thr_setup (d0aa1200) + 52
d0caf500 _lwp_start (d0aa1200, 0, 0, 0, 0, 0)
- ----------------- lwp# 5 / thread# 5 --------------------
d0cb35a5 __pollsys (8083ff8, 2, d089dee8, 0) + 15
d0c65ac2 poll (8083ff8, 2, 1) + 52
d1229143 g_main_context_iterate (8082920, 1, 1, 8084738) + 397
d122977c g_main_loop_run (80805c8) + 1b8
d1304938 smlThreadStartCallback (8082058) + 1a8
d1248da6 g_thread_create_proxy (8084738) + 11a
d0caf2a2 _thr_setup (d0aa1a00) + 52
d0caf500 _lwp_start (d0aa1a00, 0, 0, 0, 0, 0)
Best regards
Michael
- --
___________________________________________________________________
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice
Fax: +49 (0)30-2093 2704 Unter den Linden 6
michael bell cms hu-berlin de D-10099 Berlin
___________________________________________________________________
PGP Fingerprint: 09E4 3D29 4156 2774 0F2C C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ6FHZ2L0ZGCAwWqsRAo5uAKCJLZyEQWpzz8IXlHUwuNrKKsQbEwCgh+y2
XcZLE1WNtMjWf4b2gERGbwM=
=kUXh
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]