> Correct me if I wrong but this call is happening from the Qt
libraries, not from the VLC itself.

That is why it is a bug. The only safe place to call putenv() is early
in the VLC main() function, before any thread is created. In practice,
the VLC code base has long since been audited and all setenv(),
unsetenv() and putenv() calls removed. VLC versions 1.1.0 and later
actively prevent libraries from modifying its environment as this is a
known cause of crashes; that's why you see the "Blocked: ..." error
message.

> Does that mean VLC initializes the UI in a different thread?

Different thread than... ? Anyway, calling putenv() is not thread-safe
in any case on glibc, regardless of which thread calls it: glibc does
not protect the environment against concurrent accesses, so putenv() can
crash a concurrent *env() function call from another thread.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/805303

Title:
  Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET
  (widget)' failed with the default qt4 gui

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/805303/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to