Bug 2990 - crash closing a message window. 'pthread_mutex_trylock': Invalid argument.
Summary: crash closing a message window. 'pthread_mutex_trylock': Invalid argument.
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: other
Hardware: Other Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-08-12 04:14 UTC by kardan
Modified: 2013-08-14 08:34 UTC (History)
0 users

See Also:


Attachments
claws --debug & gdb (12.91 KB, application/octet-stream)
2013-08-12 04:14 UTC, kardan
no flags Details

Description kardan 2013-08-12 04:14:40 UTC
Created attachment 1293 [details]
claws --debug & gdb

Claws crashed while clowsing a message window.

msgcache.c:195:Cache size: 58 messages, 20403 bytes
addr_compl.c:683:end_address_completion ref count 1
gtkaspell.c:733:Aspell: Deleting gtkaspeller 0x8f5a760.
gtkaspell.c:754:Aspell: gtkaspeller 0x8f5a760 deleted.
gtkaspell.c:738:Aspell: number of existing checkers 1
gtkaspell.c:472:Aspell: deleting gtkaspell 0x99f3600
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_trylock': Invalid argument.  Aborting.

Program received signal SIGABRT, Aborted.
0xb7fde424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb63bbb00 (LWP 11406)):
#0  0xb7fde424 in __kernel_vsyscall ()
#1  0xb6d7883f in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb6d7bcf3 in __GI_abort () at abort.c:90
#3  0xb73dae13 in g_thread_abort (status=<optimized out>, function=function@entry=0xb74a6522 "pthread_mutex_trylock") at /buil$
#4  0xb7451180 in g_mutex_trylock (mutex=0x9a64ef0) at /build/glib2.0-EIRQgp/glib2.0-2.36.3/./glib/gthread-posix.c:258
#5  0x080b7445 in compose_close_cb (action=action@entry=0x9a73060, data=0x93c9f20) at compose.c:10005

$7 = {object = {g_type_instance = {g_class = 0x8528208}, ref_count = 5, qdata = 0x916a088}, private_data = 0x9a73070}
(gdb) p *action->object->g_type_instance->g_class->g_type
$11 = 712
(gdb) p *action->object->qdata
$14 = {n_qdatas = 1, qdatas = 0x2}
(gdb) p *action->private_data
$15 = {name = 0x84c320b "Message/Close", label = 0x875d1f0 "_Close", short_label = 0x8b55c00 "_Close", tooltip = 0x0, 
  stock_id = 0x0, icon_name = 0x0, gicon = 0x0, sensitive = 1, visible = 1, label_set = 1, short_label_set = 0, 
  visible_horizontal = 1, visible_vertical = 1, is_important = 0, hide_if_empty = 1, visible_overflown = 1, 
  always_show_image = 0, recursion_guard = 0, activate_blocked = 0, accel_count = 0, accel_group = 0x94ba220, 
  accel_closure = 0x916a050, accel_quark = 2544, action_group = 0xadc02180, proxies = 0x0}
Comment 1 Ricardo Mones 2013-08-12 10:06:08 UTC
Is this reproducible? Version?

Anyway given the “GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_trylock': Invalid argument.  Aborting.” message, seems that it's nothing to do with Claws Mail.
Comment 2 kardan 2013-08-14 06:50:22 UTC
It happened only once during high I/O load, maybe I clicked on send twice. 3.9.2git27

Note You need to log in before you can comment on or make changes to this bug.