[erlang-bugs] Code server does not correctly handle case sensitivity

Adam Lindberg <>
Tue Jun 14 09:51:33 CEST 2011


I was playing around with PropEr, testing meck, when discovering that 
loading a lower case module using it's name in upper case will cause the 
code server to crash:

1> l('DBG').

=ERROR REPORT==== 14-Jun-2011::09:45:15 ===
Loading of 
failed: badfile

=ERROR REPORT==== 14-Jun-2011::09:45:15 ===
beam/beam_load.c(1036): Error loading module 'DBG':
   module name in object code is dbg

2> l(dbg).

Loading a module which has an upper case name already works just fine:

3> l('TEST').


More information about the erlang-bugs mailing list