[MDEV-4083] Can't load plugins on Win Created: 2013-01-24 Updated: 2013-01-31 Resolved: 2013-01-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.0, 5.5.28a, 5.3.11 |
| Fix Version/s: | 10.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Federico Razzoli | Assignee: | Vladislav Vaintroub |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
WinXP |
||
| Attachments: |
|
| Description |
|
An error message tells that MariaDB can't find the modules, but I see the DLL files in the specified dir:
|
| Comments |
| Comment by Elena Stepanova [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Federico, So far I wasn't able to reproduce the problem. Could you please provide the full output of "dir" command in the specified folder (or whatever else you have on the machine that will produce the list of files with their sizes)? Please also run Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Elena. Files:
Version:
Notes:
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Federico, Is it really Windows XP? Could you put this exact name (the contracted one, C:\PROGRA~1\MARIAD~1.0\lib\plugin\ ) to your my.ini file, restart the service and try to install a plugin again? It's a dirty trick, and it shouldn't really make the difference, but who knows... | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry, it didn't work. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Then I have to pass it to the Windows wizard, who has more ideas on how to debug this mysterious problem. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry, correction: it's professional edition, not home edition (in case it's relevant) | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2013-01-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Federico,
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2013-01-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi! I don't know that tool. Probably a short doc is a good idea. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2013-01-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Federico, https://kb.askmonty.org/en/how-to-use-procmon-to-trace-mysqldexe-filesystem-access/ using "install plugin" as example. Could you please try it again, as in the article? Should take only couple of minutes. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ok, I looked again into the procmon logs. It appears you run mysqld.exe renamed as mysqldd.exe . This won't work with plugins. And the reason is - this is how linking on Windows works, plugins use/import function from the server executable, and functions are imported using both module name and function name. And module name was mysqld.exe when server was built. Loading fails because symbols imported from mysqld.exe are unresolved. Resolution would be to use the original name mysqld.exe. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2013-01-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
I attached a picture demonstrating plugin dependency from mysqld.exe, and imported symbols, using DependencyWalker tool |