Skip to contentSkip to conversation

problem with wxGTK-2.6.2 and TLS in suse uml

uml-devel Muhammad Sajjad 2 participants 2 messages Sep 27, 2005 – Sep 28, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi,

I am not able to run an application which is useing wxGTK-2.6.2 libaray. when tls is enable (/lib/tls exist) then segmentation fault occured. If tls is disable (/lib/tls.disable) then following error occure while calling wxDialog method in the application.

Cannot create anonymous event.
System error code: [38].
Function not implemented

This problem became head ache for me. please help me.

regards,
Sajjad

#1 lore raw
Quoted 4 lines · Muhammad Sajjad

Hi,

I am not able to run an application which is useing wxGTK-2.6.2 libaray. when tls is enable (/lib/tls exist) then segmentation fault occured.

Known..

Quoted 2 lines

If tls is disable (/lib/tls.disable) then following error occure while calling wxDialog method in the application.

Ok, it stops later, and while doing what?

Quoted 1 line

Cannot create anonymous event.

What is it doing? Could you try to strace the failing application, and search for ENOSYS in the output?

Quoted 1 line

System error code: [38].

ENOSYS

Quoted 1 line

Function not implemented

Ok, this could mean that somehow, in your distro (SuSE), wxGTK depends on the TLS libraries. But that is not very likely.

So, instead, which UML version are you using? It is possible that the above error is given by a completely different kernel functionality, which wasn't implemented at that time. So, please upgrade your UML to a recent version, probably 2.6.13-bs2 - there's even a bug in modify_ldt() causing it to return ENOSYS, which is fixed in my patchset.

If this doesn't work, and strace says the failing call is set_thread_area / get_thread_area, the solution would probably involve recompiling wxGTK (probably from the source RPM, to avoid dependency problems), after fixing the configuration...

Quoted 4 lines

This problem became head ache for me. please help me.

regards,
Sajjad

Signature · 23 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel