By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1581 - tdm_greet crash when SAK is enabled
Summary: tdm_greet crash when SAK is enabled
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Francois Andriot
URL:
Depends on:
Blocks:
 
Reported: 2013-07-22 07:05 CDT by Francois Andriot
Modified: 2013-07-23 08:55 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
tdm_greet crash when SAK is enabled (8.20 KB, application/octet-stream)
2013-07-22 07:05 CDT, Francois Andriot
Details
Amarok crash, same error message about glib (17.19 KB, application/octet-stream)
2013-07-22 09:15 CDT, Francois Andriot
Details
tqt3 : fix glib initialization causing error in Glib < 2.24 (544 bytes, patch)
2013-07-22 09:52 CDT, Francois Andriot
Details | Diff
tqt3 : fix glib initialization causing error in Glib < 2.24 (2) (599 bytes, patch)
2013-07-23 06:54 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2013-07-22 07:05:29 CDT
Created attachment 1363 [details]
tdm_greet crash when SAK is enabled

Hello, running current R14 in CentOS 6, I have the following crash only when "UseSAK=true" is set in "tdmrc".

in /var/log/tdm.log (extract):

GThread-ERROR **: GThread system may only be initialized once.
aborting...
[kcrash] TDECrash: crashing... crashRecursionCounter = 2
[kcrash] TDECrash: Application Name = tdmgreet path = <unknown> pid = 9483
[kcrash] Warning: socket connection failed: : No such file or directory
[kcrash] TDECrash cannot reach tdeinit, launching directly.

Kcrash file is attached.

No problem when "UseSAK=false".
Comment 1 Francois Andriot 2013-07-22 09:15:18 CDT
Created attachment 1364 [details]
Amarok crash, same error message about glib
Comment 2 Francois Andriot 2013-07-22 09:52:11 CDT
Created attachment 1365 [details]
tqt3 : fix glib initialization causing error in Glib < 2.24

According to this documentation:

https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init

"Since version 2.24, calling g_thread_init() multiple times is allowed, but nothing happens except for the first call."

=> CentOS 6 is using Glib 2.22

Hopefully there is a "g_thread_get_initialized ()" function.
Comment 3 Timothy Pearson 2013-07-22 16:27:41 CDT
(In reply to comment #2)
> Created attachment 1365 [details]
> tqt3 : fix glib initialization causing error in Glib < 2.24
> 
> According to this documentation:
> 
> https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-init
> 
> "Since version 2.24, calling g_thread_init() multiple times is allowed, but
> nothing happens except for the first call."
> 
> => CentOS 6 is using Glib 2.22
> 
> Hopefully there is a "g_thread_get_initialized ()" function.

As both of those functions are deprecated, perhaps the modified block of code should be wrapped in compile-time glib version checks?
Comment 4 Francois Andriot 2013-07-23 06:54:10 CDT
Created attachment 1367 [details]
tqt3 : fix glib initialization causing error in Glib < 2.24 (2)

OK, here is a new patch with GLIB version check.
Comment 5 Timothy Pearson 2013-07-23 08:55:00 CDT
(In reply to comment #4)
> Created attachment 1367 [details]
> tqt3 : fix glib initialization causing error in Glib < 2.24 (2)
> 
> OK, here is a new patch with GLIB version check.

Patch looks good; pushed to GIT in hashes 32bd035 (qt3) and 5b1e219 (tqt3).

Thanks for reporting, and for the patch!