After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660477 - Don't crash if a module containing the same type is loaded twice
Don't crash if a module containing the same type is loaded twice
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jens Georg
Depends on:
Blocks:
 
 
Reported: 2011-09-29 14:06 UTC by Jens Georg
Modified: 2012-02-20 08:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core: Check for duplicate module names (3.00 KB, patch)
2012-02-17 09:08 UTC, Jens Georg
committed Details | Review
core: Check for duplicate module names (3.00 KB, patch)
2012-02-20 08:51 UTC, Jens Georg
committed Details | Review
core: Simplify code by using File.get_child (1.46 KB, patch)
2012-02-20 08:51 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2011-09-29 14:06:09 UTC
Can e.g. happen if you run configure with --enable-uninstalled and accidently do a "make install"
Comment 1 Jens Georg 2012-02-17 09:08:53 UTC
Created attachment 207838 [details] [review]
core: Check for duplicate module names

This is probably the best we can do with our current module framework as we can only check that we have already loaded a similar module when we load the new one but that's too late and all the uglyness will already have happened.
Comment 2 Jens Georg 2012-02-20 08:49:25 UTC
The following fixes have been pushed:
14c81c9 core: Check for duplicate module names
Comment 3 Jens Georg 2012-02-20 08:51:19 UTC
The following fixes have been pushed:
0ea2f86 core: Check for duplicate module names
Comment 4 Jens Georg 2012-02-20 08:51:24 UTC
Created attachment 208026 [details] [review]
core: Check for duplicate module names
Comment 5 Jens Georg 2012-02-20 08:51:27 UTC
Created attachment 208027 [details] [review]
core: Simplify code by using File.get_child